This module can be used to customize the modes that cores and destroyables cycle through, and at what duration they do so. When a monuments mode changes its material is usually changed from a hard to a soft block.
The <modes>
tag can contain any number of <mode>
tags with different durations. Each <mode>
has configurable characteristics that define it.
Element | Description | |
---|---|---|
<modes> </modes>
|
Node containing the monument modes for this match. | |
Sub-elements | Value/Children | |
<mode/>
|
An individual monument mode. | None |
Attribute | Description | Value | Default |
---|---|---|---|
after
|
Required Time from the start of the game till this mode takes effect. | Time Period | |
material
|
Required Material the core/destroyable changes to. | Single Material Pattern | |
name
|
Custom mode name, used for the mode change notice. | String | |
show-before
|
The time before a mode is over to show it in the BossBar. If show-before is set to 0 the mode is not shown in the BossBar at all. |
Time Period | 60 sec |
Example
<modes>
<mode after="10m" material="gold block"/>
</modes>
This specifies a mode that will change the material of affected objectives to gold block after 10 minutes of gameplay.
<modes>
<mode after="5m" material="coal block" name="`eEASY MODE"/>
</modes>
This specifies a mode that will change the material of affected objectives to coal block after 10 minutes of gameplay, with the following chat message: > > > EASY MODE < < <
NOTE:
In order for an objective to change modes, it must have mode-changes="true"
in its element tag.
<destroyables name="Monument" materials="obsidian" mode-changes="true">
<!-- destroyables... -->
</destroyable>