Anti-bot and bot protection
What a bot attack looks like, why it is dangerous, what protection levels exist, and what the hosting does versus what the owner must do.
Updated August 13, 2026
A bot attack is a flood of fake connections: the server spends resources on login, authentication and spawning, and stops responding to real players.
What it looks like
- Hundreds of join and quit lines per second with different nicknames in the log.
- Nicknames follow a pattern: same length, random letters.
- Player count jumps, TPS drops, players get kicked.
Protection layers
- Network. Junk packet filtering and connection limits are handled on the hosting side. Millida keeps this on the edge nodes, before your container.
- Anti-bot plugin. Checks behavior at login: connection rate, repeated nicknames, movement before authentication. Popular solutions work together with an authentication plugin.
- Whitelist. Drastic and instant:
white-list=truefor the duration of the attack — Whitelist.
Configuring the anti-bot
Key settings: connections per second limit, per-IP limit, the action on trigger (kick or temporary ban), and "warm-up" — how many seconds after joining a player is considered suspicious.
Settings that are too strict cut off real players after a restart, when everyone joins at once. Test your thresholds during a real rush.
On a server with nickname login
Offline mode is the main magnet for bots: no account required. Pairing AuthMe with an anti-bot is mandatory.
What won't help
Changing the port and hiding the address. A server address is public by definition: it appears in monitorings — Monitorings.
