# Priority Actions

> ## Example

```yaml
actions:
  - condition: 'player.hasPermission("user.stupid")'
    priority: 3
    list:
    - 'tell: you are stupid'
  - condition: 'player.hasPermission("user.default")'
    priority: 2
    list:
    - 'tell: you are nobody'
    - 'console: give %player_name% diamond 1<chance:0.8>'
```
