Passive Listener Inventory Close - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

PassiveSpell trigger: inventoryclose

Properties:

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

Description:

The listener activates whenever a player closes an inventory.

String Format Options:

The argument is optional but may be a comma-separated list of inventory names.

triggers:
    - inventoryclose (inventory names)

Config Format Options:

(Unsupported for now.)