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)
Remove broken links to missing pages
SyncBot (talk | contribs)
Fix template calls: add MC/ prefix
 
Line 1: Line 1:
{{Exclusive|bedrock|education}}
{{MC/Exclusive|bedrock|education}}
{{Infobox command
{{Infobox command
|name=inputpermission
|name=inputpermission
Line 15: Line 15:


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


{{argument|permission: permission|enum|be=1}}
{{MC/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
:* {{MC/Cd|camera}} — Turn the camera view
:* {{cd|dismount}} — Dismount
:* {{MC/Cd|dismount}} — Dismount
:* {{cd|jump}} — Jump and fly upward
:* {{MC/Cd|jump}} — Jump and fly upward
:* {{cd|lateral_movement}} — Move
:* {{MC/Cd|lateral_movement}} — Move
:* {{cd|mount}} — Mount
:* {{MC/Cd|mount}} — Mount
:* {{cd|move_backward}} — Move backward
:* {{MC/Cd|move_backward}} — Move backward
:* {{cd|move_forward}} — Move forward
:* {{MC/Cd|move_forward}} — Move forward
:* {{cd|move_left}} — Move left
:* {{MC/Cd|move_left}} — Move left
:* {{cd|move_right}} — Move right
:* {{MC/Cd|move_right}} — Move right
:* {{cd|movement}} — Move, sneak, jump, and fly
:* {{MC/Cd|movement}} — Move, sneak, jump, and fly
:* {{cd|sneak}} — Sneak and fly downward
:* {{MC/Cd|sneak}} — Sneak and fly downward


{{argument|state: state|enum|be=1}}
{{MC/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}}
{{MC/Output table|onlybe=1}}
{{Output table|edition=be|On Fail|0}}
{{MC/Output table|edition=be|On Fail|0}}
{{Output table|On Success|1}}
{{MC/Output table|On Success|1}}
{{Output table}}
{{MC/Output table}}


== History ==
== History ==
{{HistoryTable
{{HistoryTable
|{{HistoryLine|bedrock}}
|{{MC/HistoryLine|bedrock}}
|{{HistoryLine||1.19.80|dev=Preview 1.19.80.21|Added {{cmd|inputpermission|link=none}}.}}
|{{HistoryLine||1.19.80|dev=Preview 1.19.80.21|Added {{MC/Cmd|inputpermission|link=none}}.}}
|{{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.}}
|{{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.}}
}}
}}


Line 63: Line 63:


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


de:Befehl/inputpermission
de:Befehl/inputpermission

Latest revision as of 20:11, 9 April 2026

Script error: No such module "Exclusive". Template:Infobox command

Specify the operation for the player's input permission status, such as 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

targets: target: CommandSelector<Player>

Specifies the owner of the permission.
{{#vardefine:onlyje|Template:IN,}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|inapplicability}}Template:Error{{#vardefine:onlyje|}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|}}

permission: permission: enum

Specifies the authority for the operation.
Must be one of the following:
  1. REDIRECT Template:Code

Template:Redr — Turn the camera view

  1. REDIRECT Template:Code

Template:Redr — Dismount

  1. REDIRECT Template:Code

Template:Redr — Jump and fly upward

  1. REDIRECT Template:Code

Template:Redr — Move

  1. REDIRECT Template:Code

Template:Redr — Mount

  1. REDIRECT Template:Code

Template:Redr — Move backward

  1. REDIRECT Template:Code

Template:Redr — Move forward

  1. REDIRECT Template:Code

Template:Redr — Move left

  1. REDIRECT Template:Code

Template:Redr — Move right

  1. REDIRECT Template:Code

Template:Redr — Move, sneak, jump, and fly

  1. REDIRECT Template:Code

Template:Redr — Sneak and fly downward

state: state: enum

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

{{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-table-lines|-2}}{{#vardefine:output-table-lines-now|}}{{#vardefine:command-num-now|}}{{#vardefine:command-line-now|}}{{#vardefine:commands-num|}}{{#vardefine:output-edition-num-now|}}{{#vardefine:output-edition-line-now|}}{{#vardefine:output-editions-num|}}{{#vardefine:je-outputs-dis|}}

{{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:situation-{{#var:output-table-lines}}|On Fail}}{{#vardefine:output1-{{#var:output-table-lines}}|0}}{{#vardefine:output2-{{#var:output-table-lines}}|N/A}}{{#vardefine:output3-{{#var:output-table-lines}}|N/A}}{{#vardefine:command-row-{{#var:commands-num}}|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-editions-num|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-edition-{{#var:output-editions-num}}|be}}{{#vardefine:output-edition-row-{{#var:output-editions-num}}|1}} {{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:situation-{{#var:output-table-lines}}|On Success}}{{#vardefine:output1-{{#var:output-table-lines}}|1}}{{#vardefine:output2-{{#var:output-table-lines}}|N/A}}{{#vardefine:output3-{{#var:output-table-lines}}|N/A}}{{#vardefine:command-row-{{#var:commands-num}}|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-edition-row-{{#var:output-editions-num}}|Expression error: Unrecognized punctuation character "{".}}

{{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-table-lines|-2}}{{#vardefine:output-table-lines-now|}}{{#vardefine:command-num-now|}}{{#vardefine:command-line-now|}}{{#vardefine:commands-num|}}{{#vardefine:output-edition-num-now|}}{{#vardefine:output-edition-line-now|}}{{#vardefine:output-editions-num|}}{{#vardefine:je-outputs-dis|}}

History

Template:HistoryTable

External links

Navigation

All editions
Removed
Template:El only
Debug
Removed
Template:Els only
Template:El only
Removed
Template:El only
Removed
Template:Els only
Removed
Joke
Related

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