How to give yourself operator (OP)
What OP gives you, how to grant and revoke it via the console, how it differs from plugin permissions, and why you should not give it to players.
Updated August 13, 2026
Operator is a built-in Minecraft access level. It grants all vanilla commands: /gamemode, /give, /tp, /stop and the rest.
Granting
In the panel console, without a slash:
op YourNick
The nickname is case-sensitive only on servers with nickname login; on a premium account the server matches by UUID itself. In game, the command is written with a slash and requires an existing OP.
Revoke:
deop Nick
The list of operators is stored in ops.json — ops.json and other lists.
OP levels
op-permission-level in server.properties sets exactly what an operator can do:
| Level | Access |
|---|---|
| 1 | Spawn protection bypass |
| 2 | Commands like /gamemode, command blocks |
| 3 | Kick, ban, whitelist |
| 4 | Everything, including /stop |
The default is 4.
OP and permissions plugins
OP overrides almost any permission check: a player with OP also gets the plugin permissions. That is why on a public server moderators are not given OP — they are given specific permissions through LuckPerms. Otherwise a junior moderator can technically stop the server.
Why this matters
An account with OP is the most valuable target for hacking a server. If a moderator's nickname is stolen, the server is stolen too: Admin panel protection.
