Minecraft whitelist command: how to whitelist players
To whitelist players on your Minecraft server, run whitelist add <name> in the Console tab for each player, for example whitelist add Steve, then run whitelist on. From then on only players on the list can join.
Turn the whitelist on and add players
- Open your server in the dashboard. It has to be running: if it says Sleeping, click Wake up, then Start. If it says Stopped, click Start.
- Go to the Console tab.
- Add each player, starting with yourself:
whitelist add Steve. - Run
whitelist on.
The whitelist works straight away, without a restart. Operators can always join, even when they aren’t on the list. You can type commands with or without the leading /: the Console drops it.
Whitelist commands
whitelist add Steveadds a player.whitelist remove Steveremoves a player.whitelist listshows who is on the list.whitelist onandwhitelist offturn the whitelist on and off.whitelist reloadreadswhitelist.jsonagain after you change it in the Files tab.
In game, operators use the same commands in chat with a /, for example /whitelist add Steve. See how to op someone.
Turn it on from the Configuration tab
- Go to the Configuration tab.
- Under Players & access, turn on Whitelist.
- Click Save changes, then Restart the server.
With Enforce whitelist on, players who aren’t on the list are kicked as soon as the whitelist is turned on or reloaded, or they are removed from it. Without it, they can stay until they leave.
Bedrock and cracked players
Bedrock players on your server have a dot before their name, for example .Steve. They, and players without a paid Minecraft account on a cracked server, are easiest to add after they have joined once: turn the whitelist off, let them join, then run whitelist add with their name exactly as it appears in game.
If a player can’t join
- They are told they aren’t whitelisted. Check
whitelist listand add them with their name exactly as it appears in game. - They are banned. See how to unban someone.
For other join problems, see how to join a Minecraft server.
Still stuck? Ask on Discord
The Minefort team and community are there. Tell us what you tried and someone will point you the right way.