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

Antiflood with name change spam protection


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   devicenull (200)
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 12-09-2004 , 18:56   Antiflood with name change spam protection
Reply With Quote #1

I made this modified version of antiflood.sma awhile back. Replace your old one. Make sure to have engine module enabled.

It defines a new cvar: amx_nameflood_time, default at 10.0 seconds.
If you try to change your name more often, you just can't and no spam whatsoever should be printed anywhere but on the namespamming client.
Just set cvar to to maybe 600 seconds or whatever you like. No need to change your name more often than that huh?

More cvars (new since 050110):

"amx_nameflood_maxwarnings" (default 0)
Set this to the amount of warnings that should be sent to an offender before he will be kickbanned. If this is 0 the kickban feature is completely disabled.
Ie set this to 5, and the fifth time an offender receives the "Stop flooding the server!" msg he will also get kickbanned.

"amx_nameflood_banminutes" (default 0)
This is the amount of minutes a name flooder should be banned for. 0 is permanent ban.

"amx_nameflood_useamxbans" (default 0)
Set to 1 to ban using "AMXBans", a plugin by YoMama. http://www.xs4all.nl/~yomama/amxbans/ or http://forums.alliedmods.net/showthread.php?t=1186
This bans currently with the following form in server console:
amx_ban <minutes> <steamid> "Name change flooding"
Attached Files
File Type: sma Get Plugin or Get Source (antiflood.sma - 3442 views - 5.9 KB)

Last edited by ConnorMcLeod; 03-24-2011 at 03:37. Reason: Removed engine module requirement (reset 2500 views)
Johnny got his gun is offline
 



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:01.


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