Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Permission level: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Remove broken links to missing pages
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Permission level''' is used to describe the permissions a player or a command executor has.
[[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.


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 permission levels may allow players to configure certain game settings:
{{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 &ndash; Operator'''
'''Level 0 &ndash; 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 &ndash; Moderator'''
'''Level 1 &ndash; Moderator'''
* The player can bypass spawn protection.
* The player can bypass [[Minecraft:spawn protection]].


'''Level 2 &ndash; Gamemaster'''
'''Level 2 &ndash; Gamemaster'''
* More commands are available.
* More [[Minecraft:command]]s are available.
* The player can use command blocks.
* 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 {{key|F3+I}} debug hotkey, and copy the client-side NBT data when pressing {{key|shift+F3+I}}.
* The player can open the GUI of [[Minecraft:Test Blocks]].
* The player can use {{key|F3+F4}} (game mode switcher) and {{key|F3+N}} debug hotkey (toggle between Spectator and the previous game mode).
* 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 selectors can be used in commands like {{cmd|tell}} and raw JSON texts.
* 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 &ndash; Admin'''
'''Level 3 &ndash; Admin'''
Line 33: Line 37:


=== ''Bedrock Edition'' ===
=== ''Bedrock Edition'' ===
{{IN|bedrock}}, 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.
{{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.


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]].}}
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:{{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 &ndash; Any / Normal'''
'''Level 0 &ndash; 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|help}}
 
* {{cmd|gametips}}
* {{cmd|help}} ({{cmd|?}})
* {{cmd|list}}
* {{cmd|list}}
* {{cmd|me}}
* {{cmd|me}}
* {{cmd|msg}} ({{cmd|w}})
* {{cmd|packstack}}
* {{cmd|party}}
* {{cmd|tell}}
* {{cmd|tell}}


'''Level 1 &ndash; Game Directors / Operator'''
'''Level 1 &ndash; 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|aimassist}}
* {{cmd|alwaysday}}
* {{cmd|camera}}
* {{cmd|camera}}
* {{cmd|camerashake}}
* {{cmd|camerashake}}
Line 75: Line 110:
* {{cmd|kick}}
* {{cmd|kick}}
* {{cmd|kill}}
* {{cmd|kill}}
* {{cmd|list}}
* {{cmd|locate}}
* {{cmd|locate}}
* {{cmd|loot}}
* {{cmd|loot}}
Line 82: Line 118:
* {{cmd|playanimation}}
* {{cmd|playanimation}}
* {{cmd|playsound}}
* {{cmd|playsound}}
* {{cmd|project}}
* {{cmd|project}} (''[[Minecraft:Editor]]'' only)
* {{cmd|recipe}}
* {{cmd|recipe}}
* {{cmd|reload}}
* {{cmd|replaceitem}}
* {{cmd|replaceitem}}
* {{cmd|ride}}
* {{cmd|ride}}
Line 90: Line 125:
* {{cmd|schedule}}
* {{cmd|schedule}}
* {{cmd|scoreboard}}
* {{cmd|scoreboard}}
* {{cmd|script}}
* {{cmd|scriptevent}}
* {{cmd|scriptevent}}
* {{cmd|setblock}}
* {{cmd|setblock}}
Line 100: Line 134:
* {{cmd|summon}}
* {{cmd|summon}}
* {{cmd|tag}}
* {{cmd|tag}}
* {{cmd|teleport}}
* {{cmd|teleport}} ({{cmd|tp}})
* {{cmd|tellraw}}
* {{cmd|tellraw}}
* {{cmd|testfor}}
* {{cmd|testfor}}
Line 116: Line 150:
'''Level 2 &ndash; Admin / Host'''
'''Level 2 &ndash; Admin / Host'''


Server operator commands:
Game administrator commands:
* {{cmd|deop}}
* {{cmd|deop}}
* {{cmd|op}}
* {{cmd|op}}
* {{cmd|place}}
* {{cmd|place}}
* {{cmd|reload}}
* {{cmd|script}}
* {{cmd|wsserver}}
* {{cmd|wsserver}}


'''Level 3 &ndash; Host / Automation'''
'''Level 3 &ndash; Host / Automation'''


Server host commands:  
Game host commands:  


* {{cmd|setmaxplayers}}
* {{cmd|setmaxplayers}}
Line 135: Line 171:
* {{cmd|permission}}
* {{cmd|permission}}
* {{cmd|reloadconfig}}
* {{cmd|reloadconfig}}
* {{cmd|reloadpacketlimitconfig}}
* {{cmd|save}}
* {{cmd|save}}
* {{cmd|sendshowstoreoffer}}
* {{cmd|sendshowstoreoffer}}
* {{cmd|serveridentity}}
* {{cmd|stop}}
* {{cmd|stop}}
* {{cmd|transfer}}
* {{cmd|transfer}}
Line 142: Line 180:
{{notelist}}
{{notelist}}


== Player Permissions ==
== Player permissions ==
{{Exclusive|Bedrock|section=1}}
{{Exclusive|Bedrock|section=1}}
[[File:Ore UI - Game Menu - Player Permissions Screen Menu (Bedrock).png|380px|thumb|The Player Permissions menu {{in|be}}.]]
{{expand section|Test some edge cases}}
<!-- Used for Tutorial:Menu_screen/Bedrock_Edition transclusion --> <section begin="player-permissions"/>
[[File:Bedrock Player Permissions screen old UI (Realms).png|thumb|The Player Permissions screen on Realms without specific permission options]]
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 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 and entities interactions.
* '''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. Following permissions can be applied for custom role:
* '''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"
|+
|+
!Option
!Permission
!Description
!Description
!Default
!Enabled for
|-
|-
|Build
|Build
|Allows the player to place blocks and entities in the world.
|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.
|[[File:Ore UI - Toggle ON Button (Bedrock).png|link=|55px]]
| 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.
|[[File:Ore UI - Toggle ON Button (Bedrock).png|link=|55px]]
| 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.
|[[File:Ore UI - Toggle ON Button (Bedrock).png|link=|55px]]
| style="text-align: center" | Member
|-
|-
|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 interact with blocks and entities using an inventory GUI, such as [[Minecraft:chest]]s, [[Minecraft:crafting table]]s, and mount inventories.
|[[File:Ore UI - Toggle ON Button (Bedrock).png|link=|55px]]
| style="text-align: center" | Member
|-
|-
|Attack Players
|Attack Players
|Allows the player to deal damage to players.
|Allows the player to deal damage to [[Minecraft:player]]s.
|[[File:Ore UI - Toggle ON Button (Bedrock).png|link=|55px]]
| style="text-align: center" | Member
|-
|-
|Attack Mobs
|Attack Mobs
|Allows the player to deal damage to [[Minecraft:mob]]s.
|Allows the player to deal damage to all [[Minecraft:entities]] other than players.
|[[File:Ore UI - Toggle ON Button (Bedrock).png|link=|55px]]
| style="text-align: center" | Member
|-
|-
|Operator Commands
|Operator Commands
|Allows the player to execute operator [[Minecraft:commands]]. Also sets the player's permission level depending on the environment, see below.
|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.
|'''Member:''' [[File:Ore UI - Toggle OFF Button (Bedrock).png|link=|55px]]
| style="text-align: center" | Operator
'''Operator:'''
[[File:Ore UI - Toggle ON Button (Bedrock).png|link=|55px]]
|-
|-
|Teleport
|Teleport
|Allows the player to use the {{cmd|tp}} command.
|Allows the player to use the {{cmd|tp}} command.
|'''Member:''' [[File:Ore UI - Toggle OFF Button (Bedrock).png|link=|55px]]
| style="text-align: center" | Operator
'''Operator:'''
[[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 operators, but they can still view them for themselves and other joined players.
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]]
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"/>
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's '''"Operator Commands"''' option is enabled in the "Player Permission" screen, their permission level is 1.
** In a [[Minecraft:BDS|dedicated server]] or Realm, if the player is Operator, the permission level is 1 (default for Realm owners).
** 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 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.
Line 233: Line 276:
{{HistoryTable
{{HistoryTable
|{{HistoryLine|java}}
|{{HistoryLine|java}}
|{{HistoryLine||1.14.4|dev=Pre-Release 4|Added the <code>function-permission-level</code> option that controls what permission level functions have.}}
|{{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.}}
}}
}}


Line 239: Line 282:
{{HistoryTable
{{HistoryTable
|{{HistoryLine|bedrock}}
|{{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 Pause menu screen has been updated to match [[Minecraft:Ore UI]], available in [[Minecraft:Minecraft Preview|preview]] only.}}
|{{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.}}
|{{HistoryLine|||dev=release|Player Permissions screen in Pause menu screen is released to the public and no longer in [[Minecraft:Minecraft Preview|preview]] only.}}
}}
}}


Line 247: Line 289:


== Gallery ==
== Gallery ==
=== ''Bedrock Edition'' ===
<gallery>
Ore UI - Game Menu - Player Permissions Screen Menu (Bedrock).png|The "Player Permissions" screen.
Ore UI - Game Menu - Player Permissions (Other Player) Screen Menu (Bedrock).png|The "Player Permissions" screen from other players.
Ore UI - Multiplayer Game Menu - Player Permissions Locked Screen Menu (Bedrock).png|The "Player Permissions" screen when all options are locked, in a server.
</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]] 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:Commands/permission]] sets player's specific permission level.
* [[Minecraft:Ore UI]], the {{BE}} UI refresh.
* [[Minecraft:Ore UI]], the {{BE}} UI refresh.


== References ==
== References ==
<references />
{{Reflist}}


== Navigation ==
== Navigation ==
Line 274: Line 306:
[[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

File:Ore UI - Game Menu - Player Permissions (Other Player) Screen Menu (Bedrock).png
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, 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

Level 1 – Moderator

Level 2 – Gamemaster

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

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

Game administrator commands:

Level 3 – Host / Automation

Game host commands:

Level 4 – Owner / Admin

Server administrator commands:

Template:Notelist

Player permissions

Template:Exclusive Template:Expand section

File:Bedrock Player Permissions screen old UI (Realms).png
The Player Permissions screen on Realms without specific permission options

Player permissions dictate what a player can and cannot do in a world.

  • 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.
  • 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.

File:Ore UI - Pause Menu - Player Permissions (Other Player) Screen - Kick Player Button Pop-Ups (Bedrock).png
Kick player warning

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

Bedrock Edition

  • For a function:
  • 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

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

Issues

Template:Issue list

Gallery

Minecraft Education

See also

References

Template:Reflist

Navigation

Template:Navbox commands

Minecraft:ja:権限レベル Minecraft:pt:Nível de permissão Minecraft:ru:Уровень доступа Minecraft:uk:Рівень дозволу Minecraft:zh:权限等级