How to Enable Whitelist Mode
Lock your server down to a trusted list of players in two commands.
Introduction
Whitelist mode blocks everyone except players you've explicitly added. It's the simplest way to keep a private server private.
Enable the Whitelist
- 1Open the panel ā Console tab
- 2Type
whitelist onand press Enter - 3Console prints:
Whitelist is now turned on
Strangers now get a "You are not whitelisted on this server" message.
Add Players
- Per player:
whitelist add UsernameHere - Check the list:
whitelist list - Remove someone:
whitelist remove UsernameHere - Force refresh:
whitelist reload
Edit the File Directly
- 1Open File Manager ā
whitelist.json - 2Add entries:
[
{ "uuid": "uuid-1", "name": "PlayerOne" },
{ "uuid": "uuid-2", "name": "PlayerTwo" }
]- 1Save ā run
whitelist reloadin console
Tip: Combine whitelist with a custom MOTD that says "Private server, request access in Discord."
Turn It Off
- Run
whitelist offin console - Or remove
white-list=truefromserver.properties
Warning: Whitelist is bypassed by anyone with OP. Don't OP people you don't fully trust.
Need More Help?
Whitelist not blocking joins? Make sure enforce-whitelist=true is also set. Help on Discord.
Was this helpful?
Your feedback helps us write better guides.
Related Articles
More from Minecraft Hosting.
How to Start Your First Minecraft Server
From empty panel to a joinable world in under two minutes.
How to Install Plugins on Your Server
Bukkit, Spigot, and Paper plugins, installed and loaded the right way.
How to Install a Modpack (Forge / Fabric)
CurseForge and Modrinth modpacks, installed straight from the panel.
Still need help?
Our team is on Discord around the clock. Real humans, real answers.