Add Player to Whitelist
Whitelist a player so they can join the server. Run: `/whitelist add PlayerName`. Adds a player to the server whitelist. Whitelist must be enabled with /whitelist on (or white-list=true in server.properties). Related commands: /whitelist remove PlayerName, /whitelist list, /whitelist reload. Whitelisted players can join even when the server is in whitelist mode. Works on Java 26.2 and Bedrock 26.32. Last verified June 2026.
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026/whitelist add PlayerName- Java: yes
- Bedrock: yes
- Command block: no
- Needs cheats / OP: yes
How to use
- Ensure whitelist mode is on: /whitelist on.
- Run /whitelist add PlayerName.
- The player can now join. Use /whitelist list to see all whitelisted players.
Frequently asked questions
Does Add Player to Whitelist work on Bedrock Edition?
Yes -- the same command works on both Java 26.2 and Bedrock 26.32.
Do you need OP or cheats enabled to use Add Player to Whitelist?
Yes -- you need operator permissions (OP) on a server, or cheats enabled in your world settings (Java: open to LAN with cheats on; Bedrock: enable cheats in world settings).
Can Add Player to Whitelist be used in a command block?
No -- this command can only be run from the chat window, not from a command block.
Does Add Player to Whitelist work in multiplayer?
Yes -- the command works the same in multiplayer as in singleplayer. Operator permissions may be required depending on your server settings.
Related commands
Ban a Player from the Server
Permanently ban a player from your server
Give a Player OP
Grant operator permissions to a player
God Mode (Resistance + Regeneration)
Become nearly invincible
Set Gamemode to Creative
Switch yourself into Creative mode
Kill All Mobs
Instantly remove every mob from the world except players
Add Experience Levels
Give yourself XP levels for enchanting
Need something different?
Customize this command in the /execute builder — choose your own options and copy the result.
Learn more
📖Minecraft Commands Not Working -- How to Fix
Troubleshooting guide for Minecraft commands that show errors or do nothing -- covers cheats off, wrong edition, syntax errors, OP permissions, and version changes.