How to op someone in Minecraft
To op someone in Minecraft, run op <name> in your server’s Console tab, for example op Steve. An operator can use commands such as /gamemode, /gamerule and /ban in game. To take it away again, run deop Steve.
Op someone from the Console
- Open your server in the dashboard. It has to be running: if it says Sleeping, click Wake up, then Start. If it says Stopped, click Start.
- Go to the Console tab.
- Type
opand the player’s name, for exampleop Steve. To op yourself, use your own Minecraft name. - Press Enter or click Run.
The console replies “Made Steve a server operator”, and Steve can use operator commands straight away. You can type commands with or without the leading /: the Console drops it.
Op someone in game
Once you’re an operator, you can op other players from chat: /op Steve.
Only op people you trust. An operator can ban players, change the world and, at the highest level, stop the server.
Remove an operator
Run deop Steve in the Console tab, or /deop Steve in chat.
See who is an operator
Operators are listed in ops.json, which you can open in the Files tab. It also shows each operator’s level.
Op permission level
Op permission level, on the Configuration tab under Players & access, sets what new operators may do. The default is 4.
- 1: build inside the protected area around spawn.
- 2: cheat commands such as
/gamemode,/gamerule,/giveand/tp, and command blocks. - 3: player commands such as
/kick,/banand/op. - 4: every command, including
/stop.
The level applies to players you op after changing it: people who are already operators keep the level in ops.json. Click Save changes, then Restart the server.
Bedrock players
Bedrock players on your server have a dot before their name, for example .Steve. Op them by that name while they’re online: op .Steve.
If it doesn’t work
- The console says “That player does not exist”. Check the spelling, and use the name exactly as it appears in game.
- The player still can’t use a command. Check their level in
ops.json:/gamemodeneeds level 2,/banlevel 3.
Still stuck? Ask on Discord
The Minefort team and community are there. Tell us what you tried and someone will point you the right way.