|
**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 |
|
|
| Attribute | Aliases | Description | Default |
|
|
| ---------- | ----- | ----------- |
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
| permission | p | The permission to check for. |
|
|
| permission| p | The permission to check for. | |
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
**Examples:**
|
|
## Examples
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
Conditions:
|
|
|
|
- haspermission{p=permission.node.here} true
|
|
```
|
|
```
|
|
Conditions:
|
|
```yaml
|
|
- haspermission{p=permission.node.here} true
|
|
TargetConditions:
|
|
|
|
- haspermission{p=permission.node.here} true
|
|
TargetConditions:
|
|
```
|
|
- haspermission{p=permission.node.here} true
|
|
```yaml
|
|
|
|
TriggerConditions:
|
|
TriggerConditions:
|
|
- haspermission{p=permission.node.here} true
|
|
- haspermission{p=permission.node.here} true
|
|
|
|
```
|
|
```
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
**Extra Information:**
|
|
|
|
|
|
|
|
- [x] Type: Entity(Player) |
|
## Aliases
|
|
\ No newline at end of file |
|
- [x] permission |
|
|
|
\ No newline at end of file |