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

Conditional: Region

ricochet1k edited this page Jul 1, 2012 · 1 revision

Syntax: {entity}.inregion[only].{region}

Description: Is true if the referred entity is within the region. Using "inregiononly" makes the comparison exclusive, meaning it won't be true if it is in any other region.

Functionality for this conditional is provided by an external plugin. Currently usable plugins are elRegions and WorldGuard. If you want to use another plugin for regions, create an enhancement request here.

Example:

Spawn: #There's something different about the neighbors' chunks...
    - 'if target.type.player and target.inregion.JohnsonResidence': '12'

See also: Value Change

Clone this wiki locally