remove_potion_effect

Removes a specified potion effect from the player or victim.

Categories: potion

Required arguments

Key(s)DescriptionType
effectThe potion effect type to remove.POTION_EFFECT

Optional arguments

Key(s)DescriptionTypeDefault
apply_to_playerIf true, removes the effect from the player instead of the victim.BOOLEANfalse

Trigger parameters required

  • PLAYER

Example

effects:
  - id: remove_potion_effect
    args:
      effect: <value>
      apply_to_player: true # ← Optional

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue