Skip to main content

XML

Format

Formats are XML files that instruct the Events 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
<format> </format>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
best-ofWhat the match should be out of.Number1
nameOnly if nested in <options>The name of the round. Useful for vetoing.String
Format Sub-elements
ElementDescriptionAttributesValue/Children
<match>The name of the map.id=""
(defaults to map name)
String
<veto>Represents a round with a veto mechanism to choose play order.id=""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
<decider>A veto decider. Decides which team vetoes first.Match<result-from />
<options>Map options for that round.Match
<order>The veto order (ban, pick, etc.). The last element is enacted by the system.Match

<decider>

Decider Sub-elements
ElementDescriptionAttribute
<result-from />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.id="map-name"

<order>

Order Attributes
AttributeDescriptionValueDefault
ban-untilThe number of maps that will remain after banning maps.Number1
starting-teamWhich team starts choosing/banning maps first.Number1
timeThe 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.

ElementDescriptionAttributesValue
<pick>A pick in the veto process.team="" - the team that gets to pick the map.
insert="back" - whether the map should be added to the front or back of the maps to be played.
NumberString
<ban>A ban in the veto process.team="" - the team that gets to pick the map.
insert="back"- whether the map should be added to the front or back of the maps to be played.
NumberString