BotGuard is a small Spigot/Paper plugin for whitelist servers that still get noisy scanner traffic. It scores suspicious login attempts, bans obvious bot IPs, and keeps a simple login history so admins can see which players use which addresses.
- nickname pattern scoring, for names like
Test379455orPlayer123456; - automatic IP ban when the score reaches the configured threshold;
- login history by player name and IP address;
- OP/admin alert when a whitelisted player logs in from a new IP;
- commands for checking recent logins, shared IPs, and suspicious accounts;
- plain YAML storage, no database setup required.
Open the folder in IntelliJ IDEA as a Maven project, or build it from PowerShell:
powershell -NoProfile -ExecutionPolicy Bypass -File .\build.ps1The jar will be created here:
target/BotGuard-1.0.0.jar
- Build the jar.
- Put
target/BotGuard-1.0.0.jarinto the serverpluginsfolder. - Start the server once.
- Edit
plugins/BotGuard/config.yml. - Run
/botguard reload.
/botguard reload
/botguard test <nick> [ip]
/botguard player <nick>
/botguard ip <ip>
/botguard recent
/botguard suspicious
/botguard stats
/botguard pardonip <ip>
Permission: botguard.admin (op by default).