Protecting staff accounts
How not to lose a server through a moderator: in-game 2FA, IP restrictions, permission revocation, and what to do if hacked.
Updated August 13, 2026
The most common way to lose a server is not a hosting breach, but a compromised moderator account.
Measures
- Two-factor login in game. 2FA plugins require a code when logging in from a new IP for players with permissions.
- IP restriction: admin rights only apply from known addresses. Configure it with contexts — LuckPerms: contexts — or a dedicated plugin.
- Unique passwords on a server with nickname login: a moderator's password must not match the one they use in game on other projects — AuthMe.
- No OP — Moderator permissions.
- Permission review once a month — Permission audit.
Signs of compromise
- A moderator logging in at an unusual time from a new IP.
- Commands granting items or permissions in the log — Chat and command logs.
- Permission changes that nobody made.
What to do
- Remove permissions from the suspicious account immediately.
- Check what it managed to do: command logs and CoreProtect.
- Roll back the changes.
- Change the passwords for all services — Account security.
- Find out how they gained access: password, session, social engineering.
Notifications
Set up an alert in a private channel when a player with admin rights logs in: you will learn about a breach in minutes, not hours — Monitoring and alerts.
Minecraft hostingYour server runs while you are offlineCreate server
