Minecraft:Permission level: Difference between revisions
More actions
Fix template calls: add MC/ prefix |
Sync: updated from Minecraft |
||
| Line 1: | Line 1: | ||
'''Permission level''' is used to describe the permissions a player or a command executor has. | '''Permission level''' is used to describe the permissions a player or a command executor has. | ||
For example, {{ | For example, {{in|bedrock}}, {{cmd|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 == | == Description == | ||
Levels are incremental, meaning level ''n'' allows anything that any level less than ''n'' allows. | 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 [[Minecraft:operator]] status. This is unlike ''Bedrock Edition'', where all players by default have a permission level of 0, unless if {{cd|default-player-permission-level}} is changed in [[Minecraft:server.properties]] (indirectly affecting permission level by changing [[#Player Permissions|player permission]]). | ||
Server administrators can set permission levels by editing the [[Minecraft:ops.json]] file in ''Java Edition'' or [[Minecraft:permissions.json]] in ''Bedrock Edition''. | |||
=== ''Java Edition'' === | === ''Java Edition'' === | ||
{{ | {{IN|java}}, the permission levels may allow players to configure certain game settings: | ||
'''Level 0 – Operator''' | '''Level 0 – Operator''' | ||
* The player can enable the TPS graph in the debug screen. | * The player can enable the [[Minecraft:TPS graph]] in the debug screen. | ||
* The player can see command block output in chat, if the game rule is enabled. | * The player can see [[Minecraft:command block output]] in chat, if the game rule is enabled. | ||
* The player can see command output from other operators and the server console if <code>[[Minecraft:Server.properties#broadcast-console-to-ops|broadcast-console-to-ops]]</code> is enabled. | * The player can see command output from other operators and the server console if <code>[[Minecraft:Server.properties#broadcast-console-to-ops|broadcast-console-to-ops]]</code> is enabled. | ||
'''Level 1 – Moderator''' | '''Level 1 – Moderator''' | ||
* The player can bypass spawn protection. | * The player can bypass [[Minecraft:spawn protection]]. | ||
'''Level 2 – Gamemaster''' | '''Level 2 – Gamemaster''' | ||
* More | * More [[Minecraft:command]]s are available. | ||
* The player can use command | * The player can use [[Minecraft:command block]]s. | ||
* The player can copy the server-side NBT data of an entity or a block entity when pressing the {{ | * The player can copy the server-side NBT data of an entity or a block entity when pressing the {{key|F3+I}} [[Minecraft:debug hotkey]], and copy the client-side NBT data when pressing {{key|shift+F3+I}}. | ||
* The player can use {{ | * The player can use {{key|F3+F4}} ([[Minecraft:game mode switcher]]) and {{key|F3+N}} debug hotkey (toggle between [[Minecraft:Spectator]] and the previous [[Minecraft: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. | * The player can change or lock [[Minecraft:difficulty]] in [[Minecraft: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 [[Minecraft:creative inventory]]. | * With "Operator Items Tab" [[Minecraft:option]] turned on, the player can find operator items and an "Operator Utilities" tab in the [[Minecraft:creative inventory]]. | ||
* Target | * [[Minecraft:Target selector]]s can be used in commands like {{cmd|tell}} and [[Minecraft:raw JSON text]]s. | ||
'''Level 3 – Admin''' | '''Level 3 – Admin''' | ||
| Line 33: | Line 35: | ||
=== ''Bedrock Edition'' === | === ''Bedrock Edition'' === | ||
{{ | {{IN|bedrock}}, permission levels mostly dictate which commands a [[Minecraft: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|The first names and commands are from [https://learn.microsoft.com/en-us/minecraft/creator/commands/commands the official documentation]. The second names are from the debug information of [[Minecraft:Bedrock Dedicated Server]].}} | The permission levels and their available commands are:{{note|The first names and commands are from [https://learn.microsoft.com/en-us/minecraft/creator/commands/commands the official documentation]. The second names are from the debug information of [[Minecraft:Bedrock Dedicated Server]].}} | ||
| Line 40: | Line 42: | ||
All commands available to non-privileged players: | All commands available to non-privileged players: | ||
* {{ | * {{cmd|help}} | ||
* {{ | * {{cmd|list}} | ||
* {{ | * {{cmd|me}} | ||
* {{ | * {{cmd|tell}} | ||
'''Level 1 – Game Directors / Operator''' | '''Level 1 – Game Directors / Operator''' | ||
| Line 49: | Line 51: | ||
Mostly commands that affect gameplay and entities: | Mostly commands that affect gameplay and entities: | ||
{{Collapse|title='''List of commands'''|content= | {{Collapse|title='''List of commands'''|content= | ||
* {{ | * {{cmd|aimassist}} | ||
* {{ | * {{cmd|camera}} | ||
* {{ | * {{cmd|camerashake}} | ||
* {{ | * {{cmd|clear}} | ||
* {{ | * {{cmd|clearspawnpoint}} | ||
* {{ | * {{cmd|clone}} | ||
* {{ | * {{cmd|controlscheme}} | ||
* {{ | * {{cmd|damage}} | ||
* {{ | * {{cmd|daylock}} | ||
* {{ | * {{cmd|dialogue}} | ||
* {{ | * {{cmd|difficulty}} | ||
* {{ | * {{cmd|effect}} | ||
* {{ | * {{cmd|enchant}} | ||
* {{ | * {{cmd|event}} | ||
* {{ | * {{cmd|execute}} | ||
* {{ | * {{cmd|fill}} | ||
* {{ | * {{cmd|fog}} | ||
* {{ | * {{cmd|function}} | ||
* {{ | * {{cmd|gamemode}} | ||
* {{ | * {{cmd|gamerule}} | ||
* {{ | * {{cmd|gametest}} | ||
* {{ | * {{cmd|give}} | ||
* {{ | * {{cmd|hud}} | ||
* {{ | * {{cmd|inputpermission}} | ||
* {{ | * {{cmd|kick}} | ||
* {{ | * {{cmd|kill}} | ||
* {{ | * {{cmd|locate}} | ||
* {{ | * {{cmd|loot}} | ||
* {{ | * {{cmd|mobevent}} | ||
* {{ | * {{cmd|music}} | ||
* {{ | * {{cmd|particle}} | ||
* {{ | * {{cmd|playanimation}} | ||
* {{ | * {{cmd|playsound}} | ||
* {{ | * {{cmd|project}} | ||
* {{ | * {{cmd|recipe}} | ||
* {{ | * {{cmd|reload}} | ||
* {{ | * {{cmd|replaceitem}} | ||
* {{ | * {{cmd|ride}} | ||
* {{ | * {{cmd|say}} | ||
* {{ | * {{cmd|schedule}} | ||
* {{ | * {{cmd|scoreboard}} | ||
* {{ | * {{cmd|script}} | ||
* {{ | * {{cmd|scriptevent}} | ||
* {{ | * {{cmd|setblock}} | ||
* {{ | * {{cmd|setworldspawn}} | ||
* {{ | * {{cmd|spawnpoint}} | ||
* {{ | * {{cmd|spreadplayers}} | ||
* {{ | * {{cmd|stopsound}} | ||
* {{ | * {{cmd|structure}} | ||
* {{ | * {{cmd|summon}} | ||
* {{ | * {{cmd|tag}} | ||
* {{ | * {{cmd|teleport}} | ||
* {{ | * {{cmd|tellraw}} | ||
* {{ | * {{cmd|testfor}} | ||
* {{ | * {{cmd|testforblock}} | ||
* {{ | * {{cmd|testforblocks}} | ||
* {{ | * {{cmd|tickingarea}} | ||
* {{ | * {{cmd|time}} | ||
* {{ | * {{cmd|title}} | ||
* {{ | * {{cmd|titleraw}} | ||
* {{ | * {{cmd|toggledownfall}} | ||
* {{ | * {{cmd|weather}} | ||
* {{ | * {{cmd|xp}} | ||
}} | }} | ||
'''Level 2 – Admin / Host''' | '''Level 2 – Admin / Host''' | ||
Server operator commands: | Server [[Minecraft:operator]] commands: | ||
* {{ | * {{cmd|deop}} | ||
* {{ | * {{cmd|op}} | ||
* {{ | * {{cmd|place}} | ||
* {{ | * {{cmd|wsserver}} | ||
'''Level 3 – Host / Automation''' | '''Level 3 – Host / Automation''' | ||
| Line 126: | Line 128: | ||
Server host commands: | Server host commands: | ||
* {{ | * {{cmd|setmaxplayers}} | ||
'''Level 4 – Owner / Admin''' | '''Level 4 – Owner / Admin''' | ||
Server administrator commands: | Server administrator commands: | ||
* {{ | * {{cmd|allowlist}} | ||
* {{ | * {{cmd|changesetting}} | ||
* {{ | * {{cmd|permission}} | ||
* {{ | * {{cmd|reloadconfig}} | ||
* {{ | * {{cmd|save}} | ||
* {{ | * {{cmd|sendshowstoreoffer}} | ||
* {{ | * {{cmd|stop}} | ||
* {{ | * {{cmd|transfer}} | ||
{{notelist}} | {{notelist}} | ||
== Player Permissions == | == Player Permissions == | ||
{{ | {{Exclusive|Bedrock|section=1}} | ||
[[File:Ore UI - Game Menu - Player Permissions Screen Menu (Bedrock).png|380px|thumb|The Player Permissions menu {{ | [[File:Ore UI - Game Menu - Player Permissions Screen Menu (Bedrock).png|380px|thumb|The Player Permissions menu {{in|be}}.]] | ||
<!-- Used for Tutorial:Menu_screen/Bedrock_Edition transclusion --> <section begin="player-permissions"/> | <!-- Used for [[Minecraft:Tutorial:Menu_screen/Bedrock_Edition#Player_Permissions]] transclusion --> <section begin="player-permissions"/> | ||
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. | Player permissions dictate what the player can and cannot do in a multiplayer game. For example, actions such as building, [[Minecraft: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 [[Minecraft:Tutorial:Menu_screen/Bedrock_Edition#Player_Permissions|screen]] accessible in the [[Minecraft:pause menu]]. | ||
There are four roles which can set specific permissions for players: | There are four roles which can set specific permissions for players: | ||
| Line 173: | Line 175: | ||
|- | |- | ||
|Open containers | |Open containers | ||
|Allows the player to open the GUI of containers ([[Minecraft:chest]]s, [[Minecraft:hopper]]s, [[Minecraft:crafter]]s, etc). | |Allows the player to open the GUI of [[Minecraft:containers]] ([[Minecraft:chest]]s, [[Minecraft:hopper]]s, [[Minecraft:crafter]]s, etc). | ||
|[[File:Ore UI - Toggle ON Button (Bedrock).png|link=|55px]] | |[[File:Ore UI - Toggle ON Button (Bedrock).png|link=|55px]] | ||
|- | |- | ||
|Attack Players | |Attack Players | ||
|Allows the player to deal damage to | |Allows the player to deal damage to [[Minecraft:player]]s. | ||
|[[File:Ore UI - Toggle ON Button (Bedrock).png|link=|55px]] | |[[File:Ore UI - Toggle ON Button (Bedrock).png|link=|55px]] | ||
|- | |- | ||
| Line 191: | Line 193: | ||
|- | |- | ||
|Teleport | |Teleport | ||
|Allows the player to use the {{ | |Allows the player to use the {{cmd|tp}} command. | ||
|'''Member:''' [[File:Ore UI - Toggle OFF Button (Bedrock).png|link=|55px]] | |'''Member:''' [[File:Ore UI - Toggle OFF Button (Bedrock).png|link=|55px]] | ||
'''Operator:''' | '''Operator:''' | ||
[[File:Ore UI - Toggle ON Button (Bedrock).png|link=|55px]] | [[File:Ore UI - Toggle ON Button (Bedrock).png|link=|55px]] | ||
|} | |} | ||
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 | 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 [[Minecraft:operator]]s, but they can still view them for themselves and other joined players. | ||
Player permissions differ from [[Minecraft:permission level]], 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 [[Minecraft:LAN]] world. In [[Minecraft:Bedrock Dedicated Server]], it sets the permission level to 1.<section end="player-permissions"/> | Player permissions differ from [[Minecraft:permission level]], 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 [[Minecraft:LAN]] world. In [[Minecraft:Bedrock Dedicated Server]], it sets the permission level to 1.<section end="player-permissions"/> | ||
| Line 203: | Line 205: | ||
=== ''Java Edition'' === | === ''Java Edition'' === | ||
* For a function: | * For a function: | ||
** When parsing a function (including macro line parsing), the permission level defaults to 2 (but it can be changed in [[Minecraft:server.properties]]). | ** When [[Minecraft:Function_(Java_Edition)#Loading and Parsing|parsing]] a [[Minecraft:Function_(Java_Edition)|function]] (including macro line parsing), the permission level defaults to 2 (but it can be changed in [[Minecraft:server.properties]]). | ||
** When calling a function, see [[Minecraft:command context]] for details. | ** When calling a [[Minecraft:Function_(Java_Edition)|function]], see [[Minecraft:command context]] for details. | ||
* For a player: | * 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 [[Minecraft:server.properties]]. | ** If the player is an operator in a dedicated server, their permission level can be specified in the [[Minecraft:ops.json format|ops.json]] file. and its default value is specified in [[Minecraft:server.properties]]. | ||
** If the player is the owner or another operator in a [[Minecraft:Realms|Realm]], their permission level is 2. | ** If the player is the owner or another operator in a [[Minecraft:Realms|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.<ref>https://atlas.minecraft.net/guidelines</ref> | *** Unless the Realm is playing a ''minigame'': then the owner's permission level is 0, and no one else can be operators.<ref>https://atlas.minecraft.net/guidelines</ref> | ||
** 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 in a singleplayer world, and [[Minecraft: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. | ** If the player is the owner of a LAN world, and [[Minecraft: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. | ** All players in a [[Minecraft:Cheats|command-allowed]] LAN world have a permission level of 4. | ||
** Otherwise, the player's permission level is 0. | ** Otherwise, the player's permission level is 0. | ||
* For other command executors, see [[Minecraft:command context]] for details. | * For other command executors, see [[Minecraft:command context]] for details. | ||
| Line 218: | Line 220: | ||
=== ''Bedrock Edition'' === | === ''Bedrock Edition'' === | ||
* For a function: | * For a function: | ||
** When parsing a function, the permission level is 1. | ** When [[Minecraft:Function_(Bedrock_Edition)#Loading and Parsing|parsing]] a [[Minecraft:Function (Bedrock_Edition)|function]], the permission level is 1. | ||
** When calling a function, see [[Minecraft:command context]] for details. | ** When calling a [[Minecraft:Function_(Bedrock_Edition)|function]], see [[Minecraft:command context]] for details. | ||
* For a player: | * 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 [[Minecraft:BDS|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. | ** 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. | ** Otherwise, the player's permission level is 0. | ||
| Line 227: | Line 229: | ||
== History == | == History == | ||
{{ | {{expand section}} | ||
{{ | {{Incomplete section|release versions, Old PE / BE versions}} | ||
=== ''Java Edition'' === | === ''Java Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{ | |{{HistoryLine|java}} | ||
|{{ | |{{HistoryLine||1.14.4|dev=Pre-Release 4|Added the <code>function-permission-level</code> option that controls what permission level [[Minecraft:Function (Java Edition)|functions]] have.}} | ||
}} | }} | ||
=== ''Bedrock Edition'' === | === ''Bedrock Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{ | |{{HistoryLine|bedrock}} | ||
|{{ | |{{HistoryLine||1.21.70|dev=Preview 1.21.70.22|[[File:New UI - Player Permissions Screen Menu (Bedrock Preview 1.21.70.22).png|53px]] Player Permissions screen in [[Minecraft:Pause menu]] screen has been updated to match [[Minecraft:Ore UI]], available in [[Minecraft:Minecraft Preview|preview]] only.}} | ||
|{{ | |{{HistoryLine|||dev=release|Player Permissions screen in [[Minecraft:Pause menu]] screen is released to the public and no longer in [[Minecraft:Minecraft Preview|preview]] only.}} | ||
}} | }} | ||
== Issues == | == Issues == | ||
{{ | {{issue list|permission}} | ||
== Gallery == | == Gallery == | ||
| Line 264: | Line 266: | ||
* [[Minecraft:Commands/op]] sets player's operator status, granting or revoking them of operator permissions. | * [[Minecraft:Commands/op]] sets player's operator status, granting or revoking them of operator permissions. | ||
* [[Minecraft:Commands/permission]] sets player's specific permission level. | * [[Minecraft:Commands/permission]] sets player's specific permission level. | ||
* [[Minecraft:Ore UI]], the {{ | * [[Minecraft:Ore UI]], the {{BE}} UI refresh. | ||
== References == | == References == | ||
| Line 270: | Line 272: | ||
== Navigation == | == Navigation == | ||
{{ | {{Navbox commands}} | ||
[[Category:Server]] | [[Category:Server]] | ||
ja:権限レベル | [[Minecraft:ja:権限レベル]] | ||
pt:Nível de permissão | [[Minecraft:pt:Nível de permissão]] | ||
ru:Уровень доступа | [[Minecraft:ru:Уровень доступа]] | ||
uk:Рівень дозволу | [[Minecraft:uk:Рівень дозволу]] | ||
zh:权限等级 | [[Minecraft:zh:权限等级]] | ||
Latest revision as of 11:18, 12 April 2026
Permission level is used to describe the permissions a player or a command executor has.
For example, Template:In, Template:Cmd 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
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 Minecraft:operator status. This is unlike Bedrock Edition, where all players by default have a permission level of 0, unless if Template:Cd is changed in Minecraft:server.properties (indirectly affecting permission level by changing player permission).
Server administrators can set permission levels by editing the Minecraft:ops.json file in Java Edition or Minecraft:permissions.json in Bedrock Edition.
Java Edition
Template:IN, the permission levels may allow players to configure certain game settings:
Level 0 – Operator
- The player can enable the Minecraft:TPS graph in the debug screen.
- The player can see Minecraft:command block output in chat, if the game rule is enabled.
- The player can see command output from other operators and the server console if
broadcast-console-to-opsis enabled.
Level 1 – Moderator
- The player can bypass Minecraft:spawn protection.
Level 2 – Gamemaster
- More Minecraft:commands are available.
- The player can use Minecraft:command blocks.
- The player can copy the server-side NBT data of an entity or a block entity when pressing the Template:Key Minecraft:debug hotkey, and copy the client-side NBT data when pressing Template:Key.
- The player can use Template:Key (Minecraft:game mode switcher) and Template:Key debug hotkey (toggle between Minecraft:Spectator and the previous Minecraft:game mode).
- The player can change or lock Minecraft:difficulty in Minecraft: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" Minecraft:option turned on, the player can find operator items and an "Operator Utilities" tab in the Minecraft:creative inventory.
- Minecraft:Target selectors can be used in commands like Template:Cmd and Minecraft: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
Template:IN, permission levels mostly dictate which commands a Minecraft: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:Template:Note
Level 0 – Any / Normal
All commands available to non-privileged players:
Level 1 – Game Directors / Operator
Mostly commands that affect gameplay and entities: Template:Collapse
Level 2 – Admin / Host
Server Minecraft:operator commands:
Level 3 – Host / Automation
Server host commands:
Level 4 – Owner / Admin
Server administrator commands:
Player Permissions
<section begin="player-permissions"/>
Player permissions dictate what the player can and cannot do in a multiplayer game. For example, actions such as building, Minecraft: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 Minecraft: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. | File:Ore UI - Toggle ON Button (Bedrock).png |
| Mine | Allows the player to break blocks in the world. | File:Ore UI - Toggle ON Button (Bedrock).png |
| Use doors and switches | Allows the player to use Minecraft:doors, Minecraft:levers, and Minecraft:buttons. | File:Ore UI - Toggle ON Button (Bedrock).png |
| Open containers | Allows the player to open the GUI of Minecraft:containers (Minecraft:chests, Minecraft:hoppers, Minecraft:crafters, etc). | File:Ore UI - Toggle ON Button (Bedrock).png |
| Attack Players | Allows the player to deal damage to Minecraft:players. | File:Ore UI - Toggle ON Button (Bedrock).png |
| Attack Mobs | Allows the player to deal damage to Minecraft:mobs. | File:Ore UI - Toggle ON Button (Bedrock).png |
| Operator Commands | Allows the player to execute operator Minecraft:commands. Also sets the player's permission level depending on the environment, see below. | Member: File:Ore UI - Toggle OFF Button (Bedrock).png |
| Teleport | Allows the player to use the Template:Cmd command. | Member: File:Ore UI - Toggle OFF Button (Bedrock).png |
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 Minecraft:operators, but they can still view them for themselves and other joined players.
Player permissions differ from Minecraft:permission level, 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 Minecraft:LAN world. In Minecraft:Bedrock Dedicated Server, it sets the permission level to 1.<section end="player-permissions"/>
Situations
Java Edition
- For a function:
- When parsing a function (including macro line parsing), the permission level defaults to 2 (but it can be changed in Minecraft:server.properties).
- When calling a function, see Minecraft:command context for details.
- 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 Minecraft: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.<ref>https://atlas.minecraft.net/guidelines</ref>
- If the player is in a singleplayer world, and Minecraft:cheats were enabled when creating the world, their permission level is 4.
- If the player is the owner of a LAN world, and Minecraft: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 Minecraft:command context for details.
- For raw JSON text resolution executors, see Minecraft:command context for details.
Bedrock Edition
- For a function:
- When parsing a function, the permission level is 1.
- When calling a function, see Minecraft:command context for details.
- 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 Minecraft:command context for details.
History
Template:Expand section Template:Incomplete section
Java Edition
Bedrock Edition
Issues
Gallery
Bedrock Edition
-
The "Player Permissions" screen.
-
The "Player Permissions" screen from other players.
-
The "Player Permissions" screen when all options are locked, in a server.
Minecraft Education
-
The "Player Permissions" screen.
See also
- Minecraft:Commands are mainly what dictated by permission level.
- Minecraft:Server.properties has a related property for setting operators' permission level.
- Minecraft:Commands/op sets player's operator status, granting or revoking them of operator permissions.
- Minecraft:Commands/permission sets player's specific permission level.
- Minecraft:Ore UI, the Template:BE UI refresh.
References
<references />
Minecraft:ja:権限レベル Minecraft:pt:Nível de permissão Minecraft:ru:Уровень доступа Minecraft:uk:Рівень дозволу Minecraft:zh:权限等级