How to Add Yourself as Admin / OP
Two ways to grant yourself operator powers on your server.
Introduction
Operator (OP) status gives you every command, gamemode, teleport, weather, world edits. There are two ways to OP yourself.
Method 1, From the Console (Fastest)
- 1Open the Game Panel ā your server ā Console tab
- 2Type into the console input:
op YourMinecraftUsername- 1Press Enter
- 2The log prints:
Made YourMinecraftUsername a server operator
You're now OP. Try /gamemode creative in-game to test.
Method 2, Edit ops.json
- 1Open File Manager in the panel
- 2Open
ops.jsonin the server root - 3Add this entry:
[
{
"uuid": "your-uuid-here",
"name": "YourUsername",
"level": 4,
"bypassesPlayerLimit": true
}
]- 1Save ā restart the server
Find your UUID at mcuuid.net.
OP Levels Explained
- Level 1, bypass spawn protection
- Level 2, basic commands (
/tp,/gamemode) - Level 3, kick, ban, op other players
- Level 4, full admin (stop, save, op anyone)
Tip: Only OP people you trust 100%. An OP can grief, ban, or even crash your server.
Warning: Never share screenshots of your ops.json publicly, UUIDs are fine, but it tells attackers who to target.
Need More Help?
OP command not working? Make sure you're typing it in the panel console, not in-game. Help in Discord.
Was this helpful?
Your feedback helps us write better guides.
Related Articles
More from Minecraft Hosting.
How to Start Your First Minecraft Server
From empty panel to a joinable world in under two minutes.
How to Install Plugins on Your Server
Bukkit, Spigot, and Paper plugins, installed and loaded the right way.
How to Install a Modpack (Forge / Fabric)
CurseForge and Modrinth modpacks, installed straight from the panel.
Still need help?
Our team is on Discord around the clock. Real humans, real answers.