remove_potion_effect
Removes a specified potion effect from the player or victim.
Categories: potion
Required arguments
| Key(s) | Description | Type |
|---|
effect | The potion effect type to remove. | POTION_EFFECT |
Optional arguments
| Key(s) | Description | Type | Default |
|---|
apply_to_player | If true, removes the effect from the player instead of the victim. | BOOLEAN | false |
Trigger parameters required
Example
effects:
- id: remove_potion_effect
args:
effect: <value>
apply_to_player: true # ← Optional
Behaviour
| Setting | Value |
|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |