Private customers Business customers

Set up a Minecraft whitelistOnly let approved players onto your server

With a whitelist, you decide who may enter your Minecraft server - ideal for private groups and closed communities. This is how you enable and maintain the whitelist via the console or the configuration files - and here is what is new: since Minecraft 26.3, it is switched on from the start on fresh servers.

white-list=truewhitelist addNew since 26.3server.properties

Published on · last updated on

New since 26.3: whitelist on by default

With Minecraft 26.3, Mojang changed the default: a freshly generated server.properties now contains white-list=true. A new server therefore rejects everyone who has not been added, with the message You are not white-listed on this server!.

So add your players with whitelist add Name or switch the whitelist off on purpose. If you update an existing server, its previous value stays, because the line is already in the file.

Minecraft server hosting from €2.99 / month

Prepaid without a contract, DDoS protection up to 250 Gbit/⁠s.

Enable or disable the whitelist

The easiest way to enable the whitelist is via the server console in the panel:

whitelist on

Alternatively, set the value white-list=true in server.properties and restart the server. After that, only approved players can get onto the server. To switch it off, use whitelist off or white-list=false.

Add and remove players

You maintain players directly via the console:

  • whitelist add PlayerName - approve a player
  • whitelist remove PlayerName - revoke approval
  • whitelist list - show all approved players
  • whitelist reload - reload the list after manual editing

Internally, the entries are stored in the file whitelist.json. You can also edit it directly via WebFTP or SFTP - then run whitelist reload.

Whitelist and OPs

Operators can join even with the whitelist on, so they do not need a separate entry. Make yourself OP early, then you will not lock yourself out by accident. How to become OP is explained in our guide Become OP/admin.

For a public server without a whitelist, you protect yourself instead with DDoS protection, anti-cheat plugins and a sensible permissions concept.

Edit whitelist.json directly

The whitelist is stored as a JSON file in the server directory. For individual players, the in-game command is more convenient; for a larger group, the direct route via WebFTP or SFTP is worth it:

[
  {
    "uuid": "069a79f4-44e9-4726-a5be-fca90e38aaf5",
    "name": "Notch"
  }
]

What matters is the UUID, not the name. Minecraft identifies players by this ID - a name change does not change it. This is why an entry stays valid after a rename, while a name entered by hand without a matching UUID does not work.

So add players via /whitelist add where possible - the server then fetches the UUID itself. After direct changes to the file, reload the list with /whitelist reload; a server restart is not necessary.

When the whitelist does not take effect

Four causes cover practically all cases:

  1. The whitelist is not active at all. An entry in the list does nothing as long as it is not switched on. These are two separate steps.
  2. The server was not reloaded. After changes to the file, /whitelist reload is needed.
  3. Wrong spelling. Minecraft names must be copied exactly. A typo leads to an entry that belongs to nobody.
  4. Bedrock players on a crossplay server. They carry a prefix in their name, which has to be entered as well - see Set up crossplay.

If you have locked yourself out, you get back in via the server console in the web interface: there, you issue the command without being in the game.

Whitelist, password or open server?

Minecraft has no server password - the whitelist is the only built-in protection. In practice, this results in three modes of operation:

  • Whitelist on. The normal case for a fixed group. Nobody gets in whom you do not know - and you practically do not have to worry about griefing.
  • Open with protection plugins. For public servers. Then you need a permissions concept and protection against griefing, see Griefing protection.
  • Open with applications. A middle way: the whitelist stays on, new players apply via Discord and are added after a brief check. For growing communities, the best compromise between openness and control.

Regardless of that: backups remain your job. They are self-service with us throughout, via WebFTP or SFTP, see Create backups.

Frequently asked questions

Enter "whitelist add PlayerName" in the console. The name must match the Minecraft name exactly. With "whitelist list", you check who is currently approved.

No, a "whitelist reload" in the console is enough to read the file again. A restart is only needed if you change white-list in server.properties.

Yes. Operators may join even with the whitelist on. That protects you from locking yourself out.

Since Minecraft 26.3, white-list defaults to true on fresh servers. Add your players with whitelist add or switch the whitelist off with whitelist off.

Rent your own Minecraft server

Unlimited slots, 1-click modpacks, console, config editor and web file manager - from €2.99 / month, made in Germany.

View plans & prices

Minecraft server hosting

from €2.99 / month

Prepaid without a contract, DDoS protection up to 250 Gbit/⁠s, hosted in Frankfurt am Main.

Order now

View plans & prices

Read more


Discover more