Skip to content

Instantly share code, notes, and snippets.

@TheRealPear
Last active June 29, 2022 06:35
Show Gist options
  • Save TheRealPear/900fa028dbaf5909f18f77e6a120afa2 to your computer and use it in GitHub Desktop.
Save TheRealPear/900fa028dbaf5909f18f77e6a120afa2 to your computer and use it in GitHub Desktop.
"Ground Zero" by _iMan, orangle, and TurtleeMan69 - PGM XML
<?xml version="1.0"?>
<map proto="1.4.0">
<name>Ground Zero</name>
<version>1.0.0</version>
<objective>Leak the enemy's obsidian core and defend your own.</objective>
<gamemode>dtc</gamemode>
<authors>
<author uuid="f3a45bea-dbde-4791-8155-0988b644ac3b" contribution="Map creation"/> <!-- _iMan -->
<author uuid="c7631131-30fe-4d64-adee-adaa2ac089de" contribution="Map layout"/> <!-- orangle -->
<author uuid="3c2d8af1-d1ff-4b19-b8f6-a49712cb2601" contribution="Map terraforming"/> <!-- TurtleeMan69 -->
</authors>
<contributors>
<contributor uuid="6ff4ade9-e968-4acd-80eb-1a6fa89629fb" contribution="XML creation"/> <!-- _Pear -->
</contributors>
<!-- Teams -->
<teams>
<team id="blue-team" color="blue" min="1" max="14">Blue</team>
<team id="red-team" color="red" min="1" max="14">Red</team>
</teams>
<!-- Kits -->
<kits>
<kit id="default">
<clear/>
<item slot="0" unbreakable="true" material="stone sword"/>
<item slot="1" unbreakable="true" material="bow">
<enchantment>infinity</enchantment>
</item>
<item slot="35" material="arrow"/>
<item slot="2" unbreakable="true" material="diamond pickaxe"/>
<item slot="3" unbreakable="true" material="stone axe"/>
<item slot="4" amount="32" damage="1" material="log"/>
<item slot="5" amount="64" material="glass"/>
<item slot="7" material="golden apple"/>
<item slot="8" amount="64" material="cooked beef"/>
<helmet unbreakable="true" material="chainmail helmet"/>
<chestplate unbreakable="true" team-color="true" material="leather chestplate">
<enchantment>projectile_protection</enchantment>
</chestplate>
<leggings unbreakable="true" material="chainmail leggings"/>
<boots unbreakable="true" team-color="true" material="leather boots"/>
</kit>
</kits>
<!-- Spawns -->
<spawns>
<spawn team="blue-team" kit="default" region="blue-spawn"/>
<spawn team="red-team" kit="default" region="red-spawn" yaw="180"/>
<default region="obs-spawn" yaw="-90"/>
</spawns>
<!-- Objective -->
<cores material="obsidian" leak="3">
<core team="blue-team" region="blue-core"/>
<core team="red-team" region="red-core"/>
</cores>
<!-- Filters -->
<filters>
<team id="blue-only">blue-team</team>
<team id="red-only">red-team</team>
<material id="only-iron">iron block</material>
<deny id="deny-players">
<participating/>
</deny>
</filters>
<!-- Regions -->
<regions>
<!-- Definitions -->
<union id="cores">
<cuboid id="blue-core" min="16,27,-242" max="8,35,-234"/>
<cuboid id="red-core" min="8,27,-78" max="16,35,-86"/>
</union>
<union id="spawn-protections">
<cuboid id="blue-spawn-protection" min="-18,12,-266" max="40,31,-305"/>
<cuboid id="red-spawn-protection" min="-18,12,-53" max="40,32,-15"/>
</union>
<point id="blue-spawn">12.5,19,-297.5</point>
<point id="red-spawn">12.5,19,-21.5</point>
<point id="obs-spawn">-79.5,66,-159.5</point>
<negative id="not-map">
<rectangle id="map" min="49,-305" max="-24,-15"/>
</negative>
<!-- Applications -->
<apply region="not-map" block="never" message="You may not edit outside the map!"/>
<apply region="spawn-protections" block-break="only-iron" block-place="deny-players" message="You are not allowed to modify terrain here."/>
<apply region="blue-spawn-protection" enter="blue-only" message="You may not enter the enemy spawn."/>
<apply region="red-spawn-protection" enter="red-only" message="You may not enter the enemy spawn."/>
</regions>
<!-- Renewables -->
<renewables>
<renewable region="spawn-protections" renew-filter="only-iron" interval="5s" grow="true" sound="false"/>
</renewables>
<!-- Item Remove/Repair -->
<toolrepair>
<tool>stone sword</tool>
<tool>bow</tool>
<tool>diamond pickaxe</tool>
<tool>stone axe</tool>
</toolrepair>
<itemremove>
<item>log</item>
<item>wood</item>
<item>cooked beef</item>
<item>chainmail helmet</item>
<item>leather chestplate</item>
<item>chainmail leggings</item>
<item>leather boots</item>
<item>obsidian</item>
</itemremove>
<!-- Misc -->
<kill-rewards>
<kill-reward>
<item amount="1" material="golden apple"/>
</kill-reward>
<kill-reward>
<filter>
<all>
<kill-streak count="2"/>
</all>
</filter>
<item amount="16" material="glass"/>
</kill-reward>
</kill-rewards>
<maxbuildheight>49</maxbuildheight>
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment