CD Announcer v2.3 Beta
4 Attachment(s)
CD Announcer v2.3 Beta Description This plugin will play a sound when a user connects or disconnect and it will print message with the user's info like steamid, ip, country...it also has a feature to log the messages to a log file... Credits
CVARS cd_mode - 1 = by SteamId, 2 = by Ip, 3 = ip and SteamId (Def 1) cd_showall - 1 = show all(connects, and disconnects), 2 = show connects only, 3 = show disconnects only (Def 1) cd_sound - Toggles sound on and off (Def 1 = on) cd_printcountry - Turns on\off priting country names 0 = off, 1= on (Def 1) cd_showadmins - Shows Admins on connect/disconnect, 0= don't show, 1 = show (Def 1) cd_country_type - country name print type 1 = print shortname, 2 = print full name(Def 1) cd_sound_file - Sound file location to be played on a connect/disconnect under the sounds directory (Def =buttons/blip1.wav) cd_loggin - 0 to turn off logging, 1 to make it log connects and disconnects and make them also print in chat and 2 is to make the annoucers only log to the file and nothing in chat (Def 1) cd_logfile - default file location of the log file relative to the sourcemod directory DEF = "data/cd_logs.log" Changelog 1.0 Intial Release 1.1 Added cvar opition for showing Steamid and Ip at the same time 1.2 added geoip country prefirx's and enable disable sound cvar 1.3 Added cd_showadmins cvar to show\hide admin connect\disconnect 1.4 Changed:OnClientConnect(client) to OnClientPostAdminCheck(client) to make sure admins are set for GetUserAdmin(client) 1.5: fixed GetUserAdmin bug 1.6: fixed typo thx to kaschenko and added cd_country_type ( 1= print short name, 2= print full name. this is untested give me feedback) 1.7: no more messages for bots\fakeclients 2.0:
2.2: added a cvar to show all messages, connects, or disconnect only and translations support.. 2.3: added all type of fun stuff..all of this is beta and not tested by myself yet.
IMPORTANT* the log file will be auto created under addons/sourcemod/data/ you don't need to create anything the log file will never be reseted unless if you delete it, it's recommend that people delete it weekly or else it will get really big.. If you see another message in the chat when a user connect rather than the standard hl2 engine message then it is pRED's Super Commands message if you that removed just simply set 'sm_connectannounce' to 0...Hai pRED Dont click on the get plugin download the separate .smx due to me changing something in the geoip.inc file it is also attached... place the .smx in your plugins folder and place the .phrases in your translations folder. |
Re: Connect/Disconnect Announcer with Sounds
It would probably be more useful if it was attached.
|
Re: Connect/Disconnect Announcer with Sounds
Oh Noes forget it lol.
|
Re: Connect/Disconnect Announcer with Sounds
Can you add cd_mode 3 - Print steamid and IP adress ?
|
Re: Connect/Disconnect Announcer with Sounds
trawiator: just added it (not tested)
|
Re: Connect/Disconnect Announcer with Sounds
Thanks for this plugin .... i was searching for it :up:
is there a cvar to change sound ? Can you add the country form the player is connecting ( using the geoip ) ? cya |
Re: Connect/Disconnect Announcer with Sounds
Quote:
|
Re: Connect/Disconnect Announcer with Sounds
Done.
|
Re: Connect/Disconnect Announcer with Sounds
Fredd, thanks. :-)
It prints 'connected' when players connect AND disconnect, but works great. |
Re: Connect/Disconnect Announcer with Sounds
It is possible to make, that data admin were not shown? To make immunity for the administrator it is possible? It would be very COOL!
please |
All times are GMT -4. The time now is 09:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.