- Contributors:
- Htgan
This is a drag and drop, no complication, no configuration plugin. Use this on your hub server to stop bots as they join your server.
Check how well and how fast it works in my video here
To use this plugin you MUST have your IP's properly forwarded to your spigot server through the bungeecord.
Check the documentation on bungeecord config if you do not know how to properly forward the player IP's.
If you are not running a bungeecord, just drag and drop and the plugin will work.
What this plugin does:
Each time a different player joins on the same IP within 30 seconds of the first join, the IP address will be given 1 strike. When the IP reaches 5 strikes (configurable in the config), all players that joined on that IP will be banned and logged.
The IP address will also be banned and logged.
There is an option to disable the above behavior and to add your own console commands to the config instead.
You may also whitelist an IP address which allows unlimited joins of different players in any given period of time on that specific address.
Optionally you may also enable automatic whitelisting, which will always pick up and whitelist the IP of an OP or any player with the permission node "antibots.whitelist".
You may also enable the silent blacklisting feature, which silently logs an IP when it violates the amount of different playerjoins allowed as well as logging all violating players to a file. You can then, at any time, execute the command /ab banblacklist to ban every single bot that's been detected and recorded.
Command:
/antibots or /ab
/ab [whitelist/blacklist] [add/remove] <ip>
/ab banblacklist
Permissions:
antibots.whitelist - assigned to OP by default, this will grant immunity to the player and automatically add his IP to whitelist upon joining
antibots.command.whitelist - assigned to OP by default, this will allow you to perform /ab whitelist [add/remove] <ip>
antibots.command.blacklist - assigned to OP by default, this will allow you to perform /ab blacklist [add/remove] <ip> as well as /ab banblacklist
This plugin cannot defend you against proxied botters at its current state, I may add workaround for that in the future.
Config:
#This is the config for Antibots
#Please don't modify the version setting
version: 1.10
#Strikes given to any IP within a 30 second time frame (default is 5)
#The smaller the value, the more strict Antibots will be. Recommended range 3(most strict) - 10(least strict)
strikes: 5
#Use automatic whitelisting of specific players' IP's?
#Players who are OP or have the permission "antibots.whitelist" will automatically be granted immunity to Antibot
#Any subsequent logins on their IP will not be marked as suspicious nor will be banned.
auto-whitelist: true
#Enable silent blacklist? WARNING: THIS OPTION IS CURRENTLY UNAVAILABLE!!!
#Instead of banning a botter's IP and the players, blacklist the IP and await further instructions
#A blacklisted IP will not be banned, rather monitored, any account that has logged in with a blacklisted IP will be recorded
#"/antibots banblacklist" can be executed to ban every player who has ever joined on a blacklisted IP
#If "run-commands:" below is set to true, then the command specified after "onBanBot:" will be run for every player in the blacklist.
silent-blacklist: false
#Run console commands on banning of bots and IPs?
#Run specified console commands on banning of players/IPs
run-commands: false
#custom command you want to run on banning of IP, and command run on banning of each bot connected through that IP
#You do not need to type the / in front of the command, <name> and <ip> will be replaced with actual bot playername and IP
#Commands here must be valid commands that one of your other plugins provides
#Example onBanBot: "tempban <name> 12hours Banned for spam botting"
#Example onBanIP: "ipban <ip> spam botting"
onBanIP: "say You have enabled custom onBanIP command but not specified actual command"
onBanBot: "say goodbye <name> try botting somewhere else"
#Disable default banning
#It is highly recommended that you set this to "true" when you've assigned custom banning commands in the above option
#Or that you have enabled silent blacklisting
disable-default: false
Todo:
Kick/Ban proxied bots/IP's when they spam in chat.

AntiBots 1.21
Stops non-proxied spam bots before they can say "snickledumper".
Recent Updates
- Frozen log time bug fix. Dec 30, 2014
- Features and bugfixes. Dec 25, 2014
- Really, really fixed the part where it ignores same player relogging. Dec 23, 2014