Raised This Month: $32 Target: $400
 8% 

Connect Messages 1.4( Updated 08-15-10 )


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Event Related       
Lure.d
BANNED
Join Date: Dec 2009
Location: Lithuania->USA
Old 01-05-2010 , 11:51   Connect Messages 1.4( Updated 08-15-10 )
Reply With Quote #1


Info:
This plugin generates joining, welcoming and leaving messages.
Also now from 1.4 version you can edit the messages any way you want!
Also sorts players into 3 types( bot, admin, player ).

Cvars:
amx_cm_tag - default 0, if 1 shows tag on message instead of players "position" in the server.

Configuration:
Put connect_messages.ini into addons/amxmodx/configs
Code:
;Connect messages plugin modifications
;This line is a comment!

;Player tags - [ under 20 characters ]
BOT "BOT"
ADMIN "ADMIN"
USER "PLAYER"

;custom tag if amx_cm_tag is set to 1 - [ under 20 characters ]
TAG "AMXX"

;messages, and their formatting options: - [ under 86 characters ]

;%name% - user name
;%ip% - user ip
;%tag% - custom tag defined above this( messages )
;%servername% - servers hostname
;\g before text - green text color
;\y before text - return text to normal color
;\t before text - team text color

JOIN "\g[%tag%] \yPlayer \t%name% \yhas joined the server."
WELCOME "\g[%tag%] \yHello \t%name% \yand welcome to \t%servername%\y! Have fun!"
LEAVE "\g%tag%] \yPlayer \t%name% \yhas left the server."

;join sound - leave 0 for no sound!
JOINSOUND "sound/buttons/bell1.wav"

;END OF FILE
As you can see it will be pretty easy to configure & use.

Screnshots:




Customized:
Code:
WELCOME "\g%tag% > \yWuzzup, \t%name%\y??? \t%servername% \yownz!"

---
Code:
LEAVE "\g%tag% > \yNoob from ip \t%ip% \yAKA \t%name% \ydced :oooo"


Downloads:
Version 1.0 - 3462
Version 1.1 - 4281
Version 1.2 - 4464
Version 1.3 - 4821
Attached Files
File Type: ini connect_messages.ini (837 Bytes, 2103 views)
File Type: sma Get Plugin or Get Source (connect_messages.sma - 3701 views - 5.1 KB)

Last edited by Lure.d; 08-17-2010 at 22:00.
Lure.d is offline
Send a message via Skype™ to Lure.d
fezh
Veteran Member
Join Date: Dec 2008
Location: BANNED
Old 01-05-2010 , 11:52   Re: Connect Messages
Reply With Quote #2

Aren't there many "[dis]connect messages" ?
__________________
"There is no knowledge, that is not power"
fezh is offline
Lure.d
BANNED
Join Date: Dec 2009
Location: Lithuania->USA
Old 01-05-2010 , 11:56   Re: Connect Messages
Reply With Quote #3

only know GHW connect messages, but mine sorts players into [BOT] [PLAYER] or [ADMIN].
Doesnt print ip, has nice colorchat compile perfectly and very good for newcomers(alot of comment blocks)

Prints only one message at a time.
Time before welcome message is shown 5 seconds so player can
choose team and than see "welcome to server blablabla".
EDIT: Removed .amxx - compiler is fixed.

Last edited by Lure.d; 01-05-2010 at 15:14.
Lure.d is offline
Send a message via Skype™ to Lure.d
Brainiac
Junior Member
Join Date: Dec 2009
Old 01-05-2010 , 16:35   Re: Connect Messages
Reply With Quote #4

Nice! Going to my server definitely!!!
Code:
[sr]
MSG_HAS_CONNECTED = %s se konektovo na server.
MSG_WELCOME = Dobrodosli, %s. Uzivajte u boravku na serveru.
MSG_HAS_LEFT = %s se diskonektovo.
Brainiac is offline
SpILL
Veteran Member
Join Date: Oct 2009
Location: Karachi, Pakistan
Old 01-05-2010 , 16:46   Re: Connect Messages
Reply With Quote #5

Would have been fantastic plugin if you were included only Welcome Messages cause of huge amount of Connect/Disconnect Messaging Plugins.
Couple Of Related Requests Here:
http://forums.alliedmods.net/showthread.php?t=109628
http://forums.alliedmods.net/showthread.php?t=114176
I have not seen Welcome Messages in Green Chat before thats why i'm appreciating..
Add a CVAR for disabling Connect Message as well for those who want only Welcome Message.
__________________


SpILL is offline
Javivi
AlliedModders Donor
Join Date: Dec 2008
Old 01-05-2010 , 17:26   Re: Connect Messages
Reply With Quote #6

Nice.

You can change

is_user_bot(id) == 1

to

is_user_bot(id)
__________________
Javivi is offline
Old 01-05-2010, 20:03
xite| amoKKK
This message has been deleted by xite| amoKKK.
matsi
Thinkosaur
Join Date: Sep 2006
Old 01-05-2010 , 20:25   Re: Connect Messages
Reply With Quote #7

You could make your messages obey admin_immunity. There are just too many connect/disconnect plugins.
matsi is offline
Starsailor
horrible hahah
Join Date: Aug 2008
Location: Buenos Aires
Old 01-05-2010 , 21:44   Re: Connect Messages
Reply With Quote #8

PHP Code:
if (cvar_plugin_enabled 0) { 
should be

PHP Code:
if (get_pcvar_num(cvar_plugin_enabled) > 0) { 
__________________
Find my plugins here..

Ex - Spanish Moderator.
Starsailor is offline
Lure.d
BANNED
Join Date: Dec 2009
Location: Lithuania->USA
Old 01-06-2010 , 02:37   Re: Connect Messages
Reply With Quote #9

All fixes will be released in the new version.
Coming up:
Cvar to show only admins and to hide bots.
Also some more languages.
EDIT:
Quote:
Add a CVAR for disabling Connect Message as well for those who want only Welcome Message.
Sure i'll do it.

Last edited by Lure.d; 01-06-2010 at 03:00.
Lure.d is offline
Send a message via Skype™ to Lure.d
GordonFreeman (RU)
Veteran Member
Join Date: Jan 2010
Location: Uzbekistan
Old 01-06-2010 , 02:41   Re: Connect Messages
Reply With Quote #10

Hmm ... It looks like a plug join_ip
GordonFreeman (RU) is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:58.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode