Passive Listener Equip - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

PassiveSpell trigger: equip

Properties:

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

Description:

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

String Format Options:

The argument is optional, but it may be a pipe-separated (|) list of items in the Magic Item String format.

triggers:
    - equip (items)

Section Format Options:

(Unsupported for now.)