What is OP in Minecraft?
An OP (operator) is a player with admin rights on a Minecraft Java server: they can use commands regular players cannot, such as /gamemode, /tp, /kick, /ban or /stop. Operators are stored in the ops.json file in the server's main folder and are added with the op command.
A few things worth knowing up front:
- OP means full trust. An operator at the default level 4 can stop the server, ban the owner and op someone else. Only give it to people you trust completely.
- The server console always has full permissions. You don't need OP in the game to manage the server – any command can be typed in the panel console.
- Operators can always join, even with the whitelist on, and they can build inside spawn protection.
- OP is not meant for ranks (moderator, VIP) – that's what a permissions plugin such as LuckPerms is for (more below).
How do you OP someone with a command?
Type op <name> in the server console, for example op Steve, and deop Steve to remove it. In the console you type commands without a slash, in the game chat with one (/op Steve) – but from chat it only works for a player who is already an operator at level 3 or higher.
| Console command | In game chat | What it does |
|---|---|---|
op Steve |
/op Steve |
Makes Steve an operator at the level set in op-permission-level |
deop Steve |
/deop Steve |
Removes OP |
op @a |
/op @a |
Ops every online player (usually a bad idea) |
When it works, the console replies Made Steve a server operator and the player sees a message in game. If the console says Nothing changed. The player already is an operator, they already have OP.
On a server with online-mode=true (original accounts only), the name must belong to a real Minecraft account, because the server saves its ID (UUID). Opping a player who has joined the server at least once is the most reliable way.
How do you OP yourself?
Join the server with your name, open the server console in the panel and type op your_name. You can't op yourself from inside the game unless you're already an operator – that's exactly what the console is for.
How do you give OP in the Spot.gg panel without commands?
In the "Console" tab, add a name in the "Operators" section with the "Add an operator" button, or click the shield icon next to a player in "Players online". The panel sends the op command to the server for you. The server has to be running.
Three places to do it on a Minecraft server at Spot.gg:
- "Console" → "Operators" – the full list of operators from
ops.json. "Add an operator" adds a new name, and every operator has "Revoke OP". - "Console" → "Players online" – next to each name there's a shield icon with the tooltip "Add as operator" (for operators: "Revoke operator permissions"). Operators have an "OP" badge in the list.
- "Players" tab – the players who joined the server or added it in their panel. Open the actions menu (three dots) next to a name and choose "Grant OP" or "Revoke OP". The panel asks for confirmation and reminds you that an operator can use all commands, including
/stopand/op.
What is the ops.json file?
ops.json is the operator list in the server's main folder: each entry has the player's UUID, name, permission level and whether they can join a full server. The op and deop commands add and remove entries for you, so you rarely need to edit it by hand.
[
{
"uuid": "069a79f4-44e9-4726-a5be-fca90e38aaf5",
"name": "Steve",
"level": 4,
"bypassesPlayerLimit": false
}
]
| Field | Meaning |
|---|---|
uuid |
The player's account ID – the server recognises operators by this, not by name |
name |
The player's name (for reference) |
level |
This operator's permission level, 1 to 4 |
bypassesPlayerLimit |
true – the operator can join even when the server is full (max-players), though they still count toward the limit |
Editing by hand makes sense when you want one operator at a different level than the rest, or want to let them join a full server:
- Stop the server – a running server overwrites
ops.jsonwhenever the list changes. - Open
ops.jsonin the "Files" tab and changelevelorbypassesPlayerLimit. Watch the commas and brackets: a JSON syntax error means the server won't load the list. - Start the server.
On a server without player authentication (see below), manual edits won't survive a start, because the hosting clears ops.json then.
What are the OP levels (op-permission-level)?
An operator's level is a number from 1 to 4: the higher it is, the more commands they get. By default /op grants level 4, which is everything, including /stop. Levels stack – a higher level includes everything below it.
| Level | Name | What the operator can do |
|---|---|---|
| 1 | Moderator | Build and break blocks inside spawn protection |
| 2 | Gamemaster | Gameplay commands such as /gamemode, /tp, /give, /time, /weather, /gamerule, plus command blocks |
| 3 | Admin | Player management: /kick, /ban, /pardon, /whitelist, /op, /deop |
| 4 | Owner | Everything, including server management: /stop, /save-all |
The default level for new operators is set by op-permission-level in server.properties (default 4). On Spot.gg you change it in "Configuration" → "server.properties" (type the name into the option search) and save with "Save changes". It takes effect after a restart.
Details that matter:
op-permission-levelonly applies to new grants. Operators already inops.jsonkeep theirlevel– to change it, deop and op them again after the restart, or editlevelin the file.- An operator at level 1 or 2 can't op others, because
/opneeds level 3. That's a good setup for a "helper" who can fly in creative and teleport but can't ban anyone. function-permission-level(default2) is a separate option – the permission level of data pack functions, not players.- On Paper, Spigot and Purpur operators also get plugin permissions marked as "for OP". For precise permission control use LuckPerms.
Why does OP disappear on a Spot.gg server?
On a server without player authentication – offline mode (online-mode=false) with no login plugin or mod – the hosting deliberately removes OP. It's a safeguard, not a bug: without authentication anyone can join under any name, including an operator's, and wreck the world with one command. Bots scan the internet for exactly these servers.
On such a server OP is removed in two ways:
- about every 5 minutes, every operator who is not online at that moment is automatically deopped – so OP only lasts while the player is on the server;
- on every start and restart (including automatic ones from a schedule), the operator list in
ops.jsonis cleared.
You can see the missing authentication right away: the panel's top bar shows a red open padlock ("No authentication"), and "Console" shows the warning "Anyone can join the server using someone else's nickname" with a "How to secure the server" button.
To keep OP permanently, pick one of these:
- Original accounts only. In "Configuration" → "Most popular", set "Who can join" to "Original accounts only" (
online-mode=true). Only players who own the game can join. Switching modes changes player UUIDs – the panel offers to convert accounts so players keep their inventories. - A login plugin or mod (you stay in offline mode). Install one from the "Addons" tab, for example AuthMe Reloaded or LibreLogin (Paper, Spigot, Purpur) or EasyAuth (Fabric, NeoForge). Players log in with a password when they join.
After the change, restart the server – the hosting checks authentication on start. The padlock switches to "The server is protected", and only then op people again. A disabled login plugin doesn't count. The Vanilla engine doesn't support plugins or mods, so there the only option is original accounts. For the full picture see the Minecraft offline-mode server guide.
Until the server is secured, manage it from the panel console – it always has full permissions and nobody can impersonate it.
How do you give permissions without full OP?
Install the LuckPerms permissions plugin and give players ranks with selected commands instead of OP. A moderator can then kick players but not stop the server, and a VIP gets just a few extra commands.
Example LuckPerms commands in the console:
| Command | What it does |
|---|---|
lp creategroup moderator |
Creates a "moderator" group |
lp group moderator permission set minecraft.command.kick true |
Lets the group use /kick |
lp user Steve parent add moderator |
Adds Steve to the group |
lp editor |
Opens the web permissions editor |
LuckPerms also comes as a mod for Fabric, Forge and NeoForge (LuckPerms for mods), and the whole setup is covered in How to set up LuckPerms. Note: LuckPerms permissions are tied to the UUID, and on an offline-mode server the UUID comes from the name – without a login plugin an impersonator gets the LuckPerms rank too. You need authentication whether you use OP or ranks.
FAQ
How do I OP someone in Minecraft?
Type op <name> in the server console (no slash). On Spot.gg you can also click "Add an operator" in "Console" → "Operators", or choose "Grant OP" next to the name in the "Players" tab.
How do I deop someone?
Type deop <name> in the console, or click "Revoke OP" next to the player in "Operators" or in the "Players" tab.
Why am I no longer an operator after a restart?
The server has no player authentication (offline mode without a login plugin), so the hosting clears the operator list on every start and removes OP from offline players. Switch to "Original accounts only" or install a login plugin, restart the server and op yourself again.
Can I give OP with limited permissions?
Yes. Set op-permission-level to a lower level before opping the player, or change that operator's level in ops.json while the server is stopped. For fine-grained control LuckPerms is the better tool.
Why doesn't /op work in game?
Only operators at level 3 or 4 can use /op from chat. If you don't have OP, give it to yourself in the server console – the console always has full permissions.