Raised This Month: $51 Target: $400
 12% 

Connect Announce


Post New Thread Reply   
 
Thread Tools Display Modes
kwski43
Senior Member
Join Date: Mar 2009
Old 01-15-2014 , 03:26   Re: Connect Announce
Reply With Quote #731

This version will ignore map start connect messages for the time specified in sm_ca_mapstartnosound
Attached Files
File Type: smx cannounce.smx (22.5 KB, 197 views)
File Type: sp Get Plugin or Get Source (cannounce.sp - 175 views - 14.1 KB)
__________________

Last edited by kwski43; 01-15-2014 at 08:31. Reason: added source
kwski43 is offline
jeezz
Senior Member
Join Date: Apr 2012
Location: netherlands
Old 01-15-2014 , 07:35   Re: Connect Announce
Reply With Quote #732

ey thx a lot...

do u know how i can make the plugin not to show admins ip?

thx again!
jeezz is offline
kwski43
Senior Member
Join Date: Mar 2009
Old 01-15-2014 , 08:30   Re: Connect Announce
Reply With Quote #733

Quote:
Originally Posted by jeezz View Post
ey thx a lot...

do u know how i can make the plugin not to show admins ip?

thx again!
post #728

assuming you have sm_ca_showenhancedadmins 1 set will show message in "messages_admin" to admin only, other players will see standard message that is in "messages"

your cannounce_settings.txt should be
PHP Code:
"CountryShow"
{
    
"messages"
    
{
        
"playerjoin"        "{PLAYERTYPE} {GREEN}{PLAYERNAME} {DEFAULT}<{LIGHTGREEN}{STEAMID}{DEFAULT}> connected from country {GREEN}{PLAYERCOUNTRY} {DEFAULT}({LIGHTGREEN}{PLAYERCOUNTRYSHORT}{DEFAULT})"
        "playerdisc"        "{PLAYERTYPE} {GREEN}{PLAYERNAME} {DEFAULT}<{LIGHTGREEN}{STEAMID}{DEFAULT}> from country {GREEN}{PLAYERCOUNTRY} {DEFAULT}({LIGHTGREEN}{PLAYERCOUNTRYSHORT}{DEFAULT}) disconnected reason: {DEFAULT}{DISC_REASON}"
    
}
    
"messages_admin"
    
{
        
"playerjoin"        "{PLAYERTYPE} {GREEN}{PLAYERNAME} {DEFAULT}<{LIGHTGREEN}{STEAMID}{DEFAULT}> connected from country {GREEN}{PLAYERCOUNTRY} {DEFAULT}({LIGHTGREEN}{PLAYERCOUNTRYSHORT}{DEFAULT}), IP {GREEN}{PLAYERIP}"
        "playerdisc"        "{PLAYERTYPE} {GREEN}{PLAYERNAME} {DEFAULT}<{LIGHTGREEN}{STEAMID}{DEFAULT}> from country {GREEN}{PLAYERCOUNTRY} {DEFAULT}({LIGHTGREEN}{PLAYERCOUNTRYSHORT}{DEFAULT}) disconnected from IP {GREEN}{PLAYERIP}{GREEN}reason: {DEFAULT}{DISC_REASON}"
    
}

admins will see player IPs, but players wont see anyones IP
__________________

Last edited by kwski43; 01-15-2014 at 08:32.
kwski43 is offline
jeezz
Senior Member
Join Date: Apr 2012
Location: netherlands
Old 01-15-2014 , 09:27   Re: Connect Announce
Reply With Quote #734

i did as u told me...

but now i do not see the players ip, but the players see admins ip...

can u take a look into my cfg and txt...

thx for ur help, i really appriciate it...

Last edited by jeezz; 03-23-2014 at 11:37.
jeezz is offline
kwski43
Senior Member
Join Date: Mar 2009
Old 01-15-2014 , 09:53   Re: Connect Announce
Reply With Quote #735

Quote:
Originally Posted by jeezz View Post
i did as u told me...

but now i do not see the players ip, but the players see admins ip...

can u take a look into my cfg and txt...

thx for ur help, i really appriciate it...
you're missing "playerdisc" entry in "messages" although I see you're not using disconnect messages it might be the issue
__________________
kwski43 is offline
jeezz
Senior Member
Join Date: Apr 2012
Location: netherlands
Old 01-15-2014 , 13:25   Re: Connect Announce
Reply With Quote #736

plugin works now like it must be...

this was the fix: "playerdisc" ( stupid me )

and no more chat spam at round end, cos ur fix...

have a good day and many thx!!!
jeezz is offline
Kooter
Member
Join Date: Sep 2013
Old 01-21-2014 , 14:40   Re: Connect Announce
Reply With Quote #737

I seem to be having issues with city support, when used with the GeoIPCity extension. The plugin itself still seems to work well.

Last edited by Kooter; 01-22-2014 at 15:59.
Kooter is offline
NathanBeesley
Junior Member
Join Date: Jan 2014
Old 01-31-2014 , 12:16   Re: Connect Announce
Reply With Quote #738

Hi, im new to plugins etc, i dont edit them i just install, but i was hoping maybe you would be able to make the plugin so that only admins can see the plugin, it would be handy if this was possible because many threats have been made from players to players about ip's etc being ddos etc. If you could edit it or maybe help me through to set it this way it would be great and highly appreciated.
NathanBeesley is offline
kwski43
Senior Member
Join Date: Mar 2009
Old 01-31-2014 , 14:32   Re: Connect Announce
Reply With Quote #739

Quote:
Originally Posted by NathanBeesley View Post
Hi, im new to plugins etc, i dont edit them i just install, but i was hoping maybe you would be able to make the plugin so that only admins can see the plugin, it would be handy if this was possible because many threats have been made from players to players about ip's etc being ddos etc. If you could edit it or maybe help me through to set it this way it would be great and highly appreciated.
#733
__________________
kwski43 is offline
srvmil
Senior Member
Join Date: Oct 2010
Old 02-15-2014 , 00:28   Re: Connect Announce
Reply With Quote #740

How do I keep GeoIPCity updated?

I'm using the plugin from the first page and been getting "an Unknown Country" when some players connecting to the server.
srvmil 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 06:32.


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