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

Don't say IPs


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   BAILOPAN (72)
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 02-04-2005 , 17:21   Don't say IPs
Reply With Quote #1

Messages like "hey join my server 213.34.231.23" are automatically blocked... and another message is printed instead. :-P
Or, you can choose to just ban violators by setting cvar ip_banviolators to 1 and ip_banminutes to how many minutes the violator should be banned. 0 is permanent, 5 is default.

Requested by lord_inuyasha88.

Requires the REGEX module.
Attached Files
File Type: sma Get Plugin or Get Source (dontsayips.sma - 27204 views - 2.8 KB)
Johnny got his gun is offline
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 02-04-2005 , 19:07  
Reply With Quote #2

Ah I see. REGEX was the way to do it.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
f1del1ty.oXi
Veteran Member
Join Date: Nov 2004
Old 02-04-2005 , 19:47  
Reply With Quote #3

This won't remove the IPs that are web addresses, correct? Yuo can just say "come to my server: v3xtra.no-ip.com" and it would be fine, and I wouldn't get banned. Which is why I said in the port request it wouldn't help stop them in some sense. But very good plugin JGHG
__________________
f1del1ty.oXi is offline
manorastroman
Senior Member
Join Date: Oct 2004
Old 02-04-2005 , 20:22  
Reply With Quote #4

well, you could just make sure they also dont say "come to my server"
__________________
manorastroman is offline
Send a message via AIM to manorastroman Send a message via MSN to manorastroman Send a message via Skype™ to manorastroman
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 02-05-2005 , 06:12  
Reply With Quote #5

Yes, true. It won't stop domain names, only IPs.
Should work if a port is specified though. Regex seems to find stuff wherever it is on a line.

Blocking domain names is probably.... very hard to do.
Johnny got his gun is offline
NiGHTFiRE
Senior Member
Join Date: Dec 2004
Location: Sweden
Old 02-12-2005 , 16:07   I'm
Reply With Quote #6

I'm just wondering if this is possible. If you remake this plugin alittle and the results will be. Like if some one says You noob the printed will be I'm the most noob in the server!
NiGHTFiRE is offline
Send a message via AIM to NiGHTFiRE Send a message via MSN to NiGHTFiRE
knocker
Senior Member
Join Date: Mar 2004
Old 03-11-2005 , 07:15  
Reply With Quote #7

well back on amx there was a plugin made by sniperbeamer which was named advertising filter.

but they deleted it ...


it basically removed any advertising (ips, web adresses, irc etc) by reading a blacklist and a whitelist from two files. you could add any phrase to the blacklist which caused any message using these phrases would be removed and the guy trying to advertise his crap got a message not to do this. the whitelist was introduced to allow server admins to advertise their own clanpage etc.

i asked sniperbeamer some weeks after installing amxx (so some weeks after amxx appeared ;)) to rewrite it or port it to amxx but he never answered. i use my old amx plugin all the time but i really would love to have a new one since my old version is much too old with hardcoded phrases (without a blacklist file).

could you eventually think about adding this to your plugin?
knocker is offline
Send a message via ICQ to knocker
Morpheus
Senior Member
Join Date: Mar 2004
Old 03-11-2005 , 07:29  
Reply With Quote #8

Could u make a version for amxban plz?

Cheers
Morpheus is offline
Isobold
Veteran Member
Join Date: Mar 2004
Old 03-11-2005 , 07:59  
Reply With Quote #9

lol
http://forums.alliedmods.net/showthread.php?t=1186
Isobold is offline
Morpheus
Senior Member
Join Date: Mar 2004
Old 03-11-2005 , 09:39  
Reply With Quote #10

Ehh maybe u didnt read my post..

PORT this plugin to work for amxban.. I have this working u know.. I just need the plugin to use amxban instead of banid.. since im not a scripter.. im asking for help!
Morpheus is offline
Reply


Thread Tools
Display Modes

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 17:08.


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