Skip to content

Instantly share code, notes, and snippets.

@rmsy
Created May 4, 2013 22:05
Show Gist options
  • Save rmsy/5518918 to your computer and use it in GitHub Desktop.
Save rmsy/5518918 to your computer and use it in GitHub Desktop.
<!-- Root tag -->
<!ELEMENT map (name,version,objective,authors,contributors?,(wools|destroyables|blitz|cores|score),teams,rules?,kits?,toolrepair?,itemremove?,modifybowprojectile?,tnt?,mobs?,killreward?,timelock?,maxbuildheight?,difficulty?,hunger?,multitrade?,regions?,spawns,playable,lanes?,portals?)>
<!-- PGM protocol version -->
<!ATTLIST map proto CDATA #REQUIRED>
<!-- Map display name -->
<!ELEMENT name (#PCDATA)>
<!-- Map version -->
<!ELEMENT version (#PCDATA)>
<!-- Map objective -->
<!ELEMENT objective (#PCDATA)>
<!-- Map authors -->
<!ELEMENT authors (author+)>
<!-- A map author -->
<!ELEMENT author (#PCDATA)>
<!-- An author's contribution -->
<!ATTLIST author contribution CDATA #IMPLIED>
<!-- Map contributors -->
<!ELEMENT contributors (contributor*)>
<!-- A map contributor -->
<!ELEMENT contributor (#PCDATA)>
<!-- A contributor's contribution -->
<!ATTLIST contributor contribution CDATA #IMPLIED>
<!-- Map wools -->
<!ELEMENT wools (wool+)>
<!-- Map wool -->
<!ELEMENT wool (block)>
<!-- A wool's team -->
<!ATTLIST wool team (black|dark blue|dark green|dark aqua|dark red|dark purple|gold|gray|dark gray|blue|green|aqua|red|light purple|yellow|white) #REQUIRED>
<!-- A wool's color -->
<!ATTLIST wool color (white|orange|magenta|light blue|yellow|lime|pink|gray|silver|cyan|purple|blue|brown|green|red|black) #REQUIRED>
<!-- A wool's location -->
<!ELEMENT block (#PCDATA)>
<!-- Map monuments -->
<!ELEMENT destroyables (destroyable,destroyable+)>
<!-- Monuments' display names -->
<!ATTLIST destroyables name CDATA "Monument">
<!-- Monuments' materials -->
<!ATTLIST destroyables materials CDATA #REQUIRED>
<!-- Monuments' required completion percentage -->
<!ATTLIST destroyables completion CDATA #REQUIRED>
<!-- A monument's region -->
<!ELEMENT destroyable (rectangle|cuboid|circle|cylinder|sphere|block)>
<!-- A monument's team -->
<!ATTLIST destroyable owner (black|dark blue|dark green|dark aqua|dark red|dark purple|gold|gray|dark gray|blue|green|aqua|red|light purple|yellow|white) #REQUIRED>
<!-- A rectangle region -->
<!ELEMENT rectangle EMPTY>
<!-- A rectangle region's name -->
<!ATTLIST rectangle name CDATA #IMPLIED>
<!-- A rectangle region's minimum coordinates -->
<!ATTLIST rectangle min CDATA #REQUIRED>
<!-- A rectangle region's maximum coordinates -->
<!ATTLIST rectangle max CDATA #REQUIRED>
<!-- A cuboid region -->
<!ELEMENT cuboid EMPTY>
<!-- A cuboid region's name -->
<!ATTLIST cuboid name CDATA #IMPLIED>
<!-- A cuboid region's minimum coordinates -->
<!ATTLIST cuboid min CDATA #REQUIRED>
<!-- A cuboid region's maximum coordinates -->
<!ATTLIST cuboid max CDATA #REQUIRED>
<!-- A circle region -->
<!ELEMENT circle EMPTY>
<!-- A circle region's name -->
<!ATTLIST circle name CDATA #IMPLIED>
<!-- A circle region's minimum coordinates -->
<!ATTLIST circle min CDATA #REQUIRED>
<!-- A circle region's maximum coordinates -->
<!ATTLIST circle max CDATA #REQUIRED>
<!-- A circle region's radius -->
<!ATTLIST circle radius CDATA #REQUIRED>
<!-- A cylinder region -->
<!ELEMENT cylinder EMPTY>
<!-- A cylinder region's name -->
<!ATTLIST cylinder name CDATA #IMPLIED>
<!-- A cylinder region's minimum coordinates -->
<!ATTLIST cylinder min CDATA #REQUIRED>
<!-- A cylinder region's maximum coordinates -->
<!ATTLIST cylinder max CDATA #REQUIRED>
<!-- A cylinder region's radius -->
<!ATTLIST cylinder radius CDATA #REQUIRED>
<!-- A cylinder region's height -->
<!ATTLIST cylinder height CDATA #REQUIRED>
<!-- A sphere region -->
<!ELEMENT sphere EMPTY>
<!-- A sphere region's name -->
<!ATTLIST sphere name CDATA #IMPLIED>
<!-- A sphere region's center -->
<!ATTLIST sphere origin CDATA #REQUIRED>
<!-- A sphere region's radius -->
<!ATTLIST sphere radius CDATA #REQUIRED>
<!-- A single block region -->
<!ELEMENT block (#PCDATA)>
<!-- A single block region's name -->
<!ATTLIST block name CDATA #IMPLIED>
<!ENTITY black "Black Team">
<!ENTITY darkblue "Dark Blue Team">
<!ENTITY darkgreen "Dark Green Team">
<!ENTITY darkaqua "Dark Aqua Team">
<!ENTITY darkred "Dark Red Team">
<!ENTITY darkpurple "Dark Purple Team">
<!ENTITY gold "Gold Team">
<!-- Because gold is actually organge -->
<!ENTITY orange "Orange Team">
<!ENTITY gray "Gray Team">
<!ENTITY darkgray "Dark Gray Team">
<!ENTITY blue "Blue Team">
<!ENTITY green "Green Team">
<!ENTITY aqua "Aqua Team">
<!ENTITY red "Red Team">
<!ENTITY lightpurple "Light Purple Team">
<!ENTITY yellow "Yellow Team">
<!ENTITY white "White Team">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment