/inputpermission

This feature is exclusive to Bedrock Edition and Minecraft Education.
 
/inputpermission
Permission level
required

1

Restrictions

Cheat only

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.
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 — Turn the camera view
  • dismount — Dismount
  • jump — Jump and fly upward
  • lateral_movement — Move
  • mount — Mount
  • move_backward — Move backward
  • move_forward — Move forward
  • move_left — Move left
  • move_right — Move right
  • movement — Move, sneak, jump, and fly
  • sneak — 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

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.80Preview 1.19.80.21Added /inputpermission.
1.21.50Preview 1.21.50.20Now the permission: permission argument of /inputpermission command accepts more values.

Navigation