Back to Minecraft Bedrock
Games· Minecraft Bedrock

How to Enable and Configure a Whitelist on Your Minecraft Bedrock Server

Jesse K.
4 min readUpdated Nov 5, 2026

Learn how to turn on and manage the whitelist on your Minecraft Bedrock server so only approved players can join.

The whitelist feature lets you control exactly who can join your Minecraft Bedrock server. When the whitelist is turned on, only players you have approved will be able to connect. Everyone else will be blocked, even if they know your server address.

This is a great way to keep your server private, protect a community build, or run a server just for friends.

Before you start

  • You need an active Minecraft Bedrock server with RiverHosting.
  • Log in to the RiverHosting panel at panel.riverhosting.com and open your server.
  • You will need the gamertags of the players you want to allow. Gamertags are case-sensitive, so make sure you have the exact spelling.
  • Your server will need a brief restart for the whitelist setting to take effect.
Whitelist blocks all unlisted players

Once the whitelist is enabled, any player not on the list will be unable to join, including players who were previously connected. Make sure you add yourself and any trusted players before enabling it.

1. How to enable the whitelist

The whitelist setting for Minecraft Bedrock is controlled through your server's configuration file. You can update this using the File Manager in the RiverHosting panel.

  1. Log in to the RiverHosting panel and select your Minecraft Bedrock server.
  2. Click Files in the left-hand menu.
    Files in the server menu
  3. Find the file named server.properties in the root of your server files and click on it to open it.
  4. Look for the line that reads allow-list=false.
  5. Change it to allow-list=true.
  6. Click Save to apply the change.
  7. Restart your server using the Restart button so the new setting takes effect.
The Restart button on the Console page
Can't find the line?

Use your browser's find function (Ctrl+F or Cmd+F) while the file is open to search for allow-list quickly.

2. How to add players to the whitelist

Once the whitelist is enabled, you need to add players so they can join. There are two ways to do this: using the server console, or editing the whitelist file directly.

Option A: Using the console (recommended)

  1. Go to your server page in the RiverHosting panel.
  2. Click Console in the left-hand menu.
  3. In the command input box at the bottom, type the following command and press Enter:
allowlist add YourPlayerGamertag

Replace YourPlayerGamertag with the exact gamertag of the player you want to add. Repeat this step for each player you want to allow.

Example command

To add a player with the gamertag StevePlays99, you would type: allowlist add StevePlays99

Option B: Editing the whitelist file directly

  1. In the File Manager, look for a file called allowlist.json in the root of your server files.
  2. If the file does not exist yet, your server will create it automatically after the first allowlist add command is run, or after the first restart with the whitelist enabled.
  3. Open the file. It will look similar to this:
[
  {
    "ignoresPlayerLimit": false,
    "name": "StevePlays99"
  }
]
  1. To add another player, copy an existing entry block and change the name value to the new player's gamertag.
  2. Click Save when you are done.
  3. Restart your server or run allowlist reload in the console to apply the changes without a full restart.
Gamertag spelling matters

Minecraft Bedrock gamertags are case-sensitive. If the spelling or capitalisation is wrong, the player will not be able to join. Double-check each entry.

3. How to remove a player from the whitelist

If you want to remove someone from the whitelist, you can do this from the console.

  1. Open the Console from the left-hand menu.
  2. Type the following command and press Enter:
allowlist remove YourPlayerGamertag

Replace YourPlayerGamertag with the gamertag of the player you want to remove. They will no longer be able to join until they are added back.

4. How to turn the whitelist off

If you want to open your server to everyone again, you can disable the whitelist at any time.

  1. Go to File Manager and open server.properties.
  2. Find the line allow-list=true and change it back to allow-list=false.
  3. Click Save.
  4. Restart your server for the change to take effect.
Whitelist disabled

Once your server restarts with allow-list=false, all players will be able to join again, regardless of whether they are in the whitelist file.

Troubleshooting

  • A player is still being blocked after being added. Make sure the gamertag is spelled and capitalised exactly as it appears in their Minecraft profile. Run allowlist reload in the console, or restart the server.
  • The allowlist.json file is missing. Run any allowlist add command from the console and the file will be created automatically.
  • The whitelist does not seem to be working. Double-check that allow-list=true is saved correctly in server.properties and that the server was restarted after the change.
  • You accidentally locked yourself out. Disable the whitelist by setting allow-list=false in server.properties, restart the server to get back in, then re-enable it after adding your gamertag to the list.

Need help?

If you run into any issues setting up your whitelist, the RiverHosting support team is ready to help.

Contact support

Visit riverhosting.com/support to open a ticket or get in touch with us. We are happy to help you get your server configured exactly the way you want it.