Установка AMXX.
По настройке сервера, я думаю вы сами сможете разобраться с *.so'шками amx. Я буду учитывать dll файлы.
Расспаковали архив и кидаем его в \cstrike\addons\amxmodx
Т.е. в папке amx у вас должны быть папки modules, plugins, config и т.д.
Идем в папку с установленным metamod'ом. Там создаем файл plugins.ini.
В него пишем:
win32 addons/amxmodx/dlls/amxmodx_mm.dll
win32 addons/amxmodx/dlls/fun_mm.dll
Для linux пишем:
linux addons/amxmodx/dlls/......so
Если мы хотим, чтоб AMXx у нас был еще и статистикой, то так же добалвяем csstats_mm.dll.
Далее идем в папку с amx, а точнее в папку config.
Открываем amxx.cfg:
----------------------------------------------------------------------------------------------------------------------------
CODE
// Default access for all non admin players (see users.ini for access details)
amx_default_access "z" // Уровень доступа игроков по умолчанию. z - user. Детально о всех флагах прочтете в users.ini
// Name of setinfo which should store a password on a client
// (Example: setinfo _pw "password")
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
amx_mode 1 // режим работы сервера, 0 - без разделения доступа, 1 - нормальный режим, 2 - кикать всех, кого нет в users.ini.
// Show admins activity
// 0 - disabled
// 1 - show without admin name
// 2 - show with name
amx_show_activity
2 // Показывать активность админов. 0 - не показывать, 1 - показывать
без имени админа, 2- показывать с именем админа.
// Frequency in seconds and text of scrolling message
amx_scrollmsg "Welcome to %hostname% -- This server is using AMX" 600
// Center typed colored messages (last parameter is a color in RRRGGGBBB format)
amx_imessage "Welcome to %hostname%" "000255100"
amx_imessage
"This server is using AMX\nVisit <a xhref="http://amxmod.net"
target="_blank">http://amxmod.net</a>" "000100255"
// Frequency in seconds of colored messages
amx_freq_imessage 180
// Set in seconds how fast players can chat (chat-flood protection)
amx_flood_time 0.75
// Amount of reserved slots (for more details see comments in a plugin source)
amx_reservation 2 // сколько слотов резервируем для админов.
// 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
amx_time_display "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"
// Announce "say thetime" and "say timeleft" with voice
amx_time_voice 1 // произносить голсом время или нет.
// Minimum delay in seconds between two voting sessions
amx_vote_delay 10
// How long voting session goes on
amx_vote_time 10
// Display who votes for what option
amx_vote_answers 1
// Some ratios for voting success
amx_votekick_ratio 0.40
amx_voteban_ratio 0.40
amx_votemap_ratio 0.40
amx_vote_ratio 0.02
// Max. time to which map can be extended
amx_extendmap_max 90
// Step for each extending
amx_extendmap_step 15
// CSStats rank tracking
// 0 - Playername
// 1 - WON ID
// 2 - IP address
csstats_rank 1 // Как собирать статистику.
// More than 7000 will get player timeouts at map change
csstats_maxsize 3500 // максимальные размер статистики.
// To reset the /top15 and all CSStats info do this in the servers console:
// csstats_reset 1
------------------------------------------------------------------------------------------------------------------------
Сохраняем. Открваем modules.ini.
Там снимаем комментарии к модулям, которые мы прописали в plugins.ini в папке metamod'а.
------------------------------------------------------------------------------------------------
CODE
; AMX Modules
; NOTE: 'AMX+MM' modules have to be declared in both
; amx/modules.ini and metamod/plugins.ini since
; AMX v0.9.9 (same as 0.9.3, differs from 0.9.7)
; Simple way to identify them: their filename
; contains '_mm'.
; CS Stats
; This one must also be declared in MetaMod's plugins.ini!
csstats_mm.dll
; Fun: more functions for modifications in HL
; This one must also be declared in MetaMod's plugins.ini!
fun_mm.dll
; MySQL access
; mysql.dll
; 3rd party modules
; Vexd Util.
; This one must also be declared in MetaMod's plugins.ini!
; VexdUM_mm.dll