# Potion effect Event

## Required arguments

| Order | Type       | Argument                     |
| ----- | ---------- | ---------------------------- |
| 1     | potiontype | potion that needs to be used |
| 2     | number     | duration                     |
| 3     | number     | strength of the effect       |
| 4     | decimal    | percentage of occurrence     |

## What it does

Whenever the event is triggered, a potion effect will be applied to all the players in a specified radius of the mob.

## Example usage

```yaml
actions:
  potion:
    events:
      - potion-effect HUNGER 5 2
    commands: []
```

{% hint style="info" %}
You can find the available potion effects [here](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/potion/PotionEffectType.html).
{% endhint %}
