updated layout and informations authored by Lxlp's avatar Lxlp
**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 | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| permission| p | The permission to check for. | |
---
**Examples:**
## Examples
```yaml
Conditions:
- haspermission{p=permission.node.here} true
```
Conditions:
- haspermission{p=permission.node.here} true
TargetConditions:
- haspermission{p=permission.node.here} true
TriggerConditions:
- 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