Permission level

From Minecraft Wiki
Jump to navigation Jump to search

Permission level is used to describe the permissions a player or a command executor has.

For example, in Bedrock Edition, /setmaxplayers can't be executed in a command block, because this command requires the executor to have a permission level of 3, while command blocks have a permission level of only 2.

Effect[edit | edit source]

Levels are incremental, meaning level n + 1 allows anything level n allows.

Java Edition[edit | edit source]

Level 1 (moderator)
The player can bypass spawn protection.
Level 2 (gamemaster)
The player or executor can use more commands and the player can use command blocks.
Level 3 (admin)
The player or executor can use commands related to multiplayer management.
Level 4 (owner)
The player or executor can use all of the commands, including commands related to server management.

Bedrock Edition[edit | edit source]

In different levels, the corresponding commands can be used by the player. All levels inherit commands from levels before them.

Definition[edit | edit source]

Java Edition[edit | edit source]

In Java Edition, the permission level can be 0 (all), 1 (moderator), 2 (gamemaster), 3 (admin), and 4 (owner).

  • A command block or a minecart with command block has a permission level of 2.
  • The console of a server has a permission level of 4.
  • A function has a permission level of 2 (but it can be changed in server.properties).
  • For a player:
    • If the player is an operator in a dedicated server, their permission level is specified in the ops.json file, and its default value is specified in server.properties.
    • If the player is the owner or another operator in a Realm, their permission level is 2.
    • If the player is in a singleplayer world or is the owner of a LAN world, and cheats are enabled, their permission level is 4.
    • If the player is in a cheat-allowed LAN world, permission level is 4.
    • Otherwise, the player's permission level is 0.

Bedrock Edition[edit | edit source]

In Bedrock Edition, the permission level can be 0 (Any / Normal), 1 (Game Directors / Operator), 2 (Admin / Host), 3 (Host / Automation), and 4 (Owner / Admin). (The first names in parentheses are from the official documentation, and the second names are from the debug infomation of BDS)

  • A command block or a minecart with command block has a permission level of 1.
  • The console of a server has a permission level of 4.
  • A function as well as a script in Add-ons has a permission level of 1.
  • For a player:
    • In a dedicated server, if the player's "Operator Commands" option is enabled in the "Player Permission" screen, their permission level is 1 by default (which can be changed in server.properties).
    • In a singleplayer world or a LAN world, if the player's "Operator Commands" option is enabled in the "Player Permission" screen, permission level is 3.
    • Otherwise, the player's permission level is 0.[needs testing]

Note that the player's permission level differs from their level in the pause menu screen and "Player Permission" screen in Bedrock Edition, which includes Visitor/Member/Operator/Custom. However, operators in singleplayer worlds always have a command permission level of 3, because its Operator Commands option is enabled. Similarly, visitors and members have a permission level of 0.

History[edit | edit source]

This section needs expansion. 
You can help by expanding it.
Java Edition
1.14.4Pre-Release 4Added the function-permission-level option that controls what permission level functions have.

Issues[edit | edit source]

Issues relating to "Permission level" are maintained on the bug tracker. Issues should be reported and viewed there.

See also[edit | edit source]

Navigation[edit | edit source]