Skip to content

Passive Listener Game Mode Change

JasperLorelai edited this page Jan 24, 2025 · 3 revisions

Source Code

PassiveSpell trigger: gamemodechange

Properties:

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

Description:

The listener activates whenever a player's game mode changes.

String Format Options:

The argument is optional, but it may be a comma-separated list of game modes.

triggers:
    - gamemodechange (modes)

Section Format Options:

(Unsupported for now.)

Clone this wiki locally