SpamProtect
Spam Protect - Bot Prevention system:
Version: v0.7
My Website: http://www.modembug.com
This plugin protects bukkit from bot spam attacks that can within minutes bring a server to its knees.
You can configure various parameters of this plugin in the config file that is generated the first time you run Bukkit with this plugin enabled.
This plugin uses a point system to handle spam. Please refer the the information below on how to adjust Spam Protect to your specifications.
CHECK OUT SPAMPROTECT IN ACTION HERE: http://youtu.be/2tCSrfNlduE
WANT THE ABILITY TO RESPOND TO SERVER PROBLEMS QUICKER THAN EVER? Check out our Server Administration plugin comX! http://www.modembug.com/comx
Cooldown: how quickly points decrease in seconds.
Threshold: how many points until the users IP is temp banned.
Sentence: how long the IP is banned
RepeatSpam: how many points are added for repeated messages.
IgnoreOP: if set to 1 will ignore a spammer if they are OP.
CommandCheck: if set to 1 will enable command checker.
IPFilter: if set to 1 will enable filtering of IP addresses.
IPSpam: how many points are added for messages containing IP addresses.
Features:
- Easily configured.
- Light weight.
- Permissions
Permissions:
- regx.* disables all spam protections for players with this permission.
- regx.opChat disables chat protection for players with this permission.
- regx.opCommand disables chat protection for players with this permission.
- regx.opIPfilter disables IP address filter in messages.
Changelog:
- Version 0.7
- Bugfix in IP filtering that would apply points to all messages.
- Version 0.6
- Added IP Address filtering.
- Added scoring based on IP Address found in message.
- Version 0.5
- Added Permissions
- Added ability to turn on/off command checker.
- Removed old commented code.
- Version 0.4
- Added Command spam check.
- Version 0.3
- Corrected player name in bukkit log.
- Added ignore OP as option.
- Added check for repeat spam.
- Version 0.2
- Corrected IP address formatting so that users that are kicked stay kicked for configured amount of time.
- Version 0.1
- Initial public release.
Please make a code line (config.yml) to translate reason msg why player was kicked
Builds .03 and .04 work fine with CraftBukkit 1.3.1! Cheers!
D3voo are there any errors when you run the commands? Ill add an option to disable comand checking. Please try version.03 for now as it does not use command checking.
there is a problem with the plugin, it affects [ survival games plugin ]
another me or the players can do [ survival games plugin ] commands !!
@Aangiix3
These are excellent suggestions.
1. The temp ban function of this system is to prevent flood bots from taking a server offline with flood attacks. When Spam Protect bans the users IP for a set amount of time it also prevents more bots from connecting and adding to the attack. Simply adding a message would still allow the server to get flooded with bot acccounts.
2. I will add an anti caps lock function in Spam Protect .05 probably later this week or next week.
3. I will look into adding Configurable Messages while keeping the variables intact.
Ideas:
- Instead of kicking, just a warning message like "You have to wait 1 second"
- Anti CapsLock (Caps Lock Text gets written in normal text)
- Configurable Messages
@samrg472
Hi samrg472,
Sorry for the delay in the update. SpamProtect now looks at all commands being passed to Bukkit in the same manner as messages. I hope this helps!
Cheers!
@samrg472
I have been away for a while due to just having a new baby boy, and a new job. I will be adding this functionality in the very near future to SpamProtect.
Stay Tuned!
Will this support a feature to prevent command spamming? Such as /me and /msg?
@drdeft
What other chat type plugins are you running (include versions)
SpamProtect v.03.
CraftBukkit++ build 254 (51 plugins without conflicts and errors).
2012-06-18 04:01:24 [SEVERE] Could not pass event PlayerChatEvent to Spam Protect
java.lang.NullPointerException
at com.modembug.playerListener.onPlayerChat(playerListener.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:461)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:786)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:106)
at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:172)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:92)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:625)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:506)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
@cuddyier
So you want it to detect when people spam commands like toomanyitems etc?
@M1sT3rM4n
I am working on it slowly, I just want to make sure this plugin remains easy to use and light weight :D
@BONNe1704
I am working on a decent algorithm for this. However for the time being modembug.com uses LANG (http://dev.bukkit.org/server-mods/lang/)which is another of my plugins, sometimes its funny to change 25565 to like 25564 or something like that... is really trips up the bots!
Can you add a command spam blocker to this? I use a global chat system via /s and people just spam /s instead.
I'll be switching to this from another spamguard plugin, but have yet to see someone unify all of the anti-chat spam features such as the ones BONNe said.
Could you add - AntiLink and AntiIP spam? So users cannot write in chat domens and IP?
@TheOneWhoOwns
You asked, I delivered! :) You can set IgnoreOP to 1 to have it bypass users who have OP status. Also I added a check for repeat message spam (Pwnage, etc.)
@Modembug
Permission to spam...
Please make it so OP's can spam ( Default )