Minecraft | How to whitelist players on your server
The whitelist feature allows you to control who can access your Minecraft server. In this tutorial, we will guide you through the process of managing whitelists on your Minecraft server.
The terms white-list and enforce-whitelist refer to two different settings related to player access.
-
White-list- The white-list feature allows server administrators to control who can access the server. When the white-list is enabled, only players whose usernames are added to the white-list can join the server. It acts as a form of access control, ensuring that only approved players can connect. Other players attempting to join will be denied access. -
Enforce-Whitelist- Enforce-whitelist is a more strict version of the white-list feature. When enforce-whitelist is enabled, the server strictly enforces the white-list and automatically kicks any player who is not on the white-list. Essentially, it ensures that only whitelisted players can join, and it actively removes any unauthorized players who manage to connect to the server.
Enabling the white-list is useful for controlling access to your Minecraft server, allowing you to play with a select group of friends or only allow trusted players. However, by enabling enforce-whitelist, you add an extra layer of security, preventing any unauthorized players from remaining on the server even if they somehow manage to join initially.
- Text Editor
- Config Editor
- Stop the server from the Game panel.
- Go to the configuration files and click on the
Text Editorforserver.properties.

- Look for the line
enforce-whitelist=falseand change it toenforce-whitelist=true.

- Start the server.
- Stop the server from the Game panel.
- Go to the configuration files and click on the
Configuration Editorforserver.properties.

- Look for the line
Enforce Whitelistoption and change the drop down fromFalsetoTrue.

- Start the server.
- Click on the
Web Consolebutton. - Type
whitelist onand press Enter to activate the whitelist.

- To add a player to the whitelist, run the command
whitelist add playernamein the console. For example,whitelist addPlayerName. After entering the command, you will see a message statingPlayer added to whitelist. - To remove players from the whitelist, type
whitelist remove playernamein the console. For example,whitelist removePlayerName. Once the command is entered, you will receive a message sayingPlayer removed from whitelist.
Commands
These commands are entered directly into the console without the leading slash (/).
If you want to use these commands in-game, remember to include the slash (/).
whitelist on- Activates the whitelist.whitelist off- Disables the whitelist.whitelist addPlayerName- Adds a player to the whitelist.whitelist removePlayerName- Removes a player from the whitelist.whitelist list- Lists the players who have been added to the whitelist.
Take control of who can join your Minecraft server by managing the whitelist effectively using these steps and commands.