Edit

Share via


/inputpermission Command

Optionally enables or disables input permissions for a player.

Permission Level Game Directors
Requires Cheats? Yes

Usage

Set input permission

/inputpermission set <targets: target> <permission: permission> <state: state>

Sets the input permission for the selection to a state.

Query input permission

/inputpermission query <targets: target> <permission: permission> [state: state]

Retrieves the permissions of entities that match the selection.

Arguments

  • permission: permission
  • state: state
  • targets: target

Enums

permission

Permission type to set.

Values

  • camera
  • movement
  • jump
  • lateral_movement
  • sneak
  • dismount
  • mount
  • move_backward
  • move_forward
  • move_left
  • move_right

state

State value to set for the permission.

Values

  • enabled
  • disabled