Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

Conditional: Environment

Deide edited this page Oct 10, 2012 · 2 revisions

Is true if the event's world environment matches the specified environment. An environment is a world type, according to the Environment enum in the relevant Bukkit source code.

Syntax

- 'if world.environment.{environment}': 'blah'

{environment} can be Normal, Nether, or The_End

Examples

Damage: #It hurts more when you're in hell.
    - 'if world.environment.NETHER': '+1'

Clone this wiki locally