Minecraft /op command
Makes a player an operator: They can now use commands.
Syntax
/op <targets>
Parts in square brackets are optional, parts in angle brackets are required. You do not type the brackets: Put your own value in their place.
Arguments
| Argument | What it does |
|---|---|
| <targets> | Name of the player to give permissions to. |
Examples
/op Faruk
Gives Faruk operator permissions.
Good to know
- The permission level is set by the op-permission-level value in the server settings (default 4).
- Run it from the console or as an existing operator.
How do I run this command?
Press T in game to open chat (or press / directly), type the command and press Enter. While typing, Tab completes the options. This command counts as a cheat: It needs cheats enabled in a singleplayer world, and operator permission on a server (server admin (level 3)).
Related commands
🛡️ More Server management
Minecraft is a product of Mojang Studios. This tool is an independent helper made for players and is not affiliated with Mojang or Microsoft.