Skip to main content

Zones <zones>

Zones are representations of locations in the match world that have special attributes and conditions that happen inside of them.

Root Zone <zone>

All zones should be wrapped inside of this tag.


<zones>...</zones>

Root Zone Attributes
AttributeDescriptionType
idThe globally unique ID of this feature. This can be used to reference this feature from other parts of the XML.Feature ID
loadoutThe id of the loadout for reference.Loadout ID
velocityVelocity that should be applied to the player when they enter the zone.X,Y,Z Vector
pushHow far forward the player should go.Number (With Decimal)
icarusHow high the player should go.Number (With Decimal)

Checks <break> <enter> <leave> <modify> <place> <use>

Checks can be applied to various action in the zone.

These can either be defined as IDs in the parent tag or as sub tags with the same name.


<checks>
<team id="redteam">red</team>
<!--Checks if the player is on Red Team-->
</checks>

Block Break Check <break>

This check is applied to all players before they are allowed to break blocks in the zone


<zone break="redteam">
<!--Only Red Team can break blocks-->
<region>
<join>
<cuboid min="108, 0, 246" max="96, 30, 258" />
<cuboid min="42, 0, 246" max="30, 30, 258" />
</join>
</region>
</zone>

Block Place Check <place>

This check is applied to all players before they are allowed to place blocks in the zone.


<zone place="redteam">
<!--Only Red Team can place blocks-->
<region>
<join>
<cuboid min="108, 0, 246" max="96, 30, 258" />
<cuboid min="42, 0, 246" max="30, 30, 258" />
</join>
</region>
</zone>

Enter Check <enter>

This check is applied to all players before they are allowed to enter the zone.


<zone enter="redteam">
<!--Only Red Team can enter-->
<region>
<join>
<cuboid min="108, 0, 246" max="96, 30, 258" />
<cuboid min="42, 0, 246" max="30, 30, 258" />
</join>
</region>
</zone>

Leave Check <leave>

This check is applied to all players before they are allowed to leave the zone..


<zone leave="redteam">
<!--Only Red Team can leave-->
<region>
<join>
<cuboid min="108, 0, 246" max="96, 30, 258" />
<cuboid min="42, 0, 246" max="30, 30, 258" />
</join>
</region>
</zone>

Modify Check <modify>

This check is applied to all players before they are allowed to place/break blocks and use items in the zone.


<zone modify="redteam">
<!--Only Red Team can modify-->
<region>
<join>
<cuboid min="108, 0, 246" max="96, 30, 258" />
<cuboid min="42, 0, 246" max="30, 30, 258" />
</join>
</region>
</zone>

Use Check <use>

This check is applied to all players before they are allowed to use items (such as buckets) in the zone.


<zone use="redteam">
<!--Only Red Team can use items-->
<region>
<join>
<cuboid min="108, 0, 246" max="96, 30, 258" />
<cuboid min="42, 0, 246" max="30, 30, 258" />
</join>
</region>
</zone>

Executor Triggers <triggers>

This can be used to run specific executors based on actions that happen in relation to the zone.

SpecificationChanges
1.0.4ADDED

<zone>
<region>
<cuboid id="middle" min="50,117,-768" max="52,120,-766" />
</region>
<portal>
<destination>
<point>138, 69, -290</point>
</destination>
</portal>
<triggers enter="give-items" />
<!--Once you enter the Region, the entry check is triggered and give-items is registered-->
</zone>

Executor Triggers Attributes
AttributeDescriptionType
enterRuns when a player enters the zone region. Checks can use anything related to players. The id of the executor for reference.Executor ID
exitRuns when a player exits the zone region. Checks can use anything related to players. The id of the executor for reference.Executor ID
breakRuns when a block is broken in the zone region. If a player broke a block, checks can use it. If an entity broke the block, checks have access to the entity. Checks also have access to the material of the block broken The id of the executor for reference.Executor ID
placeRuns when a block is placed in the zone region. Checks can use anything related to players and materials. The id of the executor for reference.Executor ID
useRuns when a bucket is used in the zone region. Checks can use anything related to players and materials. The id of the executor for reference.Executor ID
modifyRuns when a block is modified in the zone region. Checks can use the same things as with the break/place triggers. The id of the executor for reference.Executor ID

Failure Message <message>

This defines the message that is displayed if a player tries to do something they cannot.


<message format="warning">{errors.outside-map}</message>

Format Types
NameFormat
info✳ MESSAGE
warning [default]⚠ MESSAGE
noneMESSAGE

Flag Capture Net <net>

REQUIREMENT: This feature requires the Objectives Component.

Nets are locations that flags can be captured at. A flag can have multiple net possibilities, and nets do not have to be bound to teams.


<net owner="blue" points="1" respawn-togather="true">
<!-- Flag IDs -->
<flag>red-1</flag>
<flag>red-2</flag>
</net>

Flag Capture Net Attributes
AttributeDescriptionTypeDefault
ownerThe id of the flag owner for reference.Flag Owner ID
pointsPoints to be rewarded to the player who captures the flag.Number
checkCheck that should be ran to determine if the player can capture the flag at this net. This can either be in ID form, or as a nested XML tag in the syntax of a check.Check
respawn-togetherIf all of the flags enclosed by the flags element should wait until all are captured to respawn, or respawn directly after capture.True/Falsefalse
respawn-postThe id of the flag post for reference.Flag Post ID

Flag Post <post>

REQUIREMENT: This feature requires the Objectives Component.

These define where flags should be placed.


<post yaw="90" />

Flag Post Attributes
AttributeDescriptionType
yawYaw of the flag.Number (With Decimal)
checkCheck that should be ran before a player can pick up the flag. This can either be in ID form, or as a nested XML tag in the syntax of a check.Check

Liquid Rules

Liquid rules are used to modify how liquids behave in this zone.


<zone water-rule="no-flow" />

<zone lava-rule="no-flow" />

Lava Rule

This rule is used to change how lava flows


<zone lava-rule="no-flow" modify="never">
<region>
<join>
<cuboid min="-368, 13, 170" max="-368, 14, 171" />
</join>
</region>
<message>{errors.cannot-build}</message>
</zone>

Lava Rule Attributes
AttributeDescriptionType
lava-ruleThe liquid rule that should be used.Liquid Rule
only enter, only exit, no flow

Water Rule

This rule is used to change how water flows


<zone water-rule="no-flow" modify="never">
<region>
<join>
<cuboid min="-368, 13, 170" max="-368, 14, 171" />
</join>
</region>
<message>{errors.cannot-build}</message>
</zone>

Water Rule Attributes
AttributeDescriptionType
water-ruleThe liquid rule that should be used.Liquid Rule
only enter, only exit, no flow

Portals <portal>

Portals teleport players to locations on the map when they are entered.


<portal yaw="-90">
<destination>
<point>-29, 67, -31</point>
</destination>
</portal>

Portals Attributes
AttributeDescriptionTypeDefault
destinationThe destination of the portal. This can either be in ID form, or as a nested XML tag in the syntax of a region.Region
checkCheck that should be ran to determine if the player should be teleported. This can either be in ID form, or as a nested XML tag in the syntax of a check.Check
soundIf the enderman teleport sound should be played on teleport.True/Falsetrue
reset-velocityIf the player's velocity should be reset when they are teleported.True/Falsetrue
healIf the player should be healed to max health after they are teleported.True/Falsefalse
feedIf the player should be fed after they are teleported.True/Falsefalse
lookLocation the player should be facing when they leave the portal.X,Y,Z Vector
yawYaw of the player when they are teleported.Number (With Decimal)
pitchPitch of the player when they are teleported.Number (With Decimal)

Score Box <scorebox>

REQUIREMENT: This feature requires the Objectives Component.

Score boxes are areas in which players enter to earn points.


<scorebox points="2" />

Score Box Attributes
AttributeDescriptionTypeDefault
pointsThe amount of points that this score box rewards.Number (Without Decimal)
actionThe action which is applied to the player's score.Number Action
none - Perform no action and keep the player's score the same., set - Set the player's score to the supplied number., add - Add the supplied number to the player's score., subtract - Subtract the supplied number from the player's score., multiply - Multiply the supplied number with the player's score., divide - Divide the player's score by the supplied number., power - Raise the player's score by the supplied number.
set
points-growthThe multiplier used for points each time this score box is entered.Number (With Decimal)
checkCheck that should be ran before points are rewarded. This can either be in ID form, or as a nested XML tag in the syntax of a check.Check

Item Rewards <item-rewards>

Item rewards allow score boxes to be configured to reward more points based on items in the player's inventory.


<item-rewards>
<item points="1">cooked beef</item>
</item-rewards>

Element Text

DescriptionType
The type of item that this matcher applies for. A material is defined in the syntax of matname:damage when matname is the name of the material and damage is the damage value of the material. A damage value is not required.Singular Material Matcher
Item Rewards Attributes
AttributeDescriptionType
pointsThe amount of points that should be rewarded for this item.Number (Without Decimal)

TNT Customization <tnt>

These elements allow various TNT mechanics to be customized within the zone.

SpecificationChanges
1.0.2ADDED

<zone region="playable">
<tnt>
<yield>0</yield>
<!-- TNT drops nothing -->
<dispenser nuke-limit="70" nuke-multiplier="2.5" />
</tnt>
</zone>

Dispenser Properties <dispenser>

Options for dispensers when they are blown up.


<dispenser nuke-limit="70" nuke-multiplier="2.5" />

<!--When a dispenser full of TNT blows up, the TNT inside of the dispenser (limit of 70) blows up-->

Dispenser Properties Attributes
AttributeDescriptionType
nuke-limitMax amount of TNT a dispenser ignites when blown up.Number (Without Decimal)
nuke-multiplierMultiplier for the amount of TNT ignited when a dispenser is blown up.Number

Instant Ignite <instant-ignite>

If tha when TNT is placed, that it should instantly become primed.


<instant-ignite />

<!--Immediately becomes primed once placed-->

Element Text

DescriptionTypeDefault
If instant ignite is enabledTrue/Falsefalse

TNT Fuse <fuse>

Time until the TNT explodes once it is ignited.


<fuse>1m</fuse>

<!--One Minute till TNT explodes-->

Element Text

DescriptionTypeDefault
fuse This attribute denotes a period of time and can either be in seconds or in a period format. Formats are as follows: d - days h - hours m - minutes s - seconds These can be combined to create any period. No spaces are allowed.Duration10s

TNT Power <power>

Modify the explosion's block radius.


<power>70</power>

<!--Explosion radius of 70-->

Element Text

DescriptionTypeDefault
explosion's block radiusNumber (With Decimal)The default minecraft logic

TNT Yield <yield>

The amount of items dropped by the explosion as a percentage


<yield>0</yield>

<!-- TNT drops nothing -->

Element Text

DescriptionTypeDefault
Yield of the TNTNumber (With Decimal)0.25