PingByte

Managing players on your Minecraft server: whitelist, op and bans

Four commands cover almost everything: who can join, who has admin powers, and how to remove someone. Here is what each does, how to run them from your panel, and the one setting you should never change.

How to run these commands

Open your server's Overview tab and use the console. Type the command without the leading slash, for example whitelist add Steve. Players with operator status can also run them in-game with the slash.

Whitelist: only people you choose can join

A whitelist is the simplest way to keep a private server private.

Use the player's exact Minecraft username. Players who aren't on the list see "You are not white-listed on this server". The fix is simply adding them.

Op: give someone admin powers

Only op people you'd trust with the whole server, since operators can change the world, give themselves items and ban others. Don't op someone just so they can use one command. If you run a Paper server, a permissions plugin such as LuckPerms lets you give people only the specific powers they need. You can install it from the Plugins tab.

Kick and ban

Banned players see "You are banned from this server". If you ban someone by mistake, pardon fixes it immediately.

Never turn off online-mode

The online-mode setting in the Properties tab makes the server check each player's Minecraft account with Mojang. If you turn it off, anyone can join using any username, including yours or an operator's, and take that account's powers. Whitelists and ops are tied to usernames, so they stop meaning anything. If players tell you that turning it off fixes a "failed to verify username" error, the answer is to fix that player's login, not your server's security. See can't connect to your server.

Sharing the control panel instead

If a friend needs to help run the server itself, as opposed to just play on it, give them access in the Access tab. You invite them by email (they need a PingByte account), and they get the console, files, stats and SFTP, but never your billing or the ability to delete the server.

A sensible setup for a small private server

  1. Turn the whitelist on.
  2. Add each friend with whitelist add.
  3. Op only yourself, and one other person you trust.
  4. Leave online-mode on.
  5. Set a backup schedule in the Backups tab, so a mistake can be undone.

Want a server without the setup?

See Minecraft hosting