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

[ANY] IP Chat Block


Post New Thread Reply   
 
Thread Tools Display Modes
SuperRaWR
SourceMod Donor
Join Date: Jan 2010
Location: Sylvan Lake, Alberta, Ca
Old 01-28-2011 , 19:31   Re: [ANY] IP Chat Block
Reply With Quote #21

Quote:
Originally Posted by Sir Jake View Post
1) log the players name/id trying to post a bad ip.
It does this already. It should appear in your logs.


Quote:
Originally Posted by Sir Jake View Post
2) Have it show a custom message "Don't advertise your servers here"
I could do this for sure.

Quote:
Originally Posted by Sir Jake View Post
3) possible detect how many times tried if you can and have a limit to kick or ban if used.
We'll see about this... It kinda goes beyond the simplicity of the plugin that I wanted to keep... But maybe.
__________________
[WDZ]SuperRaWR

I use event scripts.
SuperRaWR is offline
Send a message via Skype™ to SuperRaWR
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 01-29-2011 , 05:18   Re: [ANY] IP Chat Block
Reply With Quote #22

For kick or ban you could use a cvar and ServerCommand:
PHP Code:
if (x)
{
    
ServerCommand("sm_kick #%d \"%s\'"clientreason);

__________________
DarthNinja is offline
SuperRaWR
SourceMod Donor
Join Date: Jan 2010
Location: Sylvan Lake, Alberta, Ca
Old 01-29-2011 , 18:01   Re: [ANY] IP Chat Block
Reply With Quote #23

Quote:
Originally Posted by DarthNinja View Post
For kick or ban you could use a cvar and ServerCommand:
PHP Code:
if (x)
{
    
ServerCommand("sm_kick #%d \"%s\'"clientreason);


I'm going to want to integrate it with sourcebans as well though.
__________________
[WDZ]SuperRaWR

I use event scripts.
SuperRaWR is offline
Send a message via Skype™ to SuperRaWR
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 01-30-2011 , 08:16   Re: [ANY] IP Chat Block
Reply With Quote #24

You could always make the command read from a cvar string as well.
__________________
DarthNinja is offline
blue zebra
BANNED
Join Date: Jun 2010
Old 02-21-2011 , 03:04   Re: [ANY] IP Chat Block
Reply With Quote #25

The new version does nothing for me. Run (i see in the console if i use the sm list command), but any player can write server IP-s to the chat window.
Counter strike source (4426)
linux
metamod 1.9.0 hg 741
1.4.0 hg 3189

Last edited by blue zebra; 02-21-2011 at 03:07.
blue zebra is offline
Secondry.
Junior Member
Join Date: Mar 2011
Location: Turkey/IstanbuL
Old 03-08-2011 , 10:34   Re: [ANY] IP Chat Block
Reply With Quote #26

Thanks..
__________________
Amx Mod X - Assembler
Mail & Msn: Secondry[at]w.cn
Secondry. is offline
Send a message via MSN to Secondry.
Bloodlvst
Senior Member
Join Date: Jul 2007
Old 05-16-2011 , 19:20   Re: [ANY] IP Chat Block
Reply With Quote #27

Any more ideas to update this? Perhaps a message to the offender telling them not to advertise?

Otherwise, GREAT plugin!
__________________
Quote:
skywalker: I have cs source client 5 how to upgrade to client 7
BAILOPAN: oh
Bloodlvst is offline
Tezi
Member
Join Date: Jul 2011
Old 10-18-2011 , 20:58   Re: [ANY] IP Chat Block
Reply With Quote #28

cant you make it log in a .txt file, like "filterlog.txt"
Because it doesnt do that
Tezi is offline
poppin-fresh
AlliedModders Donor
Join Date: Aug 2010
Old 01-20-2012 , 15:05   Re: [ANY] IP Chat Block
Reply With Quote #29

Nice work! Would it be possible to add a message instead of blocking out the whole chat?
e.g
Come join my server 203.98.81.17:27015
Turns into
Come join my server [IP Blocked]
poppin-fresh is offline
[PL]Luki
Member
Join Date: Jun 2009
Old 03-25-2012 , 17:11   Re: [ANY] IP Chat Block
Reply With Quote #30

There should be an option to write to the sender's chat a normal chat message, so he will think that the message wasn't blocked and won't try to avoid it >
[PL]Luki 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 18:37.


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