Syrup Hosting

/

/

/

Use a whitelist / allowlist on your Minecraft server

Use a whitelist / allowlist on your Minecraft server

Applies to: All servers · All plans

A whitelist (called an “allowlist” in Bedrock) restricts who can join your server. Only players you explicitly add can connect. Everyone else is turned away.

When to use a whitelist

Use a whitelist if you’re running a private server for friends, a community with an application process, or if you want to prevent strangers from joining your server.

Whitelist console commands

In your server’s console, use the following commands to make changes to the whitelist.

 

CommandWhat it does
whitelist onEnables the whitelist
whitelist offDisables the whitelist
whitelist listLists the players that are on the whitelist
whitelist add <player>Adds a player to the whitelist
whitelist remove <player>Removes a player from the whitelist
whitelist reloadReloads the whitelist

Enable the whitelist

There are two ways to enable the whitelist: from the console, or manually using the File Manager.

Enable the whitelist using the console (recommended)

  1. Sign in to your Syrup dashboard and select your server.
  2. Open the console.
  3. Run whitelist on

You’ll see [INFO] Turned on the whitelist in the console.

Enable the whitelist manually

  1. Sign in to your Syrup dashboard and select your server.
  2. Open the File Manager.
  3. Click server.properties.
  4. Set white-list=true.
  5. Click Save File.
  6. Restart your server. See Start, stop, or restart your server.

Add players to the whitelist

  1. Sign in to your Syrup dashboard.
  2. Select your server and open the console.
  3. If your server is a Java server, run whitelist add <player>. If it’s Bedrock, run: allowlist add <GamerTag>.
  4. Run this in the console for each player. The player doesn’t need to be online.

Remove players from the whitelist

  1. Sign in to your Syrup dashboard.
  2. Select your server.
  3. In the console, run whitelist remove <player>

View the whitelist

  1. Sign in to your Syrup dashboard.
  2. Select your server.
  3. In the console, run whitelist list

Or, in the File Manager, open whitelist.json and view the whitelist.

Turn off the whitelist

There are two ways to turn off the whitelist: using the console, or manually using the File Manager.

Turn off the whitelist using the console

  1. Sign in to your Syrup dashboard.
  2. Select your server.
  3. In the console, run whitelist off

Turn off the whitelist manually

  1. Sign in to your Syrup dashboard and select your server.
  2. Open the File Manager.
  3. Click server.properties.
  4. Set white-list=false.
  5. Restart your server.

Common issues

ProblemFix
“You are not whitelisted on this server” for a player you addedMake sure whitelist is turned on and the username is spelled correctly. For Java, the player’s UUID matters. If they changed their username, remove and re-add them.
Whitelist isn’t enforced after enablingConfirm enforce-whitelist=true is set in server.properties (required on some versions to kick already-connected players)

 

Need personalized assistance?

Our senior support engineers are available 24/7 to help with complex infrastructure migrations and troubleshooting.