Setup a Whitelist for your Minecraft Server
Since Minecraft doesn't have a password system, setting up a whitelist is a simple and effective way to limit your Minecraft server to players who you trust. It’ll prevent unauthorized users from connecting to your server and potentially damaging your world.
Java
Reload the Whitelist
When making changes to the whitelist, it's a good idea to reload it afterwards by using the following command.
In game:/whitelist reload
On console:whitelist reload
Turn on Whitelist
- Login to Command Center.
- From the server list, find the server you wish to modify, and click the Manage button on the right.
- From the server you selected, select the Console tab if you aren't already on the console page.
- Type:
whitelist on
into the console and then press enter.
Test the Whitelist
On your computer, start Minecraft and try to connect to your server. You should see, “You’re not whitelisted on the server!”
If you’re still able to join your server, you may need to manually turn on the white list:
- Login to Command Center.
- From the server list, find the server you wish to modify, and click the Manage button on the right.
- Click the Files tab above the console.
- Open
server.properties
. - Find the line containing
whitelist=
. - Change
false
totrue
. - Save the file.
- Restart your server.
Adding Players to the Whitelist
In your console, type: whitelist add playername
and press enter. Replace playername with the actual name of the player you wish to add to the white list.
whitelist add MinecraftPlayer123
Removing Players from the Whitelist
In your console, type: whitelist remove playername
and press enter. Replace playername with the actual name of the player you wish to remove from the white list.
whitelist remove MinecraftPlayer123
View Players in the Whitelist
In your console, type: whitelist list
and press enter.
Turn Off Whitelist
In your console type: whitelist off
and press enter.
Bedrock
Bedrock Minecraft also has a Whitelist system called Allowlist.
Turn on Allow List
- Login to Command Center.
- Navigate to the Files Tab and locate the server.properties.
- In your server.properties and change allow-list=false to true.
- Save and restart the server for it to take affect.
Adding Players to your Allow list
- In your Command Center console type in allowlist add PlayerName
- Test to make sure it added the player by typing in allowlist list.
Removing players from your Allow List
- In your Command Center console type in allowlist remove PlayerName.
- Test to make sure it removed the player by typing in allowlist list.
Turn Off Allow List
- Login to Command Center.
- Navigate to the Files Tab and locate the server.properties.
- In your server.properties and change allow-list=true to false.
- Save and restart the server for it to take affect.
Updated 10 months ago