My server was bot attacked several times in a span of a few hours (because it was the top server), and Minehut's antibot plugins did nothing to prevent the bots from crashing the server.
With that said, i decided to create an antibot that will prevent such cases from repeating. Keep in mind that this script was created in a few minutes, and wasn't strictly tested so i can't grantee this will work against all kinds of bot attacks.
Features:
- Create a random Captcha per player, once he solved it he doesn't have to solve it again.
- Auto Kick after a minute if the Captcha isn't solved
- Creates another Captcha if the player joins again and he didn't complete the previous one
- The player cant move or chat or type any command that doesn't contain "hub" or "server"
Note - This script doesn't offer any customization because it wasn't originally created for others, i will add customization if requested enough
Code:
https://pastebin.com/CSc4ZsRD