Every map XML file must contain the base
<map> module. It contains modules that specify the map name, version, objective, authors, contributors and all other map settings. The objective is the text that players see when they join the match, and so it's important for this to be very clear, concise, and informative.
proto="" attribute specifies what PGM version the XML file was created for. Mapmakers should always use the latest supported proto version, which is documented in depth at Protocol Versions.
The maps version should follow the versioning schema
|The main map node containing all the modules used in this match.||XML Modules|
|RequiredThe map's XML protocol version.|
|Prevent compass teleports above Y 255||true/false||false|
|RequiredThe name of the map.||String|
|The map's slug, usually auto generated from the maps name. This should only be used when a map is renamed to retain the map's ratings, etc.|
Valid slugs are lowercase and only contain the characters:
|RequiredThe map's semantic version string.|
|RequiredThe map's objective, shown at the start of the match.||String|
|RequiredThe authors of the map, at least one author is required.|
|Contributors to the map.|
|The date on which this map was initially released.|
|Phase of this map. Only maps with and show up on the website.|
|Edition of this map, describes which servers it is run on.|
|A custom title for this match's gamemode.||String|
|The gamemode(s) of this map, if this is not specified the map will set the gamemode(s) to whatever modules are used.||Gamemode ID|
<objective>Short description about the maps objective.</objective>
<!-- Map authors & contributors. -->
<!-- Map modules, i.e. objectives, regions, spawns. -->
Authors & Contributors
The authors and contributers elements provide information about who created and helped create the map. There can be multiple authors and contributors to a map. The contribution attribute should be used to specify what their contribution to the map was.
A player's name should not be used to credit them, instead their UUID should be used. A UUID is a unique user identifier that is used to keep track of players even if they change their name. You can check player UUIDs at mcuuid.net. If an author or contributor is defined without a UUID, that player will not get any mapmaker perks on the map.
Author or Contributor Sub-elements
|A major author of the map, used in||String|
|A contributor to the map, used in||String|
Author & Contributor Attributes
|The contribution this author or contributor made to the map.||String|
|UUID used to identify a player.||String|
<!-- Major map authors. -->
<author uuid="ef4ea031-998f-4ec9-b7b6-1bdd428bcef8" contribution="Clarification of element usage, etc."/> <!-- Plastix -->
<author uuid="260004f0-996b-4539-ba21-df4ee6336b63"/> <!-- Elliott_ -->
<!-- People that contributed in some way to the map. -->
<!-- Credit a person that doesn't have a Minecraft account -->
<contributor contribution="A contribution">aHelper</contributor>
<contributor uuid="3fbec7dd-0a5f-40bf-9d11-885a54507112" contribution="Some Help"/> <!-- Cubist -->
Include statements allow for global XML files to be loaded and re-used across different maps. This can be used to standardize values across maps. Below is an example includes file that can be used on Blitz maps:
<!-- the location for include files is defined in config.yml -->
The file is automatically given an ID based on the file name, which in this case is
Then it can be added into the main
map.xml. Multiple include statements can be used per map.
<!-- All maps with this include statement will give the player 5 lives -->
The gamemode element is used to specify the gamemode(s) of the map.
This mainly affects how the map is displayed.
<gamemode> tags are specified the map will set the gamemode(s) to whatever modules are used.
This means that a map that uses destroyables and flags would be displayed as "DTM and CTF" unless specified otherwise.
|The gamemode(s) of this map.||Gamemode ID|
|Control the Point|
|Capture the Flag|
|Capture the Wool|
|Destroy the Core|
|Destroy the Monument|
|Free for All|
|King of the Flag|
|King of the Hill|
|Race for Wool|
<!-- A FFA map with scoreboxes -->