๐
AdminJava โBedrock โ
/whitelist
Manage the list of players allowed onto the server.
๐ชจBedrock note: On Bedrock this is the allowlist (/allowlist), same idea.
Overview
What is the /whitelist command?
The /whitelist command controls the server's allow-list of players. When the whitelist is on, only listed players can join โ the simplest way to keep a server private to friends.
You turn it on/off, add and remove players, and reload the list, all in-game.
When to use it: Use /whitelist to make a server invite-only, allowing just the players you add.
At a glance
Syntax
Syntax
/whitelist <add|remove|on|off|list> [player]commandtargetcoordsvaluerequiredoptional
See it
What it does
โ
โ
Only listed players get in
Anatomy
Every part, explained
- 1
CommandRequired/whitelistManages the server's allow list.
- 2
ActionRequired<add|remove|on|off|list>Add, remove, toggle, or list entries.
- 3
PlayerOptional[player]Needed only for add and remove.
Your turn
Try it yourself
Playground
3 tokens ยท press Enter to run
Copy & paste
Examples
/whitelist add SteveAllow Steve to join.
/whitelist onTurn the whitelist on.
/whitelist listShow everyone on the whitelist.
Avoid these
Common mistakes
โ
/whitelist Steveโ
/whitelist add StevePick an action like add before the name.
โ
/whitelist on Steveโ
/whitelist on'on' just toggles it - no player needed.
Good to know
Frequently asked questions
- How do you whitelist a player in Minecraft?
- Run /whitelist add <player>, then /whitelist on to enforce it so only listed players can connect.
- How do you turn the whitelist on or off?
- Use /whitelist on to enforce it and /whitelist off to allow everyone again.
- How do you see who is whitelisted?
- Run /whitelist list to print every player currently on the allow-list.
Keep going