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.
Element | Description |
---|---|
<cores> </cores> | Node containing all the defined cores. |
Sub-elements | Value/Children | |
---|---|---|
<core> </core> | A single core. | Core Sub-elements |
Core Attributes
Attribute | Description | Value | Default |
---|---|---|---|
id | Unique identifier used to reference this core from other places in the XML. | String | |
name | The core's display name, used in notification messages. | String | |
required | Specify 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 | |
region | PropertyRequiredRegion containing the core. | Bounded Region | |
leak | Distance below the bottom of the core region that the lava must leak. | Number | 5 |
team | RequiredThe team which this core belongs to, i.e. its owner. | Team ID | |
modes | Specify which monument modes should be used. Multiple modes are separated with a space. | Mode ID | All modes |
mode-changes | Specify if this core uses monument modes. Note: Not used in conjunction with modes . | true/false | false |
show-progress | Show this core's progress (a percentage of how far the core has leaked) in the scoreboard. | true/false | false |
material | The core casing material, used to detect breaks, and for mode changes. | Single Material Pattern | obsidian |
show-messages | Broadcast messages related to the core in chat. | true/false | true |
show-effects | Play sounds, fireworks, and other effects related to the core. | true/false | true |
show-info | Display the core under commands such as /match . | true/false | true |
show-sidebar | Displays the core on scoreboard. | true/false | true |
stats | Determines if this core counts as a win condition. | true/false | true |
show | Specify 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/false | true |
scoreboard-filter | Determines when the objective should be displayed on the scoreboard. | Dynamic Filter | |
proximity-metric | Metric used to determine proximity to the core. Accepts closest player , closest block , closest kill , or none . | Proximity Metric | closest player |
proximity-horizontal | Only calculate horizontal distance for core proximity. | true/false | false |
Core Sub-elements
Element | Description | Value |
---|---|---|
<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>