Players have to locate and destroy certain objects from the enemy team, such as an obsidian pillar, etc. Teams win after a specified percentage of the enemy teams destroyables are destroyed. Teams can have multiple destroyables and they can be made out of multiple materials.
Completion specifies how much of the material(s) inside of the monument region must be removed for it to count as destroyed. For example, if the monument is obsidian and completion is set to 100% then all the obsidian must be removed in order for the monument to count as destroyed.
Destroyables Element | Description | |
---|---|---|
<destroyables> </destroyables>
|
Node containing all the defined destroyables. | |
Sub-elements | Value/Children | |
<destroyable> </destroyable>
|
A single destroyable. | Destroyable Sub-elements |
Attribute | Description | Value | Default |
---|---|---|---|
id
|
Unique identifier used to reference monuments from other places in the XML. | String | |
name
|
Required The destroyables name. | 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 | true |
region
|
Property Required Region containing the destroyable. | Bounded Region | |
materials
|
The destroyables materials, multiple materials are separated with a semicolon
;
|
Material Pattern | |
owner
|
Required The destroyables owner. | Team ID | |
completion
|
Percentage of the destroyable that needs to be destroyed for a win. | 0 - 100 | 100% |
mode-changes
|
Specify if this destroyable uses custom monument modes. | true/false | false |
show-progress
|
Show this destroyables progress in the scoreboard. | true/false | false |
repairable
|
Specify if the destroyable can be repaired. | true/false | true |
sparks
|
Spawn fireworks particles for destroyed blocks & play the fireworks sound to all players. | true/false | false |
show
|
Specify if the objective should be hidden from all visible locations to the player. These locations include chat, the boss bar, and the scoreboard.
NOTE:
The objective will also not be logged to the Database and the player will not recieve any raindrops upon completion.
|
true/false | true |
proximity-metric
|
Metric used to determine proximity to the destroyable.
Accepts closest player , closest block or closest kill
|
Proximity Metric |
closest player
|
proximity-horizontal
|
Only calculate horizontal distance for destroyable proximity. | true/false | false |
Element | Description | Value |
---|---|---|
<region>
|
Property Required Region containing the destroyable. | Bounded Regions |
<destroyables name="Monument" materials="obsidian" completion="100%">
<destroyable owner="blue">
<region><cuboid min="46,16,26" max="45,14,25"/></region>
</destroyable>
<destroyable owner="red">
<region><cuboid min="-44,16,-24" max="-45,14,-25"/></region>
</destroyable>
</destroyables>