- House1234, Rob__FAntiSpamWhat is AntiSpam?
AntiSpam is a very small and simple plugin that will allow you to limit the effect that the Darkbot Minecraft spammer has on your server.
What is the Darkbot spammer?
The Darkbot spammer is a lot like pwnage (if you remember that). People who have multiple Minecraft accounts (usually stolen) can connect all of the accounts at once onto a server and then get them to say a message which does not get picked up by conventional anti-spam plugins.
The reason for conventional anti-spam plugins not picking up the spam is because each Minecraft account is only saying the message once, so individual accounts are not spamming. You usually end up with a chat filled up like this....
(Screenshot taken from our chat logging plugin)
The message at the top "!say you mad over a java block game?" is the spammer.
How does it work?
This plugin logs every message that is said in game and how many times it is said.I f the message is said more than 4 times in a minute (by default) it will prevent the message from being sent.
Every time the message is said the timer is reset so if they continue to try and spam the same message they will have to wait a minute (by default) from the last time the message is said.
It's really simple!
1. Stop the server
2. Put the AntiSpam.jar file into the plugins folder
3. Start the server
Configuring the plugin
1. Stop the server
2. Open the AntiSpam folder
3. Open the config.yml
4. Change the values
resetTimer - How often the timer should be reset for a message. Default is 60 seconds. (If the message has not been said for 60 seconds it will be removed from the list)
maxMessages - How many times a message is allowed to be said before it is marked as spam. Default is 4 times
5. Start the server
Thanks for reading! I hope this plugin helps you and your server out.
I would like to say thank you to Rob who helped me with the plugin and the spammer who came on my server at midnight and spammed my server which caused me to get spammed by a moderator to come on and fix it, really I appreciate it.
This is my first public plugin so if you have any issues let me know and I will correct them as soon as I can.