Passive Listener Portal Enter - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

PassiveSpell trigger: portalenter

[!WARNING] Since 4.0 Beta 14.

Properties:

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

Description:

The listener activates whenever an entity enters a portal created by the PortalSpell.

String Format Options:

The argument is optional but may be a string-based Spell Filter filtering for the PortalSpell.

triggers:
    - portalenter (filter)

Config Format Options:

(Unsupported for now.)