VOOZH about

URL: https://minecraft.wiki/w/Permissions

⇱ Permission level – Minecraft Wiki


Permission level

From Minecraft Wiki
(Redirected from Permissions)
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.

Description

[edit | edit source]

Levels are incremental, meaning level n allows anything that any level less than n allows. In Java Edition, the capabilities granted by level permission are only usable if the player has an operator status. This is unlike Bedrock Edition, where all players by default have a permission level of 0, unless if default-player-permission-level is changed in server.properties (indirectly affecting permission level by changing player permission).

Server administrators can set permission levels by editing the ops.json file in Java Edition or permissions.json in Bedrock Edition.

Java Edition

[edit | edit source]

In Java Edition, the permission levels may allow players to configure certain game settings:

Level 0 – Operator

Level 1 – Moderator

Level 2 – Gamemaster

  • More commands are available.
  • The player can use command blocks.
  • The player can open the GUI of Test Blocks.
  • The player can copy the server-side NBT data of an entity or a block entity when pressing the  +  debug hotkey, and copy the client-side NBT data when pressing  +  + .
  • The player can use  +  (game mode switcher) and  +  debug hotkey (toggle between Spectator and the previous game mode).
  • The player can change or lock difficulty in Options screen. Note that the player in a singleplayer world or the owner of a LAN world can change or lock difficulty without a permission level of 2.
  • With "Operator Items Tab" option turned on, the player can find operator items and an "Operator Utilities" tab in the creative inventory.
  • Target selectors can be used in commands like /tell and raw JSON texts.

Level 3 – Admin

  • Commands related to multiplayer management are available.

Level 4 – Owner

  • All commands are available, including commands related to server management.

Bedrock Edition

[edit | edit source]

In Bedrock Edition, permission levels mostly dictate which commands a player may use. In different levels, certain commands are available, and a level inherits commands from levels less than it.

The permission levels and their available commands are:[note 1]

Level 0 – Any / Normal

All commands available to non-privileged players:

Level 1 – Game Directors / Operator

Mostly commands that affect gameplay and entities:

Level 2 – Admin / Host

Server operator commands:

Level 3 – Host / Automation

Server host commands:

Level 4 – Owner / Admin

Server administrator commands:

  1. The first names and commands are from the official documentation. The second names are from the debug information of Bedrock Dedicated Server.

Player Permissions

[edit | edit source]
This feature is exclusive to Bedrock Edition.
 
👁 Image
The Player Permissions menu in Bedrock Edition.

Player permissions dictate what the player can and cannot do in a multiplayer game. For example, actions such as building, mining, attacking mobs or players can be disabled or restricted by each of their own permissions. They can be configured individually or by preset roles on a separate screen accessible in the pause menu.

There are four roles which can set specific permissions for players:

  • Operator, which enables all permissions, including operator commands, world settings, teleportation, and all of member permissions.
  • Member, which enables mining, building, world and entities interactions.
  • Visitor, which only lets players view or observe the world only, with none of the permissions enabled.
  • Custom, which enables specific permissions set by operators. Following permissions can be applied for custom role:
Option Description Default
Build Allows the player to place blocks and entities in the world. 👁 Image
Mine Allows the player to break blocks in the world. 👁 Image
Use doors and switches Allows the player to use doors, levers, and buttons. 👁 Image
Open containers Allows the player to open the GUI of containers (chests, hoppers, crafters, etc). 👁 Image
Attack Players Allows the player to deal damage to players. 👁 Image
Attack Mobs Allows the player to deal damage to mobs. 👁 Image
Operator Commands Allows the player to execute operator commands. Also sets the player's permission level depending on the environment, see below. Member: 👁 Image

Operator: 👁 Image

Teleport Allows the player to use the /tp command. Member: 👁 Image

Operator: 👁 Image

The owner of the world can change any player permissions, regardless of its own permissions. Other players can't change any player permissions unless if they are operators, but they can still view them for themselves and other joined players.

Player permissions differ from , the latter enables and restricts specific commands, requiring different level for each command. Additionally, the "Operator Commands" permission if enabled sets the player's permission level to 3 in singleplayer or LAN world. In Bedrock Dedicated Server, it sets the permission level to 1.

Situations

[edit | edit source]

Java Edition

[edit | edit source]
  • For a function:
  • For a player:
    • If the player is an operator in a dedicated server, their permission level can be 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.
      • Unless the Realm is playing a minigame: then the owner's permission level is 0, and no one else can be operators.[1]
    • If the player is in a singleplayer world, and cheats were enabled when creating the world, their permission level is 4.
    • If the player is the owner of a LAN world, and cheats were enabled when creating the world, their permission level is 4.
    • All players in a command-allowed LAN world have a permission level of 4.
    • Otherwise, the player's permission level is 0.
  • For other command executors, see command context for details.
  • For raw JSON text resolution executors, see command context for details.

Bedrock Edition

[edit | edit source]
  • For a function:
  • 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.
    • 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.
  • For other command executors, see command context for details.

History

[edit | edit source]
This section needs expansion.
 
You can help by expanding it.
This section is missing information about: release versions, Old PE / BE versions
 
Please expand the section to include this information. Further details may exist on the talk page.

Java Edition

[edit | edit source]
Java Edition
1.14.4Pre-Release 4Added the function-permission-level option that controls what permission level functions have.

Bedrock Edition

[edit | edit source]
Bedrock Edition
1.21.70Preview 1.21.70.22👁 Image
Player Permissions screen in Pause menu screen has been updated to match Ore UI, available in preview only.
releasePlayer Permissions screen in Pause menu screen is released to the public and no longer in preview only.

Issues

[edit | edit source]

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

Gallery

[edit | edit source]

Bedrock Edition

[edit | edit source]

Minecraft Education

[edit | edit source]

See also

[edit | edit source]

References

[edit | edit source]

Navigation

[edit | edit source]
Retrieved from "https://minecraft.wiki/w/Permission_level?oldid=3651072"

Navigation menu