/op
Grants operator status to a player, giving them permission to use server commands.
Syntax
/op <targets>Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| targets | game_profile | Required | The player to grant operator status to. |
Examples
/op SteveGrants Steve operator status on the server.
/op @pGives operator status to the nearest player.
Common Mistakes
- Giving op to the wrong player, operator status grants significant power; always verify the target.
- Not configuring the op permission level in server.properties, the default op level may be higher than intended.
Notes
Operator permission levels (1-4) can be set in ops.json. By default, new ops are given level 4 (full access). The /op command itself requires level 3.
Related Commands
Need a Minecraft server?
Try these commands on Astroworld or host your own server.
Try Astroworld Hosting