Skip to content
Hosting · Protection and moderation

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

  1. Two-factor login in game. 2FA plugins require a code when logging in from a new IP for players with permissions.
  2. IP restriction: admin rights only apply from known addresses. Configure it with contexts — LuckPerms: contexts — or a dedicated plugin.
  3. 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.
  4. No OP — Moderator permissions.
  5. 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

  1. Remove permissions from the suspicious account immediately.
  2. Check what it managed to do: command logs and CoreProtect.
  3. Roll back the changes.
  4. Change the passwords for all services — Account security.
  5. 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