How to Make Yourself Admin (OP) on Your Minecraft Server
Grant yourself operator permissions on your Minecraft server using the console.
How to Make Yourself Admin (OP) on Your Minecraft Server
Operator (OP) status gives you access to server commands like /gamemode, /give, /tp, /ban, and more.
Granting OP via the Console
- Open the Console tab in the control panel
- Type the following command (no
/prefix needed in the console):
op YourExactUsername
- You should see:
Made YourExactUsername a server operator
The username is case-sensitive and must match your Minecraft account name exactly.
Verifying It Worked
Join the server and try running a command that requires OP:
/gamemode creative
If your game mode changes, you have OP.
OP Permission Levels
Minecraft has four OP permission levels, set in ops.json:
| Level | Permissions |
|---|---|
| 1 | Bypass spawn protection |
| 2 | Use /clear, /difficulty, /effect, /gamemode, /give, /tp, and other cheat commands |
| 3 | Use /ban, /kick, /op, /deop — player management |
| 4 | Use /stop, /save-all — full server control |
By default, the op command grants level 4. To set a specific level, edit ops.json in the file manager.
Removing OP
To revoke operator status:
deop YourExactUsername
Using a Permissions Plugin Instead
OP is all-or-nothing — a player either has full access or none. For more granular control, use a permissions plugin like LuckPerms.
LuckPerms lets you:
- Create permission groups (e.g. Admin, Moderator, Builder)
- Grant access to specific commands per group
- Set permissions per-world or temporarily
See How to Install Mods and Plugins for installation steps.
