Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie
GmAMXBans

AMXBANS dzialaja admini, a nie dziala nic wiecej HELP

gmamxbans

  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
1 odpowiedź w tym temacie

#1 isia

    Nowy

  • Girl

Reputacja: 0
Nowy

  • Postów:2
  • Lokalizacja:Gliwice
Offline

Napisano 24.12.2012 20:56

Witam wraz z kolegą mam 2 serwery i skonfigurowaliśmy je z amxbans (gm bans 1.5.1), ale coś nie działa. Admini normalnie sie wczytuja ale bany sa na serwerze (banned.cfg) a na stronie nie ma o nich żadnej wzmianki. mój kolega sadzi ze to coś z bazą danych, ze gdzies jest zle zdefiniowana (patrz sql.cfg) ale juz prubowaliśmy wielu pocji (nawet z innymi bazami). Baza ma odblokowane zewnetrzne polaczenie dla serwera. Serwery dodawaliśmy recznie na strone bo same sie nie dodawały. proszę o szybka pomoc :D




Wersja amxx
AMX Mod X 1.8.1.3746
Authors:
		 David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko, Felix "SniperBeamer" Geyer
		 Jonny "Got His Gun" Bergstrom, Lukasz "SidLuke" Wlasinski
		 Christian "Basic-Master" Hammacher, Borja "faluco" Ferrer
		 Scott "Damaged Soul" Ehlert
Compiled: Aug 16 2008, 19:58:51
URL:http://www.amxmodx.org/
Core m

plugins.ini
; AMX Mod X plugins

; Admin Base - Always one has to be activated
;admin.amxx		; admin base (required for any admin-related)
;admin_sql.amxx		; admin base - SQL version (comment admin.amxx)

; Basic
admincmd.amxx		; basic admin console commands
adminhelp.amxx		; help command for admin console commands
adminslots.amxx		; slot reservation
multilingual.amxx	; Multi-Lingual management

; Menus
menufront.amxx		; front-end for admin menus
cmdmenu.amxx		; command menu (speech, settings)
plmenu.amxx		; players menu (kick, ban, client cmds.)
telemenu.amxx		; teleport menu (Fun Module required!)
mapsmenu.amxx		; maps menu (vote, changelevel)
pluginmenu.amxx		; Menus for commands/cvars organized by plugin

; Chat / Messages
adminchat.amxx		; console chat commands
antiflood.amxx		; prevent clients from chat-flooding the server
scrollmsg.amxx		; displays a scrolling message
imessage.amxx		; displays information messages
adminvote.amxx		; vote commands

; Map related
;nextmap.amxx		; displays next map in mapcycle
;mapchooser.amxx		; allows to vote for next map
timeleft.amxx		; displays time left on map

; Configuration
pausecfg.amxx		; allows to pause and unpause some plugins
statscfg.amxx		; allows to manage stats plugins via menu and commands

; Counter-Strike
;restmenu.amxx		; restrict weapons menu
statsx.amxx		; stats on death or round end (CSX Module required!)
;miscstats.amxx		; bunch of events announcement for Counter-Strike
;stats_logging.amxx	; weapons stats logging (CSX Module required!)

; Enable to use AMX Mod plugins
;amxmod_compat.amxx	; AMX Mod backwards compatibility layer

; Custom - Add 3rd party plugins here
amxbans_main.amxx
amxbans_core.amxx



amxbans.cfg
// [Ru] Конфигурационный файл AMXBans 6.0
// [Ru] Перевод специально для Gm-Community.Net by Shidla [SGC]
// [Ru] Место расположения файла: $moddir/addons/amxmodx/configs/amxbans.cfg
// [En] AMXBans Configuration File
// [En] File location: $moddir/addons/amxmodx/configs/amxbans.cfg
echo [AMXBans] Запуск amxbans.cfg

// [Ru] Префикс SQL базы
// [Ru] ВНИМАНИЕ: Префикс указанный в файле sql.cfg больше НЕ используется AMXBans!!!
// [En] your sql database prefix
// [En] NOTE: The Prefix defined in your sql.cfg is NOT used for AMXBans anymore!!!
amx_sql_prefix "amx"

// [Ru] Использовать флагирование (наблюдение) игрока(-ом) только на этом сервере или на всех (1 - на всех).
// [En] Use the flagging only for this Server, or for all servers?
amxbans_flagged_all_server 1

// [Ru] Как AMXBans должен управлять админами.
// [Ru] 0=SQL (база), 1=users.ini, 2=Не загружать админов.
// [En] How AMXBans should handle the admins
// [En] 0=sql, 1=users.ini, 2=load no admins
amxbans_use_admins_file 0

// [Ru] AMXBans попробует автоматически получить адрес сервера.
// [Ru] Вы можете сами указать адрес и порт по примеру - "<ip>:<port>".
// [En] AMXBans trys to get the address from the server automatically.
// [En] You can set a different one here - ex. "<ip>:<port>"
amxbans_server_address ""

// [Ru] Число игроков, отображаемых в меню отключённых / последних игроков
// [En] Number of players in the Disconnected Menu
amxbans_discon_players_saved 10

// [Ru] Время бана, используемое при собственной причине бана. Значение используется, если у админа статическое значение времени бана. Указывать в минутах
// [Ru] -1 для отключения собственных причин.
// [En] Bantime to use for custom banreasons, if a user has static bantime <minutes>
// [En] -1 to disable custom reasons
amxbans_custom_statictime -1

// [Ru] Этот параметр отвечает за имя забанившего админа в Web части, если банил сервер.
// [Ru] Пример: amxbans_servernick "Забанен сервером".
// [Ru] Что бы использовать имя сервера из hostname, оставьте поле пустым.
// [En] Set this cvar to what the adminname should be on the webpages, if the server make the ban.
// [En] Ie. amxbans_servernick "My Great server"
// [En] Leave emty if you want to use the default hostname from server.cfg
amxbans_servernick "www.kostnica.xaa.pl"

// [Ru] Установите значения 1 / 2 / 3 для включения отладочных сообщений из AMXBans'ов в логи AMXX.
// [Ru] При значении 3 логи будут наиболее полными, но ошибки могут зафлудить ваши логи. Значение 2 оптимально.
// [En] Set this to 1 / 2 / 3 to enable debug messages from amxbans to amxx logs.
// [En] with debug 3 you get the most output, but a bug can flood your logs. 2 should be ok normally
amxbans_debug 0

// [Ru] Не используйте http:// в этом параметре. Эта ссылка будет показана забаненому в консоли.
// [En] Don't use http:// in this cvar. The url will be shown to banned players in the console.
amxbans_complain_url "www.kostnica.xaa.pl"

// [Ru] Установите значение 1 если вы хотите что бы в базе данных отображалось имя карты.
// [En] Set this to 1 if you want the map name to show in the DB.
amxbans_add_mapname_in_servername 1

// [Ru] Если вы хотите видеть в HLSW событие бана, установите значение 1.
// [En] If you want to see ban announcments in the HLSW chat, set this to 1
amxbans_show_in_hlsw 1

// [Ru] Показывать ли HUD-сообщение (зеленое) слева при бане.
// [En] Print green hudmessages on the top left when banning
amxbans_show_hud_messages 1

// [Ru] Какой флаг доступа должен иметь админ, чтобы получить доступ к банам с большой длительностью.
// [En] What flag should admins have to get the high ban times.
amxbans_higher_ban_time_admin "n"

// [Ru] Какой флаг доступа должен иметь админ, что бы его ник НЕ писался при бане\разбанивании.
// [En] What flag should admins have to NOT get their Nick printed when banning/Unbanning
amxbans_admin_mole_access "r"

// [Ru] Если у админа есть admin_mole_access, должен ли его ник отображаться при бане.
// [En] If an admin has the admin_mole_access, should his name be shown when he bans?
amxbans_show_name_evenif_mole 1

// [Ru] Показывать админам сообщение о бане игрока в amx_chat. 0 - отключить.
// [En] Show if a player has been banned before as amx_chat to admins. 0 to disable
amxbans_show_prebanned 0

// [Ru] Сколько нужно иметь предыдущих банов, что бы писать об этом предупреждение в админ чат.
// [En] How many previous offences does the player needs, to be notified in the amx_chat?
amxbans_show_prebanned_num 2

// [Ru] Причина бана по-умолчанию.
// [En] Currently not known
amxbans_default_ban_reason unknown

// [Ru] 1 - можно банить игроков, даже если они вне сервера. 0 - отключить.
// [En] To be able to ban players not in the server. 1 enabled and 0 disabled.
amxbans_ban_evenif_disconnected 1

// [Ru] Пометка / наблюдение игрока(-ом), время. Идентично времени банов ниже.
// [En] Flagtimes, like the bantimes below
amx_setflagtimes "1 h" "4 h" "10 h" "1 d" "1 w" "4 w" "12 w" "0"

// [Ru] Время бана для админов с d-флагом, установите максимальное время в минутах, ограничено параметром "amxbans_consolebanmax".
// [Ru] ВАЖНО: Сначала вводите меньшие значения, затем более большие, и так далее. Количество значений - от 1 до 12.
// [Ru] "0 m" = вечный бан
// [Ru] Допустимые значения:
// [Ru] 1 - 59 может использоваться с флагом m (минуты)
// [Ru] 1 - 23 может использоваться с флагом h (часы)
// [Ru] 1 - 6 может использоваться с флагом d (дни)
// [Ru] Флаг w - недели
// [Ru]
// [Ru] Пример:
// [Ru] "5 m" - 5 минут
// [Ru] "1 h" - 1 час
// [Ru] "1 d" - 1 день
// [Ru] "1 w" - 1 неделя

// [En] Ban times for admins with d-flag, set the highest time in minutes they can ban with "amxbans_consolebanmax"
// [En] IMPORTANT: Put the lowest value first and the highest value last. You can  have 1 to 12 values
// [En] "0 m" = permanent ban!
// [En] Values you can use:
// [En] 1 - 59 with the flag m is for minutes
// [En] 1 - 23 with the flag h is for hours
// [En] 1 - 6 with the flag d is for days
// [En] The w flag is for weeks
// [En]
// [En] Example:
// [En] "5 m" is 5 minutes
// [En] "1 h" is 1 hour
// [En] "1 d" is 1 day
// [En] "1 w" is 1 week

amx_setlowbantimes "5 m" "30 m" "1 h" "3 h" "10 h" "1 d"

// [Ru] Время бана для админов с d и n флагами.
// [Ru] ВАЖНО: Сначала вводите меньшие значения, затем более большие, и так далее. Количество значений - от 1 до 12.
// [Ru] "0 m" = вечный бан
// [Ru] Допустимые значения:
// [Ru] 1 - 59 может использоваться с флагом m (минуты)
// [Ru] 1 - 23 может использоваться с флагом h (часы)
// [Ru] 1 - 6 может использоваться с флагом d (дни)
// [Ru] Флаг w - недели
// [Ru]
// [Ru] Пример:
// [Ru] "5 m" - 5 минут
// [Ru] "1 h" - 1 час
// [Ru] "1 d" - 1 день
// [Ru] "1 w" - 1 неделя

// [En] Ban times for admin with n-flag and d-flag
// [En] IMPORTANT: Put the lowest value first and the highest value last. You can have 1 to 12 values
// [En] "0 m" = permanent ban!
// [En] Values you can use:
// [En] 1 - 59 with the flag m is for minutes
// [En] 1 - 23 with the flag h is for hours
// [En] 1 - 6 with the flag d is for days
// [En] The w flag is for weeks
// [En]
// [En] Example:
// [En] "5 m" is 5 minutes
// [En] "1 h" is 1 hour
// [En] "1 d" is 1 day
// [En] "1 w" is 1 week

amx_sethighbantimes "5 m" "30 m" "1 h" "3 h" "1 d" "1 w" "0 m"

/************* Another AMXBans plugins: Start config ******************************/

// [Ru] Остальные плагины amxbans
// [Ru] Требуется плагин amxbans_freeze
//
//	"a" = заморозить
//	"b" = отобрать оружие
//	"c" = заблокировать чат
//	"d" = игрок будет светиться красным (не проверено)

// [En] 3rd party amxbans plugins
// [En] needs the amxbans_freeze plugin
//
//	"a" = freeze
//	"b" = strip weapons
//	"c" = block chat
//	"d" = player glow red (not testet)
amxbans_freeze_mode "abc"

/************* Another AMXBans plugins: End config ******************************/

// [Ru] Перевод специально для Gm-Community.Net by Shidla [SGC]
// [Ru] Вывод сообщения AMXBans
// [En] AMXBans configuration file echo
echo [AMXBans] amxbans.cfg успешно выполнен!



sql.cfg
// SQL configuration file
// File location: $moddir/addons/amxmodx/configs/sql.cfg

// *NOTE* Linux users may encounter problems if they specify "localhost" instead of "127.0.0.1"
// We recommend using your server IP address instead of its name

// *NOTE* amx_sql_type specifies the DEFAULT database type which admin.sma will use.

amx_sql_host	"www.kostnica.xaa.pl"
amx_sql_user	"kostnica_amx"
amx_sql_pass	""
amx_sql_db		"kostnica_amx"
amx_sql_table	"admins"
amx_sql_type	"mysql"




Modules ini

;;;
; To enable a module, remove the semi-colon ( <img src='https://amxx.pl/public/style_emoticons/<#EMO_DIR#>/wink.png' class='bbc_emoticon' alt=';)' /> in front of its name.
; If it's not here, simply add it its name, one per line.
; You don't need to write the _amxx part or the file extension.
;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; SQL Modules usually need to be enabled manually ;;
;; You can have any number on at a time.  Use	  ;;
;;  amx_sql_type in sql.cfg to specify the default ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;mysql
;sqlite

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Put third party modules below here.			  ;;
;; You can just list their names, without the _amxx ;;
;;  or file extension.							  ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; These modules will be auto-detected and loaded   ;;
;;  as needed.  You do not need to enable them here ;;
;;  unless you have problems.					   ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

fun
;engine
;fakemeta
;geoip
;sockets
;regex
;nvault
cstrike
csx
;hamsandwich


@edit

ssów też nie robi ( ssban jest w plugach amxbbans dodane)
  • +
  • -
  • 0

#2 Kawon

    Godlike

  • Przyjaciel

Reputacja: 887
Czempion

  • Postów:5 165
  • Steam:steam
  • Imię:Paweł
  • Lokalizacja:Dzierzgoń
Offline

Napisano 08.01.2013 01:48

amxbans_core/main.amxx mają być na samym początku plugins.ini !
core ma być przed main

; AMX Mod X plugins
amxbans_core.amxx
amxbans_main.amxx
; Admin Base - Always one has to be activated
;admin.amxx             ; admin base (required for any admin-related)
;admin_sql.amxx         ; admin base - SQL version (comment admin.amxx)

; Basic
admincmd.amxx           ; basic admin console commands
adminhelp.amxx          ; help command for admin console commands
adminslots.amxx         ; slot reservation
multilingual.amxx       ; Multi-Lingual management

; Menus
menufront.amxx          ; front-end for admin menus
cmdmenu.amxx            ; command menu (speech, settings)
plmenu.amxx             ; players menu (kick, ban, client cmds.)
telemenu.amxx           ; teleport menu (Fun Module required!)
mapsmenu.amxx           ; maps menu (vote, changelevel)
pluginmenu.amxx         ; Menus for commands/cvars organized by plugin

; Chat / Messages
adminchat.amxx          ; console chat commands
antiflood.amxx          ; prevent clients from chat-flooding the server
scrollmsg.amxx          ; displays a scrolling message
imessage.amxx           ; displays information messages
adminvote.amxx          ; vote commands

; Map related
;nextmap.amxx           ; displays next map in mapcycle
;mapchooser.amxx                ; allows to vote for next map
timeleft.amxx           ; displays time left on map

; Configuration
pausecfg.amxx           ; allows to pause and unpause some plugins
statscfg.amxx           ; allows to manage stats plugins via menu and commands

; Counter-Strike
;restmenu.amxx          ; restrict weapons menu
statsx.amxx             ; stats on death or round end (CSX Module required!)
;miscstats.amxx         ; bunch of events announcement for Counter-Strike
;stats_logging.amxx     ; weapons stats logging (CSX Module required!)

; Enable to use AMX Mod plugins
;amxmod_compat.amxx     ; AMX Mod backwards compatibility layer

; Custom - Add 3rd party plugins here

Kawon (08.01.2013 01:48):
podaj logi.

  • +
  • -
  • 0

DarkGL to mój autorytet.






Również z jednym lub większą ilością słów kluczowych: gmamxbans

Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych