Minecraft:Permission level: Difference between revisions
More actions
Fix template calls: add MC/ prefix |
Sync: updated from Minecraft |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
''' | [[File:Ore UI - Game Menu - Player Permissions (Other Player) Screen Menu (Bedrock).png|thumb|380px|The Player permissions menu in ''Bedrock Edition'']] | ||
The '''permission level''' is used to describe the permissions a [[Minecraft:player]] or a command executor has in a [[Minecraft:world]] or [[Minecraft:server]]. 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. | |||
'''Player permissions'''{{Only|be}} are a set of rules that dictate what players can and cannot do in a [[Minecraft:multiplayer]] world, such as building or attacking players. | |||
== Description == | == Description == | ||
| Line 7: | Line 8: | ||
=== ''Java Edition'' === | === ''Java Edition'' === | ||
{{ | {{IN|java}}, the capabilities granted by level permission are only usable if the player has an [[Minecraft:operator]] status granted with {{cmd|op}}. Server administrators can set permission levels by editing the [[Minecraft:ops.json|<code>ops.json</code>]] file. | ||
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 open the GUI of [[Minecraft:Test Blocks]]. | ||
* The player can use {{ | * 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 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 use {{key|F3+F4}} ([[Minecraft:game mode switcher]]) and {{key|F3+N}} debug hotkey (toggle between [[Minecraft:Spectator]] and the previous [[Minecraft:game mode]]). | ||
* With "Operator Items Tab" option turned on, the player can find operator items and an "Operator Utilities" tab in the [[Minecraft:creative inventory]]. | * 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. | ||
* Target | * 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 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 37: | ||
=== ''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. | ||
Using the {{cmd|op}} command, enabling the "Operator Commands" setting in the [[Minecraft:player permissions]], or setting a player's permissions to "Operator",{{Note|This can be done in: | |||
* <code>[[Minecraft:permissions.json]]</code> for servers | |||
* The "Default player permissions" setting in the [[Minecraft:Create new world]] or [[Minecraft:Edit world]] screen as well as the Realms Manage Members screen | |||
* <code>default-player-permission-level</code> in <code>[[Minecraft:server.properties]]</code>}} a player can be granted '''Operator''' status. | |||
* On external servers and [[Minecraft:Realms]], this sets the level to 1. | |||
* On a joined multiplayer game (LAN or online), this sets the level to 2. | |||
* On a locally hosted game, this sets the level to 3. | |||
Using the {{cmd|deop}} command, disabling the "Operator Commands" setting in the player permissions, or setting a player's permissions to "Member", a player can be revoked Operator status and always has a permission level of 0. | |||
By default, the world host has permission level 3 (1 for Realm owners) and all joined players have permission level 0. Setting any other player to Operator permanently disables [[Minecraft:achievements]] for the world. | |||
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]].}} | Note that certain commands might still be locked if cheats are disabled, which can be toggled in the game settings. 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]].}} | ||
'''Level 0 – Any / Normal''' | '''Level 0 – Any / Normal''' | ||
* The player can view the [[Minecraft:game settings]] but not change them. | |||
* The player can view all [[Minecraft:player permissions]] but not change them. | |||
* The owner of the world or Realm can edit their own and other player's [[Minecraft:player permissions]], including setting Operator status and kicking players. | |||
** The Realm owner can never edit their own player permissions; they are always Operator. | |||
All commands available to non-privileged players: | All commands available to non-privileged players: | ||
* {{ | |||
* {{ | * {{cmd|gametips}} | ||
* {{ | * {{cmd|help}} ({{cmd|?}}) | ||
* {{ | * {{cmd|list}} | ||
* {{cmd|me}} | |||
* {{cmd|msg}} ({{cmd|w}}) | |||
* {{cmd|packstack}} | |||
* {{cmd|party}} | |||
* {{cmd|tell}} | |||
'''Level 1 – Game Directors / Operator''' | '''Level 1 – Game Directors / Operator''' | ||
* The player can see [[Minecraft:command block output]] in chat, if the game rule is enabled. | |||
* The player can place, break, and interact with [[Minecraft:command block|command]], [[Minecraft:structure block|structure]], and [[Minecraft:jigsaw]] blocks, if they are in [[Minecraft:Creative]] mode. | |||
* The [[File:Chat Commands Button BE.png|width=24x24|class=pixel-image]] button is available in the chat for [[Minecraft:Chat#Quick commands|quick commands]]. | |||
* The player can edit [[Minecraft:game settings]]. | |||
* The player can edit their own and other players' [[Minecraft:player permissions]] (excluding the Realm owner), including setting operator status | |||
* The player can kick other players, excluding the world owner but including the Realm owner. | |||
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|alwaysday}} | ||
* {{ | * {{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|list}} | ||
* {{ | * {{cmd|locate}} | ||
* {{ | * {{cmd|loot}} | ||
* {{ | * {{cmd|mobevent}} | ||
* {{ | * {{cmd|music}} | ||
* {{ | * {{cmd|particle}} | ||
* {{ | * {{cmd|playanimation}} | ||
* {{ | * {{cmd|playsound}} | ||
* {{ | * {{cmd|project}} (''[[Minecraft:Editor]]'' only) | ||
* {{cmd|recipe}} | |||
* {{ | * {{cmd|replaceitem}} | ||
* {{ | * {{cmd|ride}} | ||
* {{ | * {{cmd|say}} | ||
* {{ | * {{cmd|schedule}} | ||
* {{ | * {{cmd|scoreboard}} | ||
* {{cmd|scriptevent}} | |||
* {{ | * {{cmd|setblock}} | ||
* {{ | * {{cmd|setworldspawn}} | ||
* {{ | * {{cmd|spawnpoint}} | ||
* {{ | * {{cmd|spreadplayers}} | ||
* {{ | * {{cmd|stopsound}} | ||
* {{ | * {{cmd|structure}} | ||
* {{ | * {{cmd|summon}} | ||
* {{ | * {{cmd|tag}} | ||
* {{ | * {{cmd|teleport}} ({{cmd|tp}}) | ||
* {{ | * {{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''' | ||
Game administrator commands: | |||
* {{ | * {{cmd|deop}} | ||
* {{ | * {{cmd|op}} | ||
* {{ | * {{cmd|place}} | ||
* {{ | * {{cmd|reload}} | ||
* {{cmd|script}} | |||
* {{cmd|wsserver}} | |||
'''Level 3 – Host / Automation''' | '''Level 3 – Host / Automation''' | ||
Game 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|reloadpacketlimitconfig}} | ||
* {{ | * {{cmd|save}} | ||
* {{ | * {{cmd|sendshowstoreoffer}} | ||
* {{ | * {{cmd|serveridentity}} | ||
* {{cmd|stop}} | |||
* {{cmd|transfer}} | |||
{{notelist}} | {{notelist}} | ||
== Player | == Player permissions == | ||
{{ | {{Exclusive|Bedrock|section=1}} | ||
[[File: | {{expand section|Test some edge cases}} | ||
< | [[File:Bedrock Player Permissions screen old UI (Realms).png|thumb|The Player Permissions screen on Realms without specific permission options]] | ||
Player permissions dictate what a player can and cannot do in a world. | |||
* In the [[Minecraft:Create New World|Create new world]] and [[Minecraft:Edit world]] screen as well as the [[Minecraft:Realms]] Manage Members screen, the world host can set the default player permissions on first join between Visitor, Member (default), and Operator. | |||
** On [[Minecraft:servers]], this can be changed with <code>default-player-permission-level</code> in <code>[[Minecraft:server.properties]]</code>. | |||
* Any player with operator permissions plus the world host or Realm owner can configure player permissions per player (including themselves) on a separate screen accessible in the [[Minecraft:social]] drawer in the [[Minecraft:game menu]]. | |||
** On servers, this can also be done in <code>[[Minecraft:permissions.json]]</code>. Permissions can be reloaded or listed with {{Cmd|permission}}. | |||
** The Realm owner can never have their permissions changed and is always operator. | |||
* Realm administrators can change permissions per member in the "Manage Members" screen, or on the [[Minecraft:minecraft.net]] Realm settings, even if they are not online. | |||
There are four roles which can set specific permissions for players: | 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. | * '''Operator''', which enables all permissions, including operator commands, world settings, teleportation, and all of member permissions. | ||
* '''Member''', which enables mining, building, world | * '''Member''', which enables mining, building, and interaction with the world. | ||
* '''Visitor''', which only lets players view or observe the world only, with none of the permissions enabled. | * '''Visitor''', which only lets players view or observe the world only, with none of the permissions enabled. Visitors can still interact with [[Minecraft:entities]], such as [[Minecraft:trading]] with villagers, and use/manage [[Minecraft:item]]s in their inventory or picked up. | ||
* '''Custom''', which enables specific permissions set by operators. | * '''Custom''', which enables specific permissions set by operators. On Realms, this is not available and only the three preset roles are available. The following permissions can be applied: | ||
{{-}} | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ | ||
! | !Permission | ||
!Description | !Description | ||
! | !Enabled for | ||
|- | |- | ||
|Build | |Build | ||
|Allows the player to place | |Allows the player to place [[Minecraft:block]]s and [[Minecraft:entities]] in the world. This also allows players to interact with most blocks, such as [[Minecraft:bed]]s, [[Minecraft:bell]]s, [[Minecraft:sign]]s, and [[Minecraft:item frame]]s, but not [[Minecraft:shelves]] and blocks that open an inventory. | ||
| style="text-align: center" | Member | |||
|- | |- | ||
|Mine | |Mine | ||
|Allows the player to break blocks in the world. | |Allows the player to break blocks in the world. | ||
| | | style="text-align: center" | Member | ||
|- | |- | ||
|Use doors and switches | |Use doors and switches | ||
|Allows the player to use [[Minecraft:door]]s, [[Minecraft:lever]]s, and [[Minecraft:button]]s. | |Allows the player to use [[Minecraft:door]]s, [[Minecraft:lever]]s, and [[Minecraft:button]]s. | ||
| | | style="text-align: center" | Member | ||
|- | |- | ||
|Open containers | |Open containers | ||
|Allows the player to | |Allows the player to interact with blocks and entities using an inventory GUI, such as [[Minecraft:chest]]s, [[Minecraft:crafting table]]s, and mount inventories. | ||
| | | style="text-align: center" | Member | ||
|- | |- | ||
|Attack Players | |Attack Players | ||
|Allows the player to deal damage to | |Allows the player to deal damage to [[Minecraft:player]]s. | ||
| style="text-align: center" | Member | |||
|- | |- | ||
|Attack Mobs | |Attack Mobs | ||
|Allows the player to deal damage to [[Minecraft: | |Allows the player to deal damage to all [[Minecraft:entities]] other than players. | ||
| | | style="text-align: center" | Member | ||
|- | |- | ||
|Operator Commands | |Operator Commands | ||
| | |This enables Operator permissions for the player. Depending on whether this is a hosted world, joined world, or joined server, the permission level is increased, allowing usage of operator commands and changing permissions. See [[Minecraft:Permission level#Bedrock Edition|above]] for details. | ||
| style="text-align: center" | Operator | |||
|- | |- | ||
|Teleport | |Teleport | ||
|Allows the player to use the {{ | |Allows the player to use the {{cmd|tp}} command. | ||
| | | style="text-align: center" | Operator | ||
|} | |} | ||
Changes are saved only after leaving the menu. Regardless of their own permissions, players can always view all permissions from themselves and other players. | |||
[[File:Ore UI - Pause Menu - Player Permissions (Other Player) Screen - Kick Player Button Pop-Ups (Bedrock).png|thumb|width=200x200|Kick player warning]] | |||
Below all permissions, operators and world hosts have the option to kick a player from the world, similar to {{Cmd|kick}}. Realm administrators also have the option to ban another member from the Realm. | |||
== Situations == | == Situations == | ||
=== ''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 260: | ||
=== ''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 | ** In a [[Minecraft:BDS|dedicated server]] or Realm, if the player is Operator, the permission level is 1 (default for Realm owners). | ||
** In a | ** In a joined local world, if the player is Operator, the permission level is 2. | ||
** In a hosted local world, if the player is Operator (default), the permission level is 3. | |||
** 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. | ||
== 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 has been updated to match [[Minecraft:Ore UI]], except on Realms.}} | ||
}} | }} | ||
== Issues == | == Issues == | ||
{{ | {{issue list|permission}} | ||
== Gallery == | == Gallery == | ||
=== ''Minecraft Education''=== | === ''Minecraft Education''=== | ||
<gallery> | <gallery> | ||
Pause menu - Player permissions screen menu (Education).png|The "Player Permissions" screen | Pause menu - Player permissions screen menu (Education).png|The "Player Permissions" screen | ||
</gallery> | </gallery> | ||
== See also == | == See also == | ||
* [[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 == | ||
{{Reflist}} | |||
== 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:22, 7 October 2026
The permission level is used to describe the permissions a Minecraft:player or a command executor has in a Minecraft:world or Minecraft:server. 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.
Player permissionsTemplate:Only are a set of rules that dictate what players can and cannot do in a Minecraft:multiplayer world, such as building or attacking players.
Description
Levels are incremental, meaning level n allows anything that any level less than n allows.
Java Edition
Template:IN, the capabilities granted by level permission are only usable if the player has an Minecraft:operator status granted with Template:Cmd. Server administrators can set permission levels by editing the ops.json file.
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 open the GUI of Minecraft:Test 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.
Using the Template:Cmd command, enabling the "Operator Commands" setting in the Minecraft:player permissions, or setting a player's permissions to "Operator",Template:Note a player can be granted Operator status.
- On external servers and Minecraft:Realms, this sets the level to 1.
- On a joined multiplayer game (LAN or online), this sets the level to 2.
- On a locally hosted game, this sets the level to 3.
Using the Template:Cmd command, disabling the "Operator Commands" setting in the player permissions, or setting a player's permissions to "Member", a player can be revoked Operator status and always has a permission level of 0.
By default, the world host has permission level 3 (1 for Realm owners) and all joined players have permission level 0. Setting any other player to Operator permanently disables Minecraft:achievements for the world.
Note that certain commands might still be locked if cheats are disabled, which can be toggled in the game settings. The permission levels and their available commands are:Template:Note
Level 0 – Any / Normal
- The player can view the Minecraft:game settings but not change them.
- The player can view all Minecraft:player permissions but not change them.
- The owner of the world or Realm can edit their own and other player's Minecraft:player permissions, including setting Operator status and kicking players.
- The Realm owner can never edit their own player permissions; they are always Operator.
All commands available to non-privileged players:
- Template:Cmd
- Template:Cmd (Template:Cmd)
- Template:Cmd
- Template:Cmd
- Template:Cmd (Template:Cmd)
- Template:Cmd
- Template:Cmd
- Template:Cmd
Level 1 – Game Directors / Operator
- The player can see Minecraft:command block output in chat, if the game rule is enabled.
- The player can place, break, and interact with command, structure, and Minecraft:jigsaw blocks, if they are in Minecraft:Creative mode.
- The width=24x24 button is available in the chat for quick commands.
- The player can edit Minecraft:game settings.
- The player can edit their own and other players' Minecraft:player permissions (excluding the Realm owner), including setting operator status
- The player can kick other players, excluding the world owner but including the Realm owner.
Mostly commands that affect gameplay and entities: Template:Collapse
Level 2 – Admin / Host
Game administrator commands:
Level 3 – Host / Automation
Game host commands:
Level 4 – Owner / Admin
Server administrator commands:
Player permissions
Template:Exclusive Template:Expand section
Player permissions dictate what a player can and cannot do in a world.
- In the Create new world and Minecraft:Edit world screen as well as the Minecraft:Realms Manage Members screen, the world host can set the default player permissions on first join between Visitor, Member (default), and Operator.
- On Minecraft:servers, this can be changed with
default-player-permission-levelinMinecraft:server.properties.
- On Minecraft:servers, this can be changed with
- Any player with operator permissions plus the world host or Realm owner can configure player permissions per player (including themselves) on a separate screen accessible in the Minecraft:social drawer in the Minecraft:game menu.
- On servers, this can also be done in
Minecraft:permissions.json. Permissions can be reloaded or listed with Template:Cmd. - The Realm owner can never have their permissions changed and is always operator.
- On servers, this can also be done in
- Realm administrators can change permissions per member in the "Manage Members" screen, or on the Minecraft:minecraft.net Realm settings, even if they are not online.
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, and interaction with the world.
- Visitor, which only lets players view or observe the world only, with none of the permissions enabled. Visitors can still interact with Minecraft:entities, such as Minecraft:trading with villagers, and use/manage Minecraft:items in their inventory or picked up.
- Custom, which enables specific permissions set by operators. On Realms, this is not available and only the three preset roles are available. The following permissions can be applied:
| Permission | Description | Enabled for |
|---|---|---|
| Build | Allows the player to place Minecraft:blocks and Minecraft:entities in the world. This also allows players to interact with most blocks, such as Minecraft:beds, Minecraft:bells, Minecraft:signs, and Minecraft:item frames, but not Minecraft:shelves and blocks that open an inventory. | Member |
| Mine | Allows the player to break blocks in the world. | Member |
| Use doors and switches | Allows the player to use Minecraft:doors, Minecraft:levers, and Minecraft:buttons. | Member |
| Open containers | Allows the player to interact with blocks and entities using an inventory GUI, such as Minecraft:chests, Minecraft:crafting tables, and mount inventories. | Member |
| Attack Players | Allows the player to deal damage to Minecraft:players. | Member |
| Attack Mobs | Allows the player to deal damage to all Minecraft:entities other than players. | Member |
| Operator Commands | This enables Operator permissions for the player. Depending on whether this is a hosted world, joined world, or joined server, the permission level is increased, allowing usage of operator commands and changing permissions. See above for details. | Operator |
| Teleport | Allows the player to use the Template:Cmd command. | Operator |
Changes are saved only after leaving the menu. Regardless of their own permissions, players can always view all permissions from themselves and other players.
Below all permissions, operators and world hosts have the option to kick a player from the world, similar to Template:Cmd. Realm administrators also have the option to ban another member from the Realm.
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 or Realm, if the player is Operator, the permission level is 1 (default for Realm owners).
- In a joined local world, if the player is Operator, the permission level is 2.
- In a hosted local world, if the player is Operator (default), the 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
Minecraft Education
-
The "Player Permissions" screen
See also
- Minecraft:Commands/permission sets player's specific permission level.
- Minecraft:Ore UI, the Template:BE UI refresh.
References
Minecraft:ja:権限レベル Minecraft:pt:Nível de permissão Minecraft:ru:Уровень доступа Minecraft:uk:Рівень дозволу Minecraft:zh:权限等级