EnderPanel Back to the website

Guides

How do you set up a whitelist on a Minecraft server?

Short answer

In the server console, run whitelist on, then whitelist add PlayerName for each friend. Only players on the list can join. EnderPanel has a guest list on the Players tab that does the same with a switch.

With commands

  1. whitelist on turns it on.
  2. whitelist add Name lets a player in; whitelist remove Name takes them off.
  3. whitelist list shows who's on it; whitelist reload rereads the file.

Type these in the server console without the slash, or in the game with a slash as an operator.

In the settings file

In server.properties, set white-list=true and enforce-whitelist=true (which removes anyone online who isn't on the list), then restart. The list itself lives in whitelist.json.

Why use one

Anyone with your address can try to join. A whitelist makes sure only your friends can, which matters most when your server is open to the internet.

Quick questions

Do Bedrock players work with a whitelist?

With Floodgate, yes, but their names usually start with a dot, like .Steve.

Does a whitelist stop griefing?

It stops strangers. For trusted friends you may still want backups.

I'm locked out of my own server.

Add yourself from the server console: whitelist add YourName.

Related guides