/deop

From Minecraft Wiki
Jump to navigation Jump to search
/deop
Permission level
required
  • 3 ‌[JE only]
  • 2 ‌[BE only]
Restrictions Dedicated server only‌[JE only]

Revokes operator status from a player.

Syntax

[edit | edit source]
  • Java Edition
deop <targets>
  • Bedrock Edition
deop <player: target>

Arguments

[edit | edit source]

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

Specifies the player to be deopped.
In Java Edition, specifies one or more game profiles (player profiles). Must be a player name (should 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.

Result

[edit | edit source]

CommandTriggerJava EditionBedrock Edition
AnyThe command is incomplete, or any argument is not specified correctly. Unparseable Unparseable
<targets> fails to resolve to one or more player profiles. Failed N/A
player: target is a target selector that 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

[edit | edit source]

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

Examples

[edit | edit source]
  • To remove Steve from the list of operators: deop Steve

See also

[edit | edit source]

History

[edit | edit source]

Java Edition

[edit | edit source]
Java Edition Classic
0.0.16aAdded /deop.
Java Edition Indev
0.31Due to Indev's lack of support for servers, commands are no longer usable.
Java Edition Alpha
v1.0.16Re-added /deop.

Bedrock Edition

[edit | edit source]
Pocket Edition Alpha
v0.16.0build 1Added /deop.
[edit | edit source]
[edit | edit source]