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.
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.
Updated about 1 month ago