An operator (op) can use admin commands such as /gamemode, /tp, /ban and /whitelist. Run the command from the panel console so you don't need to be op already.
op <playername>, for example op Steve, and press Enter. In the console you don't need the /.Made Steve a server operator.The player must have joined the server at least once, or have a real Minecraft account with that exact name.
Removing op. Run deop <playername>.
Where ops are stored. Ops are saved in ops.json in your server's main folder. Each entry has a level:
| Level | What the player can do |
|---|---|
| 1 | Build inside spawn protection |
| 2 | Use most cheat commands (/gamemode, /give, /tp) and command blocks |
| 3 | Also manage players (/kick, /ban, /op) |
| 4 | Everything, including /stop and /save-all |
The default level for new ops is set by op-permission-level in server.properties. It is usually 4.
Only op people you trust completely. An op can ban you, delete builds and stop the server. For moderators, give only the permissions they need with a permissions plugin like LuckPerms (see "How do I set up ranks and permissions with LuckPerms?").