Правила форума Гаранты форума
Размещение рекламы AMX-X компилятор

Здравствуйте, гость Вход | Регистрация

Наши новости:

14-дек
24-апр
10-апр
11-апр

Join Ip Plugin

aaa
сообщение 13.12.2008, 12:20
Сообщение #1
Стаж: 19 лет

Сообщений: 8
Благодарностей: 2
Полезность: 0

Есть вопрос... Еще както давно играя на серваке 1.6 я видел плагин,который отображал всем инфу в чат типа - Player (192.168.x.x) connecting. Кароче кто с какого айпи заходит. я так понял под 1.6 он назывался join_ip. А под сорс аналогов нет?
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
Поблагодарили 1 раз
   Цитировать сообщение
Статус пользователя roman1448
сообщение 29.12.2008, 1:24
Сообщение #2


Стаж: 19 лет

Сообщений: 32
Благодарностей: 3
Полезность: 8

Connect Announce

Description: Replacement for standard "player has joined the server" message. Displays country and steam id of joining player. Allows for custom join messages eg, players can set a message that will display every time they connect to the server. This is not open to all players as they have to be allowed by an admin prior to setting their message. Menu integration included for allowing/disallowing custom join messages.

Notes: The connect messages show later than the default one, as the player has to be authorized (steam id validated) before we can use it but this should be no more than a few milliseconds and not noticeable. ROOT privileges are required to allow/disallow join messages but this can be changed in the code at the top of joinmsg.sp
This plugin stores custom join messages and sound paths in the file 'addons\sourcemod\data\cannounce_messages.txt '. If you manually edit this file, you will need to restart the plugin for changes to apply. If you do not the file may be overwritten on map change, without your changes.
When adding join sounds, all paths are to be specified relative to the sounds folder of your mod, eg the sound path 'player\death.wav' refers to the path '<modname>\sounds\player\death.wav'. Any sound included in your game/mod can be used, or any custom sound, depending on your sv_pure setup. Any custom sound specified will automatically be downloaded to all clients on map change.
MP3's do work as custom join sounds but they may need to be amplified to make them work as well as wav's.

Commands:

* 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.

Cvars:

* sm_ca_logconnects <1|0> - logs player connects in the sourcemod log files.
* sm_ca_showenhanced <1|0> - shows the enhanced player connect message from this plugin.
* sm_ca_showstandard <1|0> - shows the standard player connect message.
* sm_ca_autoallowmsg <1|0> - allows admins with the kick flag to always be able to set a custom join message

Thanks to:

* bl4nk
* Sourcemod forums posters in general
* Berni - Map Decals plugin helped a lot in custom sounds release

Install Instructions:

* 'plugins/cannounce.smx' goes into 'sourcemod/plugins'
* 'translations/cannounce.phrases.txt' goes into 'sourcemod/translations'
* after loading plugin file 'cfg/sourcemod/cannounce.cfg' gets created and can be modified to change default cvar settings
ps.gif Ставится на sourcemod! Если будут проблемы пиши ICQ 9457093! Работает на 100 % сам пользуюсь на серваке
Прикрепленные файлы:
Прикрепленный файл  cannounce_0.4.zip ( 25,31 килобайт ) Кол-во скачиваний: 76
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
Статус пользователя gto3zr
сообщение 6.1.2009, 15:32
Сообщение #3


Стаж: 18 лет
Город: Орехово-Зуево


Сообщений: 588
Благодарностей: 151
Полезность: 506

Убейся, тут русскоязычный форум. Если выкладываешь плагин или мод то переводи. А так те кто на английском фортыбачут, те на алиенмодерс сходят и сами все возьмут.
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
  Тема закрытаНачать новую тему
 
0 пользователей и 1 гостей читают эту тему: