Skip to main content

XML

Format

Formats are XML files that instruct the plugin to do a specific tournament format, i.e. having a Bo3 of CTW maps, or having several "rounds" of different maps and gamemodes.

Every format XML file must contain the base <format> module. The format module can also be a round and therefore can be used to create a nested rounds.

Format ElementDescriptionValue/Children
The main format node containing all the modules used in this format. It can also represent a round and be nested inside other elements.XML Modules
Format Attributes
AttributeDescriptionValueDefault
What the match should be out ofNumber1
Only if nested in <options>The name of the round. Useful for vetoingString
Format Sub-elements
ElementDescriptionAttributesValue/Children
The name of the map. (defaults to map name)String
Represents a round with a veto mechanism to choose play order.Veto Modules

Veto

Every format can have a veto element to choose play order between rounds, and each round can have a veto mechanism to choose play order between maps.

Veto Sub-elements
ElementDescriptionChildren
A veto decider. Decides which team vetoes first.Match<result-from />
Map options for that round.Match
The veto order (ban, pick, etc.). The last element is enacted by the system.Match

<decider>

Decider Sub-elements
ElementDescriptionAttribute
Uses the result from a round with a matching id, let it be a veto decider, match or round. Useful to stop repeating veto deciders.

<order>

Order Attributes
AttributeDescriptionValueDefault
The number of maps that will remain after banning maps.Number1
Which team starts choosing/banning first.Number1
The time in seconds that each team has to veto.Number30
Order Sub-elements

If <order> has no attributes present, it will look for these sub-elements.

ElementDescriptionAttributesAttribute Type
A pick in the veto process.

The team that gets to pick the map

Whether the map should be added to the front or back of the maps to be played
NumberString
A ban in the veto process.

The team that gets to pick the map

Whether the map should be added to the front or back of the maps to be played
NumberString