SpamX
Features
Have you ever had annoying spammers? Perhaps they got kicked from your server by another plugin but had a hack to keep logging back in? You banned a few of their accounts but they had a ton?
Fear no more. SpamX is the anti-spam plugin to end all anti-spam plugins.
They way it works is it has a configurable level defining what is spam(default 3 messages per second).
It can be configured via SpamX.yml which is located in the same folder as your craftbukkit.jar. Every time you cross that limit you get an offense. if you get too many offenses you are banned(default offense limit is 3. configurable by the same file).
If that annoying spam hack finds it's way onto your server just set the offense limit at 1 and watch the magic!
Added a log feature.
When a player is kicked it logs the time they were kicked(or banned), their ip address<sub> and the time.</sub>
Uses the file spamx.log which is located in the same directory as craftbukkit.jar
Commands
/xreload Reloads the config file.
/xoffense <player> Checks a players offense level.
/xsetoffense <player> <number> Set's the players offense level.
Permissions
SpamX.reload Grants the permission to use the /xreload command.
SpamX.checklevel Grants the permission to use the /xoffense command.
SpamX.setlevel Grants the permission to use /xsetoffense command.
SpamX.bypass Let's a user bypass the spam check.
Other
If you would like to browse the source click here for a github link.
@kevile
Alright it should be fixed.
Link Removed: http://www.mediafire.com/?4i72y75hnxor0a7
Temporary download link until bukkit approves the file.
Tell me if that fixes it. It should.
@kevile
Oh well thanks for reporting that problem.
I will fix it right now.
Wish me happy birthday(please?).
@7cardcha
Definitely giant for a normal lag spike, but pretty common if you're working on your server while there's people online and you issue a 'permissions reload' or similar command.
So i had it uninstalled but couldnt find a suitable replacement - my problem was that after the player was kicked, he could rejoin but would be immediately kicked as soon as sent another line of chat or a command. Is there a cooldown timer or something on this? Had him wait about 10 minutes but then he was kicked again, so i took the plugin off until i could get this woked out. I can deal with spamkicks on a plugin config reload or something like that as long as they aren't permanent.
Config looks like this atm:
@kevile
Yes that is a caveat I forgot to mention. Stupid lag spikes.
I don't really know what else to say. 3 messages/second is some pretty giant lag.
CB 2149 - happened after being run for about 8 hours, then after this error kicked a few people repeatedly until server reload
EDIT: this error is thrown every time someone is kicked. currently plugin is repeatedly kicking players who have not spammed. its possible there was a lag spike and the server recieved 3 messages from them in a short time. player that keeps being kicked rejoins, kicked again if he uses any command or speaks one line of text :\
@abcedea
Yes it should stop that very nicely.