Witam, otóż wgrane zostało na moim forum amxbans, lecz n serwerze "zbanuj gracza" w ogóle nie banuje... Nie wiem w czym może być problem.
Zawartość 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 "1"
// [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 ""
// [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"
amxbans_complain_url "www.cs-kosa.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"
// [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"
// [Ru] Разница во времени (секунды) между базой данных и игровым сервером
// [Ru] Может быть отрицательным
// [Ru] При значении 0 определяется автоматически
// [En] Time difference between database and game server
// [En] It can be negative
// [En] If set to 0, detects automatically
amxbans_time_offset "0"
// [Ru] Автоматически делать скриншот беред баном
// [En] Automaticly make screenshot before ban
amxbans_snapshot "1"
// [Ru] Тип бана
// [Ru] "0" - автоматически опеределять
// [Ru] "1" - по IP
// [Ru] "2" - по SteamID
// [En] Ban Type
// [En] "0" - choose automaticly
// [En] "1" - by IP
// [En] "2" - by SteamID
amxbans_bantype "0"
// [Ru] Проверять ли игроков на наличие флага
// [Ru] Так же при значении 0 отключает флаг-меню
// [En] Defines wether to check players for flags or not.
// [En] setting this option to 0 also disables flag-menu
amxbans_check_flag "1"
// [Ru] Включение меню истории банов
// [En] Enable or disable ban history
amxbans_history "1"
// [Ru] Перевод специально для Gm-Community.Net by Shidla [SGC]
// [Ru] Вывод сообщения AMXBans
// [En] AMXBans configuration file echo
echo [AMXBans] amxbans.cfg успешно выполнен!
Zawartość amxbans.ini:
; Чекер причин банов; Ниже вписывайте причины и соответсвующие им ники админов; В формате: "Часть причины" "Ник админа, который будет в информации о бане с этой причиной"; Действует только при серверных банах; Причины регистро-чуствительны!; К примеру вписав "KZHack" "[Anti KZHack]", то в бане с причиной KZHack ник админа будет [Anti KZHack][ADMIN NAMES REPLACER]"[Colored Translit]" "[Colored Translit]""[HLGUARD]" "[HLGUARD]""Team Kill" "[ATAC]"; Ниже писывайте части причин банов и их заменители; В Формате "Часть причины" "Заменитель"; Для чистки части причины - заменитель оставьте пустым.; Действует только при серверных банах; Причины регистро-чуствительны!; К примеру вписав "[CSF]" "[My Mega Server]", то в бане с причиной [CSF] CDHack мы получим причину [My Mega Server] CDHack[REASON REPLACER]"Max Team Kill Violation" "Team Kill"
// AMX Mod X Configuration Fileecho Executing AMX Mod X Configuration File// Default access for all non admin players (see users.ini for access details)//// Default value: "z"amx_default_access "z"// Name of setinfo which should store a password on a client (you should change this)// Note: Always prefix the field with an underscore (aka: "_")// (Example: setinfo _pw "password")//// Default value: "_pw"amx_password_field "_pw"// Mode of logging to a server// 0 - disable logging, players won't be checked (and access won't be set)// 1 - normal mode which obey flags set in accounts// 2 - kick all players not on list//// Default value: 1amx_mode 1// Show admins activity// 0 - disabled// 1 - show without admin name// 2 - show with name//// Default value: 2amx_show_activity 2// Frequency in seconds and text of scrolling message//// Default value: "Witam na %hostname% - Miłej gry, H@ serwera." 600amx_scrollmsg "www.Cs-Kosa.xaa.pl - Zapraszam do rejestracji !" 600// Center typed colored messages (last parameter is a color in RRRGGGBBB format)//// Default values: "Witam na %hostname%" "000255100"// "Życzę miłej gry, H@ serwera." "000100255"amx_imessage "Witamy na %hostname%" "000255100"amx_imessage "www.Cs-Kosa.xaa.pl - Zapraszam do Rejestracji!!." "000100255"// Frequency in seconds of colored messages//// Default value: 180amx_freq_imessage 180// Ban times for the main ban menu (amx_banmenu)// Use 0 for permanent ban// Default values: 0 5 10 15 30 45 60amx_plmenu_bantimes 0 5 10 15 30 45 60// Slap damage amounts for the main slap menu (amx_slapmenu)// Slay is automaticall inserted as the first option// Default values: 0 1 5amx_plmenu_slapdmg 0 1 5// Set in seconds how fast players can chat (chat-flood protection)//// Default value: 0.75amx_flood_time 0.75// Amount of slots to reserve.//// Default value: 0amx_reservation 1// If you set this to 1, you can hide slots on your server.// If server "full" of public slots and slots hidden, you must manually connect with connect console command//// Default value: 0amx_hideslots 0// Displaying of time remaining// a - display white text on bottom// b - use voice// c - don't add "remaining" (only in voice)// d - don't add "hours/minutes/seconds" (only in voice)// e - show/speak if current time is less than this set in parameter//// Default value: "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"amx_time_display "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"// Announce "say thetime" and "say timeleft" with voice, set to 0 to disable.//// Default value: 1amx_time_voice 1// Minimum delay in seconds between two voting sessions//// Default value: 10amx_vote_delay 10// How long voting session goes on//// Default value: 10amx_vote_time 10// Display who votes for what option, set to 0 to disable, 1 to enable.//// Default value: 1amx_vote_answers 1// Some ratios for voting success// Default value: 0.40amx_votekick_ratio 0.40// Default value: 0.40amx_voteban_ratio 0.40// Default value: 0.40amx_votemap_ratio 0.40// Default value: 0.02amx_vote_ratio 0.02// Max. time to which map can be extended//// Default value: 90amx_extendmap_max 90// Step for each extending//// Default value: 15amx_extendmap_step 15// If you set this to 0, clients cannot chose their language, instead they use// whatever language the server is configured to use.//// Default value: 1amx_client_languages 1// Plugin Debug mode// 0 - No debugging (garbage line numbers)// 1 - Plugins with "debug" option in plugins.ini are put into debug mode// 2 - All plugins are put in debug mode// Note - debug mode will affect JIT performance//// Default value: 1amx_debug 1// Plugin MultiLingual Debug// To debug a language put its 2 letter code between quotes ("en", "de", etc)// "" means disabled//// Default value: ""amx_mldebug ""//// Beginning of Counter-Strike package specific configurations.//// Rank mode// 0 - by nick// 1 - by authid// 2 - by ip//// Default value: 1csstats_rank 1// Max size of the stats file//// Default value: 3500csstats_maxsize 3500// Whether or not to rank bots with csstats - set to 1 to rank bots, 0 otherwise.//// Default value: 0csstats_rankbots 0// Duration of HUD-statistics//// Default value: 12.0amx_statsx_duration 12.0// HUD-statistics display limit relative round freeze end// Negative time will clear the HUD-statstics before the round freeze time has ended//// Default value: -2.0amx_statsx_freeze -2.0km_respawn 1km_freehits 10km_camera 1km_stabacer 1km_ghostchat 0mp_afktime 90mp_afkminplayers 5amx_kick_reason_website "www.Cs-Kosa.xaa.pl"amx_kick_reason1 "Szacunku"amx_kick_reason2 "Ogarnij ping"amx_kick_reason3 "Uspokój Mikrofon"amx_kick_reason4 "Lagujesz"amx_kick_reason5 "Kultura"amx_kick_reason6 "Obrazasz"amx_kick_reason7 "Odpocznij"amx_strona "www.Cs-Kosa.xaa.plamx_extendmap_max 90amx_extendmap_step 15gal_cmd_votemap 0gal_banrecent 2gal_banrecentstyle 1gal_rtv_commands 4gal_rtv_wait 6gal_rtv_ratio 0.60gal_nom_playerallowance 2gal_nom_mapfile mapcycle.txtgal_nom_prefixes 0gal_nom_qtyused 0gal_runoff_enabled 1gal_runoff_duration 15gal_vote_weight 1gal_vote_weightflags agal_endonround 0gal_vote_showstatus 1gal_vote_showstatustype 2gal_srv_start 1gal_listmaps_paginate 10gal_vote_mapchoices 5gal_vote_duration 15gal_vote_mapfile mapcycle.txtgal_vote_expirationcountdown 1gal_vote_announcechoice 1gal_emptyserver_wait 0gal_emptyserver_mapfile emptycycle.txt
Zawartość modules.ini:
;;;; To enable a module, remove the semi-colon ( 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 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mysqlsqlite;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;funengine;fakemeta;geoip;sockets;regex;nvaultcstrikecsx;hamsandwichmutemenu.amxx
Zawartość plugins-amxbans.ini:
// �������������� ������� ��� AMXBans// ��������� ������ ����� ���� (����� ������� motd � �����)// (������ �������������, �������, ������ say / say_team � �������� � ���� ������);amxbans_freeze.amxx// ����������� ���������, ����� ������� ���������� ����� (����� ��� ������ / �����������)// ������� ����������, ������� ��������, etc;amxbans_flagged.amxx// RU: ������ ��� ����, ����� ������� ������ �� ������� � ����� �� ��������// EN: Plugin for making screens on victim and suddenly ban himamxbans_ssban.amxx
Zawartość plugins.ini:
; AMX Mod X pluginsamxbans_core.amxxamxbans_main.amxx;admin.amxx ; admin base (required for any admin-related)Admin Base - Always one has to be activated;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)admincmd.amxx ; basic admin console commandsadminhelp.amxx ; help command for admin console commandsadminslots.amxx ; slot reservationmultilingual.amxx ; Multi-Lingual managementmenufront.amxx ; front-end for admin menuscmdmenu.amxx ; command menu (speech, settings)reasonkicker.amxxplmenu.amxx ; players menu (kick, ban, client cmds.)cmdmenu.amxx ; command menu (speech, settings);telemenu.amxx ; teleport menu (Fun Module required!)mapsmenu.amxx ; maps menu (vote, changelevel)pluginmenu.amxx ; Menus for commands/cvars organized by pluginmapsmenu.amxx ; maps menu (vote, changelevel)adminchat.amxx ; console chat commandsantiflood.amxx ; prevent clients from chat-flooding the serverscrollmsg.amxx ; displays a scrolling messageimessage.amxx ; displays information messagesadminvote.amxx ; vote commandsimessage.amxx ; displays information messagesnextmap.amxx ; displays next map in mapcycle;mapchooser.amxx ; allows to vote for next maptimeleft.amxx ; displays time left on mapstatscfg.amxx ; allows to manage stats plugins via menu and commandspausecfg.amxx ; allows to pause and unpause some plugins;restmenu.amxx ; restrict weapons menustatsx.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!);miscstats.amxx ; bunch of events announcement for Counter-Strike;amxmod_compat.amxx ; AMX Mod backwards compatibility layeramxbans_main.amxx ;galileo.amxx ;;CountryChat.amxx ;deathtype_effects.amxx ;resetscore.amxx ;berek.amxx ;lastIP.amxx ;mutemenu.amxx ;;ciemnosc.amxx ;;amp.amxx ;ad_manager.amxx ;GHW_Weapon_Replacement.amxx ;amx_ip.amxx ;knife_management.amxx debug ;join_leave.amxx ;GHW_New_Smokes.amxx ;kontakt.amxx ;;temporary_admin.amxx ;zapraszamy.amxx ;amx_ex_changer.amxx ;extreme_bancfg2.amxx ;NoSlowDown.amxx ;admin_gag.amxx ;temp_admin.amxx ;vip.amxx ;vipgirl.amxx ;fragcounter.amxxewelinka_sounds.amxxplayers_seen.amxxafkkicker.amxxtracker.amxx
Zawartość 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 "87.98.237.120"amx_sql_user "cskosa_c*****y"amx_sql_pass "l*********123"amx_sql_db "cskosa_bany"amx_sql_table "amx"amx_sql_type "mysql"