Commands/deop

From Minecraft Wiki
Jump to: navigation, search
deop
Restrictions

Multiplayer
Operator
No command blocks

Revokes operator status from a player.

Syntax[edit]

  • Java Edition
deop <targets>
  • Bedrock Edition
deop <player: target>

Arguments[edit]

JE<targets>: game_profile
BE: player: target: CommandSelector<Player>

In Java Edition, must be a collection of game profiles (player profiles), which can be a player name (must be a real one if the server is in online mode), or a player-type target selector.
In Bedrock Edition, must be a player name or a target selector.  And the target selector must be of player type.
Specified the player to be deopped.

Result[edit]

CommandTriggerJava EditionBedrock Edition
anythe arguments are not specified correctly Unparseable Failed
if <targets> fails to resolve to one or more player profiles Failed N/A
if player: target fails to resolve to one or more online players N/A Failed
if all the specified players aren't op. Failed
if all the specified players have a permission level of 4. [needs testing] [needs testing]
On successRemoves the player(s) from the list of operators.

Output[edit]

CommandEditionSituationSuccess Count/execute store success .../execute store result ...
anyJava EditionOn failN/A00
On successN/A1the number of players whose op statuses are revoke

Examples[edit]

  • To remove Steve from the list of operators: deop Steve

History[edit]

This section needs expansion.
You can help by adding to it.
Java Edition Classic
0.0.15a (Multiplayer Test 3)Added /deop.
Java Edition Indev
0.31Removed all commands.
Java Edition Alpha
v1.0.16Re-added /deop.
Pocket Edition Alpha
0.16.0build 1Added /deop.