Skip to content
KoryuObihiro edited this page Dec 27, 2011 · 5 revisions

Syntax: switch.event.$worldalias

Description: Switches based on the event world. Cases are world names in Bukkit, or aliases comprised of these.

Example:

Damage: #Make eggs explode on contact with something living.
    - 'switch.event.world':
        world_nether:
            - 'targeteffect.explode': '2'
        _lessHurt: '-1'
Aliases:
    World:
        lessHurt:
            - 'world_1'
            - 'world_2'
            - 'randomBeach'

See also: Explode, Value Change

Clone this wiki locally