Minecraft:Commands/inputpermission: Difference between revisions
From SAS Gaming Wiki
More actions
Fix template calls: add MC/ prefix |
Sync: updated from Minecraft Tag: Manual revert |
||
| Line 1: | Line 1: | ||
{{ | {{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 | 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 == | ||
{{ | {{argument|targets: target|CommandSelector<Player>|be=1}} | ||
:Specifies the owner of the permission. | :Specifies the owner of the permission. | ||
:{{ | :{{arg desc|be=CommandSelector<Player>}} | ||
{{ | {{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: | ||
:* {{ | :* {{cd|camera}} — Turn the camera view | ||
:* {{ | :* {{cd|dismount}} — Dismount | ||
:* {{ | :* {{cd|jump}} — Jump and fly upward | ||
:* {{ | :* {{cd|lateral_movement}} — Move | ||
:* {{ | :* {{cd|mount}} — Mount | ||
:* {{ | :* {{cd|move_backward}} — Move backward | ||
:* {{ | :* {{cd|move_forward}} — Move forward | ||
:* {{ | :* {{cd|move_left}} — Move left | ||
:* {{ | :* {{cd|move_right}} — Move right | ||
:* {{ | :* {{cd|movement}} — Move, sneak, jump, and fly | ||
:* {{ | :* {{cd|sneak}} — Sneak and fly downward | ||
{{ | {{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 == | ||
{{ | {{Output table|onlybe=1}} | ||
{{ | {{Output table|edition=be|On Fail|0}} | ||
{{ | {{Output table|On Success|1}} | ||
{{ | {{Output table}} | ||
== History == | == History == | ||
{{HistoryTable | {{HistoryTable | ||
|{{ | |{{HistoryLine|bedrock}} | ||
|{{HistoryLine||1.19.80|dev=Preview 1.19.80.21|Added {{ | |{{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 {{ | |{{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 == | ||
{{ | {{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
- Specifies the owner of the permission.
- Template:Arg desc
- Specifies the authority for the operation.
- Must be one of the following:
- Template:Cd — Turn the camera view
- Template:Cd — Dismount
- Template:Cd — Jump and fly upward
- Template:Cd — Move
- Template:Cd — Mount
- Template:Cd — Move backward
- Template:Cd — Move forward
- Template:Cd — Move left
- Template:Cd — Move right
- Template:Cd — Move, sneak, jump, and fly
- Template:Cd — Sneak and fly downward
- The status of the specified permission.
- Must be for
enabled(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
External links
Minecraft:de:Befehl/inputpermission Minecraft:ja:コマンド/inputpermission Minecraft:lzh:令/inputpermission Minecraft:pt:Comandos/inputpermission Minecraft:zh:命令/inputpermission