СайтФорумПоследние изображенияПоискРегистрацияВход
Присойденяйся
Мы вконтакте
Мы в стиме
Опрос
Открывать v.70?
 Да!
 Нет!
 Мне пох:D
Результаты
Теги форума
Для отображения блока требуется Flash Player 10

$MYINF_31$

 

 Connect Announce v1.4 by Arg

Перейти вниз 
АвторСообщение
Витек
Знающий
Знающий



Сообщения : 25
Дата регистрации : 2012-02-13

Connect Announce v1.4 by Arg Empty
СообщениеТема: Connect Announce v1.4 by Arg   Connect Announce v1.4 by Arg Icon_minitimeСр Фев 15, 2012 6:28 pm

Connect Announce v1.4 by Arg 7928

Плагин служит для изменения стандартных сообщения при подключении/отключении игроков. Показывает страну, город, Steam ID игрока. Цвета сообщений полностью настраиваются в конфиге 'addons\sourcemod\data\cannounce_settings.txt. С помощью данного плагина игроки могут установить свое сообщение при подключении к серверу, если данная функция разрешена администратором.

Требования:
- GeoIpCity (есть в архиве)

Cvar's:

sm_ca_connectdisplaytype - <1|0> if 1 then displays enhanced connect message after admin check and allows the {PLAYERTYPE} placeholder. If 0 displays enhanced connect message on client auth (earlier) and disables the {PLAYERTYPE} placeholder
sm_ca_showenhanced <1|0> - shows the enhanced player connect message from this plugin.
sm_ca_showenhanceddisc <1|0> - shows the enhanced player disconnect message from this plugin.
sm_ca_showstandard <1|0> - shows the standard player connect message.
sm_ca_showstandarddisc <1|0> - shows the standard player disconnect message.
sm_ca_showenhancedadmins <1|0> - shows a different enhanced connect/disconnect message to admins with the generic flag. Message customised in /data/cannounce_settings.txt'
sm_ca_autoallowmsg <1|0> - allows admins with the kick flag to always be able to set a custom join message.
sm_ca_playsound <1|0> - if enabled, plays a sound on each player connect.
sm_ca_playsoundfile - specifies sound file to play if sm_ca_playsound is enabled.
sm_ca_playdiscsound <1|0> - if enabled, plays a sound on each player disconnect.
sm_ca_playdiscsoundfile - specifies sound file to play if sm_ca_playdiscsound is enabled.
'sm_mapstartnosound' (float, defaults to 30.0) - specify time to play NO connect sounds after map start

Команды:

sm_geolist - lists player(s) and their country.
sm_joinmsg [message] - (console command) player can use this to set their custom join message (if allowed) or if no message provided will display their currently set message.
sm_joinmsgon - allow target to set their custom join message.
sm_joinmsgonid '' '' - allows specified steam id to set a custom join message, useful if player not in game. Player name is only an indicator so the file storing the messages is human readable.
sm_joinmsgoff - disallow target from having a custom join message.
sm_joinmsgoffid '' - disallow specified steam id from having a custom join message.
sm_setjoinmsg '' - set a custom join message for target, if they are allowed to have one.
sm_setjoinmsgid '' '' - set a custom join message for steam id, if it is allowed
sm_setjoinsnd '' - set a custom join sound for target, if they are allowed to have one.
sm_setjoinsndid '' '' - set a custom join sound for steam id, if it is allowed
sm_playsnd '' - plays sound file to all clients, useful for testing sound files before applying to a client.

Константы:
Сообщения о подключении/отключении игроков могут быть настроены в файле 'addons/sourcemod/data/cannounce_settings.txt' который создается при первом загрузке сервера с данным плагином. Следующие константы вы можете использовать для редактирования таких сообщений:

{PLAYERNAME} - Players name
{PLAYERTYPE} - Displays 'Admin' if the client has the generic admin flag, otherwise 'Player'
{STEAMID} - Players steam ID
{PLAYERCOUNTRY} - Players country eg. Australia
{PLAYERCOUNTRYSHORT} - Players country code eg. AU
{PLAYERIP} - IP address of player
{DISC_REASON} - Enhanced disconnect message only. Displays player disconnect reason.
{DEFAULT} - Following text will be in default color (usually white)
{LIGHTGREEN} - Following text will be in light green color
{GREEN} - Following text will be in green color
{YELLOW} - Following text will be yellow (TF2 Only?)


СКАЧАТЬ
Вернуться к началу Перейти вниз
 
Connect Announce v1.4 by Arg
Вернуться к началу 
Страница 1 из 1

Права доступа к этому форуму:Вы не можете отвечать на сообщения
Форум клана ns-k™ :: Всё для сервера Counter Strike Source v34 :: Плагины sourcemod-
Перейти: