Дам подробное описание главного конфига SourceMod - sourcemod.cfg Расположен он в директории /cfg/sourcemod/
Содержимое файла (по умолчанию)
Код
// SourceMod Configuration File // This file is automatically executed by SourceMod every mapchange.
// Specifies how admin activity should be relayed to users. Add up the values // below to get the functionality you want. // 1: Show admin activity to non-admins anonymously. // 2: If 1 is specified, admin names will be shown. // 4: Show admin activity to admins anonymously. // 8: If 4 is specified, admin names will be shown. // 16: Always show admin names to root users. // -- // Default: 13 (1+4+8) sm_show_activity 13
// Specifies whether menu sounds are enabled for menus created by SourceMod. // Menu sounds can be further configured in addons/sourcemod/configs/core.cfg. // -- // Default: 1 sm_menu_sounds 1
// Specifies how long of a delay, in seconds, should be used in between votes // that are "public" or can be spammed. Whether or not this delay is obeyed // is dependent on the menu/command. // -- // Default: 30 sm_vote_delay 30
// Default datetime formatting rules when displaying to clients. // For full options, see: http://www.opengroup.org/onlinepubs/007908799/xsh/strftime.html // -- // Default: %m/%d/%Y - %H:%M:%S // 12 hour format: %m/%d/%Y - %I:%M:%S %p sm_datetime_format "%m/%d/%Y - %H:%M:%S"
// Sets how SourceMod should check immunity levels when administrators target // each other. // 0: Ignore immunity levels (except for specific group immunities). // 1: Protect from admins of lower access only. // 2: Protect from admins of equal to or lower access. // 3: Same as 2, except admins with no immunity can affect each other. // -- // Default: 1 sm_immunity_mode 1
// Sets how many seconds SourceMod should adjust time values for incorrect // server clocks. This can be positive or negative and will affect every // system time in SourceMod, including logging stamps. // -- // Default: 0 sm_time_adjustment 0
// Specifies the amount of time that is allowed between chat messages. This // includes the say and say_team commands. If a client sends a message faster // than this time, they receive a flood token. When the client has accumulated // 3 or more tokens, a warning message is shown instead of the chat message. // -- // Requires: antiflood.smx // Default: 0.75 sm_flood_time 0.75
// Specifies how the reserved slots plugin operates. Valid values are: // 0 : Public slots are used in preference to reserved slots. Reserved slots are freed before public slots. // 1 : If someone with reserve access joins into a reserved slot, the player with the highest latency and // no reserved slot access (spectator players are selected first) is kicked to make room. Thus, the reserved // slots always remains free. The only situation where the reserved slot(s) can become properly occupied is // if the server is full with reserve slot access clients. // -- // Requires: reservedslots.smx // Default: 0 sm_reserve_type 0
// Specifies the number of reserved player slots. Users with the reservation // admin flag set will be able to join the server when there are no public slots // remaining. If someone does not have this flag, they will be kicked. // (Public slots are defined as: maxplayers - number of reserved slots) // -- // Requires: reservedslots.smx // Default: 0 sm_reserved_slots 0
// Specifies whether or not reserved slots will be hidden (subtracted from max // slot count). Valid values are 0 (Visible) or 1 (Hidden). // -- // Requires: reservedslots.smx // Default: 0 sm_hide_slots 0
// Specifies whether or not non-admins can send messages to admins using // say_team @<message>. Valid values are 0 (Disabled) or 1 (Enabled) // -- // Requires: basechat.smx // Default: 1 sm_chat_mode 1
// Specifies whether or not "timeleft" will automaticly be triggered every // x seconds. Valid values are 0 (Disabled) to 1800 seconds. // -- // Requires: basetriggers.smx // Default: 0 sm_timeleft_interval 0
// Specifies whether or not chat triggers are broadcast to the server or just // the player who requested the info trigger. Valid values are 0 (Disabled) or // 1 (Enabled) // -- // Requires: basetriggers.smx // Default: 1 sm_trigger_show 1
// Specifies whether or not to display vote progress to clients in the // "hint" box (near the bottom of the screen in most games). // Valid values are 0 (Disabled) or 1 (Enabled). // -- // Default: 0 sm_vote_progress_hintbox 0
// Specifies whether or not to display vote progress to clients in the // chat area. Valid values are 0 (Disabled) or 1 (Enabled). // -- // Default: 0 sm_vote_progress_chat 0
// Specifies whether or not to display vote progress in the server console. // Valid values are 0 (Disabled) or 1 (Enabled). // -- // Default: 0 sm_vote_progress_console 0
// Specifies whether or not to display vote progress to clients in the // client console. Valid values are 0 (Disabled) or 1 (Enabled). // -- // Default: 0 sm_vote_progress_client_console 0
Теперь подробнее, какая переменная, что означает.
"sm_show_activity" Данный позволяет выбрать, как будут показываться действия админов. Значение параметра складывается суммой следующих значений: 1 -рядовые игроки не видят, кто именно совершил действие. 2 -если 1 установлен, то игрокам будет показан ник админа. 4 -админы не видят, кто именно совершил действие. 8 -если 4 установлен, то админы видят, кто именно совершил действие. 16 -всегда показывать ники админам с флагом z. По умолчанию, значение равно 13 (1+4+8).
"sm_menu_sounds" Звуки в меню (звуки выхода, выбора пункта в меню и т.д.). Звуки настраиваются в конфиге /addons/sourcemod/configs/core.cfg "1" - Звуки включены (по умолчанию) "0" - Звуки выключены.
"sm_vote_delay" Время, через которое можно создать новое голосование. Время указывайте в секундах. Стандартное значение: 30.
"sm_datetime_format" Формат даты и времени. Стандартное значение: %m/%d/%Y - %H:%M:%S %m - месяц, %d - день, %Y - год, %H - часы, %M - минуты, %S - секунды. Все виды можете посмотреть . "sm_immunity_mode" Настройка иммунитета для админов. 0 -Иммунитет отключен. 1 -Защищать админов с более высоким иммунитетом. 2 -Защищать админов с более высоким или равным иммунитетом. 3 -Защищать админов с более высоким или равным иммунитетом, а также позволить админам без иммунитета совершать действия друг над другом. Стандартное значение: 1.
"sm_time_adjustment" Через сколько секунд SourceMod следует обновлять время сервера (корректировать, если неверное время). По умолчанию, значение 0 (отключено).
"sm_flood_time" Данный параметр позволяет выбрать время между сообщениями одного и того же игрока для предотвращения флуда. Время в секундах. По умолчанию, значение 0.75. "sm_reserve_type" Позволяет выбрать, как резервировать слоты для админов на сервере. "0" - Резервирование слотов включено. Если, например, на сервере 32 слота для игры, зарезервировано 4 слота, то будет доступно для игры 28 слотов (4 для админов, если сервер заполнен). "1" - Слоты не резервируются. Но при подключении админа (если сервер заполнен), то кикается один игрок. Кикается игрок с наибольшим пингом и без флага резервного слота (A). Сначала проверяются игроки в спектаторах, потом в командах. По умолчанию, значение 0.
"sm_reserved_slots" Количество резервируемых слотов (доступны только админам, если сервер фулл). По умолчанию, значение 0 (нет таких слотов).
"sm_hide_slots" Позволяет выбрать, скрывать или нет резервные слоты в мониторинге. "0" - не скрывать. "1" - скрывать. По стандарту 0.
"sm_chat_mode" Дает возможность посылать админам сообщения через командный чат и знак @. Если в командном чате перед сообщением игрок поставит знак @, то сообщение будет видно только админам. У админов данное сообщение будет видно с приставкой (ADMINS) салатовым цветом. "1" - Включено. "0"- Отключено. По умолчанию: 1.
"sm_timeleft_interval" Время между сообщениями о том, сколько осталось времени до смены карты (в секундах). Доступные значения от 0 (отключено) до 1800. По умолчанию: 0 (отключено).
"sm_trigger_show" Позволяет выбрать, показывать ли сообщения триггеров (timeleft, nextmap, motd, ff) всем игрокам. Или показывать только тем игрокам, кто его включил. "0" - не показывать всем игрокам. "1" - показывать всем игрокам (стандартное значение).
sm_vote_progress_hintbox, sm_vote_progress_chat, sm_vote_progress_console, sm_vote_progress_client_console, Можно включить возможность показывать результаты голосования в хинте (темная рамка внизу экрана), в чате, консоли сервера, в консоли игрока. Если в чате, то показывается, какой игрок какую карту выбрал. Если в хинте, то показывается сколько человек выбрали определенную карту. "0" - отключено (по умолчанию). "1" - включено.
Если будут вопросы по настройке - пишите, помогу =)