A whitelist is a feature in Minecraft that allows server administrators to create a list of players who are allowed to enter the server, while other players are denied. It is used to keep out unwanted players and allow those who have been approved by the server operator.
Enable the whitelist in the dashboard (recommended)
The easiest way to enable the whitelist is the Players page of your server's dashboard. Every change is sent to the console as a command immediately.
-
Open the players page
Open your server's dashboard and click Players in the left sidebar. -
Add players
Click Add player, enter the Minecraft name, choose Allowlist under Where to? and confirm with the button below it. It is best to add yourself first. Players who have been on your server before can also be added via Add to Allowlist in the … menu of the player list. -
Turn on the allowlist
On the Allowlist card, turn on the Allowlist on switch. From now on, only players on the list can join.
To learn how to remove players again and what else the page can do, see Manage players.
Enable the whitelist by command
Alternatively, you can enable the whitelist by command. For this you need access to the server console or OP rights in the in-game chat, as well as the name of the player you want to add to the whitelist.
-
Open console or chat
Open the server console if you have direct access, or the in-game chat if you are connected via the game. -
Activate whitelist
In the server console or in-game chat, enter the command to activate the whitelist. The command is:/whitelist on -
Add player
In the server console or in-game chat, enter the command to add someone to the whitelist. The command is:/whitelist add player nameReplace
player namewith the name of the player you want to add to the whitelist. -
Confirm command
Press "Enter" or click on the button to execute the command.
