Minecraft whitelist, ops and permission levels
How white-list and enforce-whitelist really work on 26.3, the whitelist and op commands, permission levels, and a LuckPerms starter for Paper.
Quick answer On Java 26.3 and later,
white-listdefaults totrue, so a brand-new server turns away everyone who is not an op, and a new server has no ops [1][2].enforce-whitelistis a different, smaller setting: it defaults tofalseand only decides whether unlisted players who are already online get kicked when the list reloads [1]. To get your first player in, typewhitelist add YourNameorop YourNamein the server console. The whitelist decides who can log in.ops.jsonand any permissions plugin decide what they can type once they are in.
An earlier version of this post had white-list and enforce-whitelist backwards, and said the second was on by default. Neither was true. This is the corrected version, checked against the wiki and Mojang’s own 26.3 notes on 2026-11-17.
Why a new 26.3 server says “You are not white-listed”
Before 26.3, a fresh server.properties shipped with white-list=false. The 26.3 snapshot 2 changelog lists one server-property change: “The white-list property is now true by default” [2]. So a world you just created on a host, with an empty whitelist and nobody opped, rejects all of your friends with this text from the game’s own language file: You are not white-listed on this server! [9]. The hyphen is real.
What about a server you already had? The wiki says the properties file is rewritten on every start, existing values are copied from it, and only missing or invalid keys get defaults [1]. By that rule a file that already contains white-list=false keeps it. We have not upgraded a real 26.2 server to watch it happen, and Mojang’s article only states the new default. Open your file after the update and read the line.
The two settings people mix up
| Setting | Default (26.3) | What it does |
|---|---|---|
white-list |
true |
Turns the whitelist on. With it on, anyone not on the list cannot connect [1]. |
enforce-whitelist |
false |
When both this and the whitelist are on, players not on the list are kicked after the server reloads the whitelist file. At false, unlisted players already online stay [1]. |
Our pick for a private server: leave white-list=true and set enforce-whitelist=true. Removing someone then actually removes them, instead of waiting until they happen to disconnect. Both settings need a restart to change, because the file is only read on startup [1]. The rest of the file is in server.properties, explained setting by setting.
The commands, with the messages you should see
All of these need permission level 3 on Java [4]. The right-hand column is message text from the 26.3 server jar’s language file, so it is what the game is built to say, not a capture from one of our consoles [9].
| You type | You should see |
|---|---|
whitelist add Steve |
Added Steve to the whitelist |
whitelist add Steve (again) |
Player is already whitelisted |
whitelist add with a name that does not exist |
Probably That player does not exist, the jar’s text for an unknown player argument (not tried) |
whitelist remove Steve |
Removed Steve from the whitelist |
whitelist list |
There are 2 whitelisted player(s): Alex, Steve or There are no whitelisted players |
whitelist off / whitelist on |
Whitelist is now turned off / Whitelist is now turned on |
whitelist reload |
Reloaded the whitelist |
Need a friend to hop on for ten minutes? whitelist off, then whitelist on when they leave. While it is off, anyone with your address can join. The target does not need to be online for add or remove [4]. After editing whitelist.json by hand while the server runs, whitelist reload is required for the change to take effect [3].
Removing a player who is online, with enforce-whitelist=false, does not kick them [1]. With it true, the kick comes after the reload [1]. The wiki ties the kick to a reload, so for “get this person out now” run whitelist remove Steve, then whitelist reload. We have not tested whether remove alone already kicks.
Worked example: a private server for four friends
- Start the server once so
server.propertiesexists. Confirmwhite-list=true. - In the console:
op YourName. Ops are automatically whitelisted, so you can join [1][3]. - Add the others from the console:
whitelist add Alex,whitelist add Sam,whitelist add Jo. Each should answerAdded ... to the whitelist. - Set
enforce-whitelist=trueand restart if you want removals to kick. - Look at
whitelist.json. It is a JSON list of objects with auuidand aname[3]:
[
{ "uuid": "00000000-0000-0000-0000-000000000000", "name": "Alex" }
]
That block is an example, your UUIDs will differ. In the file manager you should see one object per player you added, the UUIDs in hyphenated form, the whole thing wrapped in square brackets.
Ops and permission levels
Operator status lives in ops.json. Each entry has uuid, name, level and bypassesPlayerLimit; level defaults to op-permission-level, which itself defaults to 4 [1][3]. /op adds the player at that level [6], and /deop removes them [7].
Levels are cumulative. The wiki’s permission-level page describes them like this [5]:
| Level | What it adds |
|---|---|
| 1 | Bypass spawn protection |
| 2 | More commands, command blocks |
| 3 | Commands for multiplayer management |
| 4 | All commands, including server management |
The practical point: /whitelist and /op sit at level 3 [4][6], while save-all is listed at level 4 [8]. A helper you trust to let friends in does not need 4. Edit their level in ops.json to 3 while the server is stopped. Lowering op-permission-level to 2 or below only affects ops you add afterwards, because each ops.json entry stores its own level. Those new ops cannot run /whitelist in-game. We found no reload command for ops.json on the pages we read, so treat hand edits as needing a restart.
Ops are also the people the whitelist never blocks. On Java, operators can connect even when they are not on the list, the opposite of Bedrock, where players must be whitelisted regardless of operator status [3][4].
When ops are too blunt: a LuckPerms starter for Paper
Vanilla ops are four rungs and nothing in between. If you want a “mod” who can ban but not give items, you need a permissions plugin on a plugin server such as Paper, and LuckPerms is the common one. These commands come from the LuckPerms usage guide [10]. Run them in the server console:
lp user YourName permission set luckperms.* true
lp creategroup mod
lp group mod permission set minecraft.command.ban true
lp user Alex parent add mod
The first line is the bootstrap: nobody has access to LuckPerms commands when it is first installed, so you grant yourself everything under luckperms. from the console [10]. The guide uses minecraft.command.ban as its example node, so look up the node for each command you actually want to hand out before copying it. We have not checked how LuckPerms groups interact with an existing ops.json entry. Test with a throwaway account first.
Why a whitelisted player is still turned away
| Symptom | Likely cause |
|---|---|
| Everyone is rejected on a new server | white-list=true and an empty list. Add players or an op from the console. |
Rejected after you set online-mode=false |
With online mode off, the whitelist checks the offline UUID made from the username [3]. Entries you added while online mode was on carry Mojang UUIDs, so they should no longer match. Re-add them. |
| Rejected on a backend behind a proxy | Paper’s Velocity guide has you turn online-mode off on the backend, and says Velocity forwards player information such as UUIDs to it [11]. With forwarding configured the backend should see real UUIDs. Without it, expect the offline-UUID problem above. We have not tested a proxied setup. |
You edited whitelist.json and nothing changed |
Run whitelist reload [3]. |
| The whole list vanished after a restart | See the next section. |
If the whole list vanishes after a restart
Open whitelist.json first: it must be a JSON list that starts with [ [3]. If a script, plugin or panel add-on saved it as a JSON object instead (entries keyed "0", "2" and so on, starting with {), the server cannot read it as a list and you will see an empty whitelist, with every player rejected. The same shape of damage can hit ops.json and the ban lists. Rewrite the file as a list, then run whitelist reload.
Bedrock is its own system
Bedrock uses allowlist.json and a different permission model [3][5]. Whether Bedrock players joining a Java server through Geyser need a whitelist entry, and in what form, we did not verify for this post, so we will not guess.
Questions people ask
Why can nobody join my new Minecraft server?
On Java 26.3 and later a fresh server.properties has white-list=true, and a fresh server has no ops, so nobody is allowed in. Run whitelist add <name> or op <name> in the server console, or set white-list=false and restart.
Does my existing server turn its whitelist on when I update to 26.3?
By the wiki's description of how server.properties is regenerated, existing values are copied and only missing keys get defaults, so a file that already says white-list=false should stay false. We did not upgrade a real 26.2 server to confirm it, so check the line after updating.
What does enforce-whitelist do?
It defaults to false. When it and the whitelist are both on, players who are not on the list are kicked after the server reloads the whitelist. It does not switch the whitelist on.
Do operators need to be on the whitelist?
Not on Java Edition, where ops are automatically whitelisted. Bedrock Edition differs: every player has to be on the list whether or not they are an operator.
Sources
- Server.properties (Minecraft Wiki)
- Minecraft Java Edition 26.3 Snapshot 2 (minecraft.net)
- Server: whitelist and operator list (Minecraft Wiki)
- Commands/whitelist (Minecraft Wiki)
- Permission level (Minecraft Wiki)
- Commands/op (Minecraft Wiki)
- Commands/deop (Minecraft Wiki)
- Commands/save (Minecraft Wiki)
- Minecraft 26.3 server.jar, assets/minecraft/lang/en_us.json (Mojang)
- LuckPerms wiki: Usage
- PaperMC docs: Velocity player information forwarding