A Minecraft server security checklist

By Kosy · · 1 min read

Most server problems come from a few easy mistakes. Go through this list once.

  1. Keep online-mode=true. It checks players against Mojang. Turning it off lets anyone join under any name, including yours.
  2. Use the whitelist on private servers: how.
  3. Op very few people. An operator can run any command. Use permissions (LuckPerms) for helpers.
  4. Update the server and plugins. Old versions have known holes: update safely.
  5. Update Log4j-era plugins and remove abandoned ones.
  6. Back up often and keep copies away from the server: backups.
  7. Do not share the control panel login. Add helpers with their own accounts and roles.
  8. Turn on two-factor sign-in for your hosting account.
  9. Use SFTP with keys or tokens, not shared passwords: SFTP.
  10. Install only plugins you need, from trusted sources such as Modrinth, Hangar or SpigotMC.
  11. Log activity with CoreProtect so you can see and undo griefing.
  12. Know how to stop a raid: ban players, IP ban and close for maintenance.

Behind a proxy

If you run a network with Velocity, keep the backend servers unreachable from the internet and use the forwarding secret. See networks with Velocity.

Hosting helps

A host handles the network layer, backups and firewalls for you. Read what hosting is.

More to read