The Minecraft whitelist is an option to protect your game server by allowing only selected players on the list to connect. By default, Minecraft does not offer a server password option like other games.
To enable the whitelist, set the command value in the server.properties config file to true. A server restart is required for the change to take effect.
white-list=true
Alternatively, the whitelist option can be enabled in-game or via the Console tab:
/whitelist on (Enable whitelist)
/whitelist off (Disable whitelist)
Operator rights are required to enable the whitelist in-game! Otherwise, you can also do this via the Console tab in the game server dashboard. Note that commands there must be entered without the / symbol.
Chat
You can add or remove players from the whitelist using the following commands:
/whitelist add PlayerName
/whitelist remove PlayerName
white-list.json
If the player's UUID is known, the player can also be manually added via the white-list.json file. You can access and edit this file via FTP. Instructions for FTP access can be found here: Access via FTP
[
{
"uuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "Player1"
},
{
"uuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "Player2"
},
{
"uuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "Player3"
}
]
If you add players manually, you need to reload the whitelist in-game. This can also be done by command to avoid restarting the server:
/whitelist reload
If you don't want to open the whitelist file via FTP every time, you can display all players on the whitelist with the following command:
/whitelist list