View Single Post
Author Message
n0limit
Senior Member
Join Date: May 2009
Old 05-29-2009 , 12:37   [L4D] Votekick Autoban 1.3
Reply With Quote #1

Description
I run a public server and often griefers will be vote kicked and instantly return to continue griefing. This simple plugin solves this issue by automatically banning any player who is vote kicked for a short amount of time (by default, 5 minutes).

If there is demand, it could increase by powers of 2 each time the person is banned and returns.

Changelog
1.3 - Fixed error causing subsequent votekicks to not show name correctly.
1.2 - Added names of the players who vote kicked for auditing.
1.1 - Added sm_autoban_duration cvar and converted banning method to SourceBans compatible command.
1.0 - Initial version

CVARS
sm_autoban_duration - sets the amount of time the person is banned in minutes. 0 for permanent.

Thanks to Downtown1, I used a few snippets from his Ready-Up plugin.
Attached Files
File Type: sp Get Plugin or Get Source (votekickautoban.sp - 6076 views - 3.3 KB)

Last edited by n0limit; 06-05-2009 at 08:12. Reason: Updated to 1.3
n0limit is offline