Пятница, 26.04.2024, 16:11
Меню Сайта
Категории раздела
Модели играков [51] Модели оружия [81]
Скачать Counter-Strike Source v34 [4] Готовые сервера css v34 [2]
Античит css server v34 [7] Плагины (Source MOD) [41]
Плагины (EventScripts) [126] Карты [18]
Моды [14]
Мини-чат
Статистика
Счетчики:

Зарег. на сайте:
Всего: 920
Новых за месяц: 0
Новых за неделю: 0
Новых вчера: 0
Новых сегодня: 0
Из них:
Администраторов: 1
Модераторов: 4
Дизайнеров:
Файловиков: 2
Проверенных: 16
Обычных: 897
Забаненых: 0
Из них:
Парней: 884
Девушек: 36

Главная » Файлы » Source » Плагины (Source MOD)

Connect Announce v1.4
(310.6 Kb) ] 30.03.2012, 21:33
Инфо: Плагин служит для изменения стандартных сообщения при подключении/отключении игроков. Показывает страну, город, Steam ID игрока. Цвета сообщений полностью настраиваемые.



Требования:
- 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 <sound file path> - 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 <sound file path> - 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 <name or #userid> - 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 <name or #userid> - allow target to set their custom join message.
sm_joinmsgonid '<steamId>' '<player name>' - 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 <name or #userid> - disallow target from having a custom join message.
sm_joinmsgoffid '<steamId>' - disallow specified steam id from having a custom join message.
sm_setjoinmsg <name or #userid> '<message>' - set a custom join message for target, if they are allowed to have one.
sm_setjoinmsgid '<steamId>' '<message>' - set a custom join message for steam id, if it is allowed
sm_setjoinsnd <name or #userid> '<sound file path>' - set a custom join sound for target, if they are allowed to have one.
sm_setjoinsndid '<steamId>' '<sound file path>' - set a custom join sound for steam id, if it is allowed
sm_playsnd '<sound file path>' - 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?)
Категория: Плагины (Source MOD) | Добавил: Жук
Просмотров: 2398 | Загрузок: 128 | Рейтинг: 0.0/0
Всего комментариев: 0
Добавлять комментарии могут только зарегистрированные пользователи.
[ Регистрация | Вход ]
Личний кабинет
Пятница
26.04.2024
16:11

[ Управление профилем ]

Наши Кнопки
West Pablic v34
Наши Партнери


[ Получить код баннера]
Наш опрос
Как вы к нам попали ?
Всего ответов: 161
Поиск


© √άŦ®ά™ Жук | ύą | 2010 | Все права защищены! Сайт оптимизирован под разрешение экрана 1280х1024 и браузеры Opera Конструктор сайтов - uCoz