Try our affiliated browser extension - redirect to BreezeWiki automatically!

Commands/inputpermission

Specify the operation for the player's permission status.

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.

Parameters

targets: target: CommandSelector<Player>

Specifies the owner of the permission.
Must be a player name or a target selector.

permission: permission: enum

Specifies the authority for the operation.
Must be one of the following:
  • camera — Whether the player can turn the camera view.
  • movement — Whether the player can move.

state: state: enum

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

Results

CommandTriggerBedrock Edition
anythe arguments are not specified correctly Unparseable
anyOtherwiseAssigning operations to permission status

Output

CommandEditionSituationSuccess Count
anyBedrock EditionOn Fail0
On Success1

History

Bedrock Edition
1.19.80beta 1.19.80.21Added/inputpermission.