/inputpermission
¶
文档版本:1.21.60.21
/inputpermission
命令command.inputpermission.description
执行条件
该命令需要权限等级:gamedirectors
|1
。该命令需要开启作弊。
用法¶
command.inputpermission.1.description
option
:Option_Set- 枚举类型。command.enum.option_set.description单值枚举,请直接使用
set
。 targets
:target- 基本类型。command.inputpermission.targets.description
permission
:permission- 枚举类型。command.enum.permission.description枚举值如下:
-
值 描述 camera
command.enum.permission.camera movement
command.enum.permission.movement jump
command.enum.permission.jump lateral_movement
command.enum.permission.lateral_movement sneak
command.enum.permission.sneak dismount
command.enum.permission.dismount mount
command.enum.permission.mount move_backward
command.enum.permission.move_backward move_forward
command.enum.permission.move_forward move_left
command.enum.permission.move_left move_right
command.enum.permission.move_right state
:state- 枚举类型。command.enum.state.description枚举值如下:
-
值 描述 enabled
command.enum.state.enabled disabled
command.enum.state.disabled
command.inputpermission.2.description
option
:Option_Query- 枚举类型。command.enum.option_query.description单值枚举,请直接使用
query
。 targets
:target- 基本类型。command.inputpermission.targets.description
permission
:permission- 枚举类型。command.enum.permission.description枚举值如下:
-
值 描述 camera
command.enum.permission.camera movement
command.enum.permission.movement jump
command.enum.permission.jump lateral_movement
command.enum.permission.lateral_movement sneak
command.enum.permission.sneak dismount
command.enum.permission.dismount mount
command.enum.permission.mount move_backward
command.enum.permission.move_backward move_forward
command.enum.permission.move_forward move_left
command.enum.permission.move_left move_right
command.enum.permission.move_right state
:state- 枚举类型,可选。command.enum.state.description枚举值如下:
-
值 描述 enabled
command.enum.state.enabled disabled
command.enum.state.disabled