Passive Listener Unequip - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

PassiveSpell trigger: unequip

Properties:

Property Value
Cancellable false
Has Entity Target false
Has Location Target false

Description:

The listener activates whenever a player removes their armor. Since 4.0 beta 17 the trigger activates for non-players as well.

String Format Options:

Arguments are optional but may be a pipe-separated (|) list of items in the Magic Item String format.

triggers:
    - unequip (items)

Section Format Options:

(Unsupported for now.)