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

Minecraft:Commands/inputpermission: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Fix template calls: add MC/ prefix
SyncBot (talk | contribs)
Sync: updated from Minecraft
Tag: Manual revert
 
Line 1: Line 1:
{{MC/Exclusive|bedrock|education}}
{{Exclusive|bedrock|education}}
{{Infobox command
{{Infobox command
|name=inputpermission
|name=inputpermission
Line 6: Line 6:
}}
}}


Specify the operation for the player's input permission status, such as player movements, camera movements, and more.
Specify the operation for the player's input permission status, such as [[Minecraft:player movement]]s, camera movements, and more.


== Syntax ==
== Syntax ==
Line 15: Line 15:


== Arguments ==
== Arguments ==
{{MC/Argument|targets: target|CommandSelector<Player>|be=1}}
{{argument|targets: target|CommandSelector<Player>|be=1}}
:Specifies the owner of the permission.
:Specifies the owner of the permission.
:{{MC/Arg desc|be=CommandSelector<Player>}}
:{{arg desc|be=CommandSelector<Player>}}


{{MC/Argument|permission: permission|enum|be=1}}
{{argument|permission: permission|enum|be=1}}
:Specifies the authority for the operation.
:Specifies the authority for the operation.
:Must be one of the following:
:Must be one of the following:
:* {{MC/Cd|camera}} — Turn the camera view
:* {{cd|camera}} — Turn the camera view
:* {{MC/Cd|dismount}} — Dismount
:* {{cd|dismount}} — Dismount
:* {{MC/Cd|jump}} — Jump and fly upward
:* {{cd|jump}} — Jump and fly upward
:* {{MC/Cd|lateral_movement}} — Move
:* {{cd|lateral_movement}} — Move
:* {{MC/Cd|mount}} — Mount
:* {{cd|mount}} — Mount
:* {{MC/Cd|move_backward}} — Move backward
:* {{cd|move_backward}} — Move backward
:* {{MC/Cd|move_forward}} — Move forward
:* {{cd|move_forward}} — Move forward
:* {{MC/Cd|move_left}} — Move left
:* {{cd|move_left}} — Move left
:* {{MC/Cd|move_right}} — Move right
:* {{cd|move_right}} — Move right
:* {{MC/Cd|movement}} — Move, sneak, jump, and fly
:* {{cd|movement}} — Move, sneak, jump, and fly
:* {{MC/Cd|sneak}} — Sneak and fly downward
:* {{cd|sneak}} — Sneak and fly downward


{{MC/Argument|state: state|enum|be=1}}
{{argument|state: state|enum|be=1}}
:The status of the specified permission.
:The status of the specified permission.
:Must be for<code>enabled</code> (Enable) or<code>disabled</code> (Disable).
:Must be for<code>enabled</code> (Enable) or<code>disabled</code> (Disable).
Line 46: Line 46:


== Output ==
== Output ==
{{MC/Output table|onlybe=1}}
{{Output table|onlybe=1}}
{{MC/Output table|edition=be|On Fail|0}}
{{Output table|edition=be|On Fail|0}}
{{MC/Output table|On Success|1}}
{{Output table|On Success|1}}
{{MC/Output table}}
{{Output table}}


== History ==
== History ==
{{HistoryTable
{{HistoryTable
|{{MC/HistoryLine|bedrock}}
|{{HistoryLine|bedrock}}
|{{HistoryLine||1.19.80|dev=Preview 1.19.80.21|Added {{MC/Cmd|inputpermission|link=none}}.}}
|{{HistoryLine||1.19.80|dev=Preview 1.19.80.21|Added {{cmd|inputpermission|link=none}}.}}
|{{HistoryLine||1.21.50|dev=Preview 1.21.50.20|Now the <code>permission: permission</code> argument of {{MC/Cmd|inputpermission|link=none}} command accepts more values.}}
|{{HistoryLine||1.21.50|dev=Preview 1.21.50.20|Now the <code>permission: permission</code> argument of {{cmd|inputpermission|link=none}} command accepts more values.}}
}}
}}


Line 63: Line 63:


== Navigation ==
== Navigation ==
{{MC/Navbox commands}}
{{Navbox commands}}


de:Befehl/inputpermission
[[Minecraft:de:Befehl/inputpermission]]
ja:コマンド/inputpermission
[[Minecraft:ja:コマンド/inputpermission]]
lzh:令/inputpermission
[[Minecraft:lzh:令/inputpermission]]
pt:Comandos/inputpermission
[[Minecraft:pt:Comandos/inputpermission]]
zh:命令/inputpermission
[[Minecraft:zh:命令/inputpermission]]

Latest revision as of 11:07, 5 September 2026

Template:Exclusive Template:Infobox command

Specify the operation for the player's input permission status, such as Minecraft:player movements, camera movements, and more.

Syntax

inputpermission query <targets: target> <permission: permission> [state: state]
Queries the status of the specified privilege of the target.
inputpermission set <targets: target> <permission: permission> <state: state>
Modifies the status of the specified privilege of the target.

Arguments

Template:Argument

Specifies the owner of the permission.
Template:Arg desc

Template:Argument

Specifies the authority for the operation.
Must be one of the following:

Template:Argument

The status of the specified permission.
Must be forenabled (Enable) ordisabled (Disable).
For... query ..., If not specified, all states are queried.

Results

Template:Result table Template:Result table Template:Result table Template:Result table

Output

Template:Output table Template:Output table Template:Output table Template:Output table

History

Template:HistoryTable

External links

Navigation

Template:Navbox commands

Minecraft:de:Befehl/inputpermission Minecraft:ja:コマンド/inputpermission Minecraft:lzh:令/inputpermission Minecraft:pt:Comandos/inputpermission Minecraft:zh:命令/inputpermission