Passive Listener Pickup Item - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

PassiveSpell trigger: pickupitem

Properties:

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

Description:

The listener activates whenever a player picks up an item.

String Format Options:

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

triggers:
    - pickupitem (items)

Config Format Options:

(Unsupported for now.)