Changes
Page history
updated layout and informations
authored
May 29, 2023
by
Lxlp
Show whitespace changes
Inline
Side-by-side
Skills/conditions/haspermission.md
View page @
6ac488ba
**Description:**
This condition checks if the target player has a permission.
## Description
This condition checks if the target player has a permission.
---
**
Attributes
:**
##
Attributes
| Attribute
| Alias | Description |
|
----------
| ----- | -----------
|
| permission
| p | The permission to check for. |
| Attribute | Alias
es
| Description
| Default
|
|
-
----------
|-----------|----------------------------------------------------------------------|---------
|
| permission| p
| The permission to check for.
|
|
---
**
Examples
:**
##
Examples
```
```
yaml
Conditions
:
-
haspermission{p=permission.node.here}
true
```
```
yaml
TargetConditions
:
-
haspermission{p=permission.node.here}
true
```
```
yaml
TriggerConditions
:
-
haspermission{p=permission.node.here}
true
```
---
**Extra Information:**
-
[x] Type: Entity(Player)
\ No newline at end of file
## Aliases
-
[x] permission
\ No newline at end of file