How to Whitelist Your Minecraft Server (Make It Private)
Want your server to be friends-only - no random players wandering in? That's exactly what a whitelist does: only usernames you've added are allowed to connect, and everyone else gets turned away at the door. It's the simplest way to lock down a private SMP, and it takes about a minute to set up.
whitelist on, then add each friend with whitelist add THEIRusername. Anyone not on the list gets "You are not white-listed on this server." Bedrock players are added with their prefix (like .Steve).What a whitelist does
With the whitelist on, the server checks every join against a list of allowed players. On the list? You're in. Not on it? You get "You are not white-listed on this server!" and can't connect. It's the cleanest way to keep a server private without a password or a plugin.
Step 1 - Turn the whitelist on
Open your server's console (on FreaksMC, the main page of your server) and type - no slash, since it's the console:
whitelist on
Add yourself first (or you'll lock yourself out!) The moment it's on, only whitelisted players can join. So add yourself and your friends before you log off.
Step 2 - Add your friends
Add each player by their exact username:
whitelist add Username
Do that once per friend. You can add people anytime, even while the server's running.
Step 3 - Bedrock / crossplay players
On a crossplay server (Geyser + Floodgate), Bedrock players' names have a prefix (a . by default) - so "Steve" is .Steve. Add them with it:
whitelist add .Steve
If a Bedrock friend keeps getting rejected, this is almost always why - double-check the exact name (with the .) in your player list.
Handy whitelist commands
| Command | What it does |
|---|---|
whitelist on / whitelist off |
Enable / disable the whitelist |
whitelist add <name> |
Allow a player |
whitelist remove <name> |
Remove a player |
whitelist list |
Show everyone on the list |
whitelist reload |
Reload after editing the file by hand |
Ops bypass the whitelist. Server operators (OPs) can always join, even when they're not on the whitelist - so you don't need to add yourself twice if you're already OP. It's still good practice to add yourself.
Editing the file directly (optional)
Prefer files over commands? The whitelist lives in whitelist.json in your server's root folder, and the on/off switch is white-list=true in server.properties. If you edit either by hand, run whitelist reload (or restart) so the change takes effect.
Private servers made easy
FreaksMC servers boot in about 60 seconds with a live console for whitelisting, OPing, and managing your friends-only world - plus real human support if you get stuck. Crossplay included.
See plans from $3/moQuick checklist
- Open your server console.
whitelist on- then immediately add yourself.whitelist add Usernamefor each friend (use the.prefix for Bedrock players).whitelist listto double-check everyone's on it.- Someone rejected? Confirm their exact name - that's the usual culprit.
A whitelist is the friendliest kind of bouncer - your crew walks right in, everyone else stays out. Pair it with OPing yourself and you've got full control of a private server.
Want a server that just runs fast?
FreaksMC runs on NVMe hardware with performance-tuned defaults baked in - pre-optimized Paper, sane view distances, and one-click world pre-generation. Set up in 60 seconds.
See plans from $3/mo