Skip to content
WikilyWIKILY
All games23 Wikis · pick your game
Commands and cheatsAll commands

Switch game

23 Wikis · pick your game
/deop

Command

/deop

Takes operator status away from one or more players.

Syntax

/deop <targets>

Arguments

ArgumentKind of valueWhat to type
<targets>Player profileThe player or players to remove from the operator list, as a player name or a player selector.

Details

Permission level3: server operators with level 3 or higher
Works inDedicated multiplayer servers only. It does not exist in singleplayer or in worlds opened to LAN. Needs permission level 3 (admins). Command blocks and functions run at level 2 and cannot use it.
ResultReports "Made (player) no longer a server operator" for each player. The number /execute store saves is the number of players who lost operator status.
Not an operatorPlayers who are not operators are skipped. If none of the targets was an operator, the command fails with "Nothing changed. The player is not an operator".
WhitelistIf the server uses a whitelist and enforces it, players who are online but not on the whitelist are disconnected after the change.

Examples

/deop Steve

Steve is no longer a server operator.

Join the creator communityThe people who build the Minecraft Java Edition wiki are on our Discord. Ask questions or suggest pages.Join Discord (opens Discord in a new tab)