Minecraft Wiki
Advertisement

Revokes operator status from a player.

Syntax[]

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

Arguments[]

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

Specifies the player to be deopped.
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 should be of player type.

Result[]

CommandTriggerJava EditionBedrock Edition
anythe arguments are not specified correctly Unparseable Unparseable
<targets> fails to resolve to one or more player profiles Failed N/A
player: target is not in player type N/A Failed
player: target fails to resolve to one or more online players
All selected players meet one or both of the following conditions: Failed
OtherwiseSuccessful

Output[]

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

Examples[]

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

See also[]

History[]

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
v0.16.0build 1Added /deop.
Advertisement