
You want only your friends on your Minecraft server. Or you just started a fresh server, and every friend who tries to join gets "You are not white-listed on this server!" while you get in fine. Both come down to the whitelist: a list of accounts that may join, stored in whitelist.json next to your world. This guide shows the commands for Java 26.3, the two settings in server.properties, how to add Bedrock players who join through Geyser and Floodgate, and the allowlist on a Bedrock Dedicated Server.
Quick answer: To whitelist people on a Minecraft Java server, type whitelist add PlayerName in the server console, or /whitelist add PlayerName in game as an operator. The player does not need to be online. Turn the list on with whitelist on, or set white-list=true in server.properties and restart. Since Java 26.3 (15 September 2026), a new server already starts with the whitelist on, so nobody except operators gets in until you add them. Bedrock players on a Geyser server have a dot in front of their name by default; add them with Floodgate's fwhitelist add Gamertag. A Bedrock Dedicated Server uses allowlist add Gamertag.
New 26.3 Servers Start With the Whitelist On
Under Server Properties, Mojang's 26.3 changelog has one line: "The white-list property is now true by default." A default only counts when the server writes server.properties from scratch: a brand new server, or one where someone deleted the file to start clean. A server you update from 26.2 or older keeps the white-list= line it already had.
On a fresh 26.3 server the list is empty, so everyone who is not an operator is turned away. Java operators can always connect while the whitelist is on, even when they are not on it (Minecraft Wiki). That is why the owner, who made themselves op first, gets in while friends do not. It looks like a network problem. It is a setting.
You have two ways out: add the people who play, or open the server with whitelist off. For a friends server the new default is the sensible one, so leave it on. Our 26.3 server update guide covers the other changes in that release.
Bedrock went the same way earlier. Since Bedrock 26.30 (16 June 2026), "Dedicated servers now have the allow list enabled by default in the server.properties", and the server prints a warning at startup when the list is on but empty.
How to Turn the Whitelist On
In the server console you type commands without a slash. In game, as an operator, you add the slash:
whitelist on
The server answers "Whitelist is now turned on". The other route is the file. Open server.properties, set white-list=true, add enforce-whitelist=true if online players who are not on the list should be kicked, then save and restart:
white-list=true
enforce-whitelist=true
white-list decides who can connect. enforce-whitelist (default false) decides what happens to players who are already online. PaperMC's spigot.yml reference lists when a player gets kicked with it on: when you remove them from the list, and when the whitelist is turned on while they are online. The Minecraft Wiki adds a reload of the file. With enforce-whitelist=false, a removed player keeps playing until they leave, and cannot come back.
Turning it on while your friends are already online? Add them all first with whitelist add @a. The command takes player selectors as well as names, so @a adds everyone who is connected right now.
On Space-Node, the game panel's console takes these commands as typed, and its Settings page shows server.properties as switches and fields, so you can flip white-list without editing text. Our server.properties generator writes the line for you as well.
How to Whitelist Someone on a Minecraft Server
Add each player by their Java name:
whitelist add Steve
whitelist add Alex
The player does not need to be online. On a server in online mode the name has to belong to a real Java account; the server looks it up and stores the account's UUID. The replies tell you what happened:
- "Added Steve to the whitelist": done.
- "Player is already whitelisted": nothing changed.
- "That player does not exist": the name was not found. Check the spelling. If the name starts with a dot, it is a Bedrock player; see the Floodgate section below.
In game, /whitelist needs permission level 3. Operators get level 4 by default (op-permission-level=4), so any op can manage the list. To make yourself op on a new server, run op YourName in the console. Our OP commands guide explains the levels.
Removing Players and the Other Commands
whitelist remove Griefer42
The server answers "Removed Griefer42 from the whitelist". With the default enforce-whitelist=false the player stays online, so follow up with kick Griefer42 if they need to go now. If they are also an operator, run deop Griefer42 too, because ops join regardless of the list.
All Java whitelist commands, as the 26.3 server answers them:
| Console command | What it does | Server reply |
|---|---|---|
whitelist on | Turns the whitelist on | Whitelist is now turned on |
whitelist off | Turns it off, anyone can join | Whitelist is now turned off |
whitelist add <name> | Adds a player, online or not | Added Steve to the whitelist |
whitelist remove <name> | Removes a player | Removed Steve from the whitelist |
whitelist list | Shows everyone on the list | There are N whitelisted player(s): ... |
whitelist reload | Rereads whitelist.json after a manual edit | Reloaded the whitelist |
The syntax has not changed in the 26.x releases; the only whitelist change in the command history for 26.x is the new default in 26.3.
The whitelist.json File
The list lives in whitelist.json in the server's main folder. Each entry has the account's UUID and name:
[
{
"uuid": "069a79f4-44e9-4726-a5be-fca90e38aaf5",
"name": "Notch"
},
{
"uuid": "853c80ef-3c37-49fd-aa49-938b674adae6",
"name": "jeb_"
}
]
Four things worth knowing:
- The server checks the UUID of a joining player, not the name (Minecraft Wiki). A player who changes their Java name keeps their spot.
- After a hand edit, run
whitelist reload. Changes made while the server runs do nothing until then. One missing comma or quote makes the file invalid JSON, so the commands are the safer way. - With
online-mode=false, the whitelist checks an offline UUID made from the username. The server does not verify accounts in that mode, so anyone who joins with a whitelisted name gets in. Keeponline-mode=trueon a server that players connect to directly. - Keep a copy with your world backups, so a move to a new server keeps the list.
Locked yourself out, or need the server open right now without console access? Open server.properties in the file manager or over SFTP, change white-list=true to white-list=false, save and restart.
Whitelisting Bedrock Players With Geyser and Floodgate
Bedrock players join a Java server through Geyser, and Floodgate lets them in without a Java account. Floodgate gives each of them a Java name with a prefix. Its default config.yml has:
username-prefix: "."
replace-spaces: true
So the gamertag "Steve Jobs" shows up on your server as .Steve_Jobs. The vanilla whitelist add looks names up as Java accounts, which is why it answers "That player does not exist" for a Bedrock player. Use Floodgate's own command instead (permission floodgate.command.fwhitelist):
fwhitelist add Steve
fwhitelist remove Steve
You leave out the prefix (Floodgate features). According to Geyser's FAQ, this works only if the player has joined any Geyser server before. If Floodgate answers "Unable to find user in our cache. Please try specifying their Floodgate UUID instead", add the player by UUID. Floodgate makes it from the player's Xbox XUID in hexadecimal: 00000000-0000-0000- followed by the 16 hex digits, split 4 and 12:
fwhitelist add 00000000-0000-0000-0009-01f64f65c7c3
Geyser's FAQ points to mcprofile.io to find a Floodgate player's UUID, and GeyserMC's maintainers suggest the same lookup in Floodgate issue 304, which is still open. The FAQ lists two more routes: turn the whitelist off, let the player join once, add their dotted name with /whitelist add, then turn it back on; or put the Floodgate UUID into whitelist.json and run whitelist reload. A Bedrock account linked to a Java account that is already whitelisted, through Floodgate's Local Linking, needs no entry of its own.
Every Space-Node Minecraft plan includes 3 port allocations, so Geyser can get a port of its own. Our Geyser and Floodgate setup guide covers the install.
Bedrock Dedicated Server: The Allowlist
A Bedrock Dedicated Server calls it the allowlist. The setting is allow-list in server.properties (on by default since 26.30), the file is allowlist.json, and the commands are:
allowlist add Steve
allowlist add "Steve Jobs"
allowlist remove Steve
allowlist list
allowlist reload
Put a gamertag with a space in double quotes. Three differences from Java catch people out:
onandoffare not implemented on Bedrock (Minecraft Wiki). Switch the list withallow-list=trueorfalseinserver.propertiesand restart.- Operators are not exempt. On Bedrock, ops must be on the allowlist too.
- The allowlist only works with
online-mode=true, where players sign in with their Xbox account.
An entry in allowlist.json needs only the gamertag; the server fills in the xuid itself. Set ignoresPlayerLimit to true to let that player in when the server is full (setup tutorial):
[
{
"ignoresPlayerLimit": false,
"name": "Steve"
}
]
Managing the Whitelist From a Bot or Web Tool
Since Java 1.21.9, the server has the Minecraft Server Management Protocol, and 26.3 ships version 3.1.0 of it. It is off by default (management-server-enabled=false). Switched on, a tool connects with the secret from management-server-secret and calls methods such as minecraft:allowlist/add, minecraft:allowlist/remove and minecraft:serversettings/use_allowlist/set. That suits a Discord bot or an application form that should add players without anyone typing in the console. management-server-host defaults to localhost, so only programs on the server itself can reach it until you change that.
When a Player Still Cannot Join
- "You are not white-listed on this server!" is the vanilla message. Paper, Spigot and Purpur show "You are not whitelisted on this server!", set in
spigot.ymlundermessages.whitelist. Either way, the account is not on the list. Runwhitelist listand check that you added the account they actually play on. - A Bedrock friend cannot join a Java server. Add them with
fwhitelist add, notwhitelist add. - You edited
whitelist.jsonby hand. Runwhitelist reload. - Strangers join although the whitelist is on. Check that
server.propertiessayswhite-list=trueand that you restarted after editing it. Then openops.json: every operator skips the Java whitelist. - A removed player is still online. That is
enforce-whitelist=false. Kick them, or set it totrue.
A whitelist decides who joins, not what they do once they are in. For that, combine it with permissions and a rollback plugin; our anti-grief plugin guide covers the usual set.
FAQ
How do I whitelist someone on a Minecraft server?
Run whitelist add TheirName in the server console, or /whitelist add TheirName in game as an op. Make sure the whitelist is on with whitelist on or white-list=true. They do not have to be online.
Why can't my friends join my new 26.3 server?
Since 26.3, a new server starts with white-list=true and an empty list. Operators still get in, which is why you can join and they cannot. Add them with whitelist add, or run whitelist off for an open server.
Do operators need to be on the whitelist? On Java, no: ops can always connect while the whitelist is on. On a Bedrock Dedicated Server, yes: ops must be on the allowlist like everyone else.
How do I whitelist a Bedrock player on a Java server?
With Geyser and Floodgate, use fwhitelist add Gamertag without the dot prefix. If Floodgate cannot find the player, add the Floodgate UUID built from their XUID instead.
Can I whitelist everyone who is online at once?
Yes. whitelist add @a adds every player connected at that moment. Run it before whitelist on so nobody online gets locked out.
What happens when a whitelisted player changes their name? Nothing. On an online-mode Java server, the whitelist matches the account's UUID, and the UUID stays the same when the name changes.
Sources
All opened on 1 November 2026:
- Mojang: Minecraft Java 26.3 changelog, Minecraft 26.30 Bedrock changelog, version manifest
- Minecraft Wiki: /whitelist, server.properties, whitelist.json, /op, Minecraft Server Management Protocol, Setting up a Bedrock Edition server
- Minecraft 26.3 English language file, as mirrored in InventivetalentDev/minecraft-assets (whitelist replies and the "not white-listed" message)
- PaperMC: spigot.yml reference
- GeyserMC: Geyser FAQ, Floodgate features, Floodgate commands, Floodgate default config.yml, Floodgate issue 304