lp_permission_tristate
Passes when the permission resolves to the specified tristate value for the player.
Categories: permission
Required arguments
| Key(s) | Description | Type |
|---|---|---|
permission | The permission node to check. | STRING |
Optional arguments
| Key(s) | Description | Type | Default |
|---|---|---|---|
state | The tristate value the permission must resolve to. Choices: any Tristate value | STRING | TRUE |
Example
conditions:
- id: lp_permission_tristate
args:
permission: myplugin.vip.access
state: <Tristate> # ← Optional