Skip to main content

Destroy the Core

Players have to locate and break the enemy team's core, usually an obsidian sphere filled with lava. The lava has to leak down a certain distance, defined in the map's XML, for the core to be destroyed.

tip

Lava should not be available anywhere on the map, otherwise a core leak could be faked. This can also be avoided by keeping the lava far away enough from the core and not giving players buckets or the ability to craft them.

ElementDescription
<cores> </cores>Node containing all the defined cores.
Sub-elementsValue/Children
<core> </core>A single core.Core Sub-elements

Core Attributes

AttributeDescriptionValueDefault
idUnique identifier used to reference this core from other places in the XML.String
nameThe core's display name, used in notification messages.String
requiredSpecify if this objective is required to win the match. Teams completing all of their required objectives will win regardless of score or Blitz configuration.true/false
regionPropertyRequiredRegion containing the core.Bounded Region
leakDistance below the bottom of the core region that the lava must leak.Number5
teamRequiredThe team which this core belongs to, i.e. its owner.Team ID
modesSpecify which monument modes should be used. Multiple modes are separated with a space.Mode IDAll modes
mode-changesSpecify if this core uses monument modes.
Note: Not used in conjunction with modes.
true/falsefalse
show-progressShow this core's progress (a percentage of how far the core has leaked) in the scoreboard.true/falsefalse
materialThe core casing material, used to detect breaks, and for mode changes.Single Material Patternobsidian
show-messagesBroadcast messages related to the core in chat.true/falsetrue
show-effectsPlay sounds, fireworks, and other effects related to the core.true/falsetrue
show-infoDisplay the core under commands such as /match.true/falsetrue
show-sidebarDisplays the core on scoreboard.true/falsetrue
statsDetermines if this core counts as a win condition.true/falsetrue
showSpecify if the core should be hidden from all visible locations to the player. These locations include chat, the boss bar, and the scoreboard.
Note: This attribute sets all five values above to true/false.
true/falsetrue
proximity-metricMetric used to determine proximity to the core.
Accepts closest player, closest block, closest kill, or none.
Proximity Metricclosest player
proximity-horizontalOnly calculate horizontal distance for core proximity.true/falsefalse

Core Sub-elements

ElementDescriptionValue
<region>PropertyRequiredA region containing the core.Bounded Regions

Examples

<cores material="obsidian" leak="8">
<core team="blue">
<region>
<cuboid min="10,15,12" max="12,13,16"/>
</region>
</core>
</cores>

<cores material="obsidian" leak="4">
<core team="red" region="red-core"/>
</cores>