All commands
๐Ÿ›ก๏ธ
AdminJava โœ“Bedrock โœ“

/op

Give a player operator powers so they can run commands too.

Overview

What is the /op command?

The /op command grants a player operator (admin) status, giving access to most commands and server-management abilities. It's a server-side command, normally run from the console or by an existing operator.

Be careful who you op โ€” operators can change gamerules, teleport, give items and even op or de-op others.

When to use it: Use /op to give a trusted player admin powers on a multiplayer server; use /deop to take them away.

At a glance

Syntax

Syntax
/op <player>
commandtargetcoordsvaluerequiredoptional

See it

What it does

๐Ÿ‘‘
Granting operator powers

Anatomy

Every part, explained

  1. 1
    /opCommandRequired

    Promotes a player to server operator.

  2. 2
    <player>PlayerRequired

    The exact username to promote.

Your turn

Try it yourself

Playground
2 tokens ยท press Enter to run

Copy & paste

Examples

/op Steve

Make Steve an operator.

/op Alex

Grant Alex command access.

/deop Steve

Remove operator status again.

Avoid these

Common mistakes

โœ•/op @a
โœ“/op Steve

/op takes a real username, not a selector.

โœ•/op Steve creative
โœ“/op Steve

There's no level argument - just the name.

Good to know

Frequently asked questions

How do you make someone an operator?
Run /op <player> from the server console or as an existing op. They immediately gain admin command access.
How do you remove operator status?
Use /deop <player> to revoke their operator privileges.
What can operators do?
Ops can run most commands โ€” change gamerules, teleport, give items, ban players and manage the world โ€” so only grant it to people you trust.

Keep going

Related commands