View at: Template:Commands/content [edit]
Commands/inputpermission - minecraft.fandom.com
Jump to navigation
Jump to search
Treść tej podstrony pochodzi z artykułu „Commands/inputpermission” w domenie minecraft.fandom.com na licencji CC BY-NC-SA 3.0
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 for
enabled(Enable) ordisabled(Disable). - For
... query ..., If not specified, all states will be queried.
Results[]
| Command | Trigger | Bedrock Edition |
|---|---|---|
| any | the arguments are not specified correctly | Unparseable |
| any | Otherwise | Assigning operations to permission status |
Output[]
| Command | Edition | Situation | Success Count |
|---|---|---|---|
| any | Bedrock Edition | On Fail | 0 |
| On Success | 1 |
History[]
| Bedrock Edition | |||||
|---|---|---|---|---|---|
| 1.19.80 | beta 1.19.80.21 | Added/inputpermission. | |||