permanent_potion_effect
Permanently applies a potion effect to the player for as long as the holder is active, surviving respawns.
Categories: player, potion
Required arguments
| Key(s) | Description | Type |
|---|
effect | The potion effect type to apply (e.g. SPEED, STRENGTH). | POTION_EFFECT |
level | The amplifier level of the potion effect (1 = level I). Supports expressions. | EXPRESSION |
Optional arguments
| Key(s) | Description | Type | Default |
|---|
particles | Whether the potion effect shows particles. Defaults to true. | BOOLEAN | true |
icon | Whether the potion effect shows an icon in the HUD. Defaults to true. | BOOLEAN | true |
Example
effects:
- id: permanent_potion_effect
args:
effect: <value>
level: 1 + %level% / 10
particles: true # ← Optional
icon: true # ← Optional
Behaviour
| Setting | Value |
|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | false |