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

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.
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.
- Log in to the RiverHosting panel and select your Minecraft Bedrock server.
- Click Files in the left-hand menu.

- Find the file named
server.propertiesin the root of your server files and click on it to open it. - Look for the line that reads
allow-list=false. - Change it to
allow-list=true. - Click Save to apply the change.
- Restart your server using the Restart button so the new setting takes effect.

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)
- Go to your server page in the RiverHosting panel.
- Click Console in the left-hand menu.
- In the command input box at the bottom, type the following command and press Enter:
allowlist add YourPlayerGamertagReplace YourPlayerGamertag with the exact gamertag of the player you want to add. Repeat this step for each player you want to allow.
To add a player with the gamertag StevePlays99, you would type: allowlist add StevePlays99
Option B: Editing the whitelist file directly
- In the File Manager, look for a file called
allowlist.jsonin the root of your server files. - If the file does not exist yet, your server will create it automatically after the first
allowlist addcommand is run, or after the first restart with the whitelist enabled. - Open the file. It will look similar to this:
[
{
"ignoresPlayerLimit": false,
"name": "StevePlays99"
}
]- To add another player, copy an existing entry block and change the
namevalue to the new player's gamertag. - Click Save when you are done.
- Restart your server or run
allowlist reloadin the console to apply the changes without a full restart.
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.
- Open the Console from the left-hand menu.
- Type the following command and press Enter:
allowlist remove YourPlayerGamertagReplace 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.
- Go to File Manager and open
server.properties. - Find the line
allow-list=trueand change it back toallow-list=false. - Click Save.
- Restart your server for the change to take effect.
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 reloadin the console, or restart the server. - The allowlist.json file is missing. Run any
allowlist addcommand from the console and the file will be created automatically. - The whitelist does not seem to be working. Double-check that
allow-list=trueis saved correctly inserver.propertiesand that the server was restarted after the change. - You accidentally locked yourself out. Disable the whitelist by setting
allow-list=falseinserver.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.
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.