Skip to content

Instantly share code, notes, and snippets.

@stuntguy3000
Last active January 30, 2021 12:32
Show Gist options
  • Save stuntguy3000/5dd33162c29b41922e2e6dddb6eb770d to your computer and use it in GitHub Desktop.
Save stuntguy3000/5dd33162c29b41922e2e6dddb6eb770d to your computer and use it in GitHub Desktop.
SubZero 1.2.0 PGM XML
<map proto="1.4.0">
<!-- Map Metadata-->
<name>SubZero</name>
<version>1.2.0</version>
<objective>Capture the other team's wool blocks to win the game!</objective>
<authors>
<author uuid="25ad04a4-b467-42d6-889a-7d2b2a933fdd" contribution="Builder" /> <!-- ICE__MAN -->
<author uuid="2d762d9c-2a1a-4d99-9821-8f6b5e11a51a" contribution="Map Programmer" /> <!-- stuntguy3000 -->
</authors>
<contributors>
<contributor uuid="9ec46677-318d-411a-b64b-6bf6d4c80800" contribution="Map Tester" /> <!-- 28Lachie -->
<contributor uuid="85acd496-8d0d-43f3-8e4b-3d5d7ab1578f" contribution="Map Tester" /> <!-- xSydney -->
<contributor uuid="b254a44c-31b8-4705-91de-28b698a88a8b" contribution="Map Tester" /> <!-- FestiveHoe -->
<contributor uuid="959c161a-ee29-4888-9503-06e992c853bd" contribution="Map Tester" /> <!-- AUFordFalcon -->
</contributors>
<!-- Basic map settings -->
<teams>
<team id="white" color="white" max="16">White</team>
<team id="black" color="dark gray" max="16">Black</team>
</teams>
<timelock>on</timelock>
<phase>production</phase>
<gamemode>ctw</gamemode>
<maxbuildheight>30</maxbuildheight>
<time result="objectives">30m</time>
<!-- Broadcasts -->
<broadcasts>
<tip after="30s">TNT can be used to kill players, but, it does not damage the environment.</tip>
<tip after="90s">Be sure to look out for the hidden loot chests and rare resource blocks!</tip>
</broadcasts>
<!-- Spawn points -->
<spawns>
<spawn team="black" yaw="-90" kit="black-kit">
<region>
<point>-4.5,6,0.5</point>
</region>
</spawn>
<spawn team="white" yaw="90" kit="white-kit">
<region>
<point>161.5,6,0.5</point>
</region>
</spawn>
<default yaw="180">
<region>
<point>78.5,184,0.5</point>
</region>
</default>
</spawns>
<!-- Kits -->
<kits>
<kit id="all-players" force="true">
<item slot="0" material="stone sword"/>
<item slot="1" material="bow"/>
<item slot="2" material="diamond pickaxe"/>
<item slot="3" material="stone spade"/>
<item slot="4" material="stone axe"/>
<item slot="5" material="arrow" amount="64"/>
<item slot="6" material="golden apple" amount="5"/>
<item slot="7" material="log" damage="2" amount="32"/>
<potion amplifier="10" duration="15">damage resistance</potion>
<game-mode>survival</game-mode>
</kit>
<kit id="black-kit" parents="all-players">
<item slot="8" amount="64" damage="7">stained glass</item>
<helmet color="3f3f3f" material="leather helmet"/>
<chestplate color="3f3f3f" material="leather chestplate"/>
<leggings color="3f3f3f" material="leather leggings"/>
<boots color="3f3f3f" material="leather boots"/>
</kit>
<kit id="white-kit" parents="all-players">
<item slot="8" amount="64">stained glass</item>
<helmet color="ffffff" material="leather helmet"/>
<chestplate color="ffffff" material="leather chestplate"/>
<leggings color="ffffff" material="leather leggings"/>
<boots color="ffffff" material="leather boots"/>
</kit>
</kits>
<!-- Filters -->
<filters>
<not id="only-white">
<team>black</team>
</not>
<not id="only-black">
<team>white</team>
</not>
<any id="only-ironblock">
<material>iron block</material>
</any>
</filters>
<!-- Regions -->
<regions>
<!-- Orange Wool Room -->
<cylinder id="orange-wool-room" base="143.5,0,-50.5" radius="7.5" height="oo" />
<apply region="orange-wool-room" enter="only-black" message="You cannot enter this wool room!" />
<apply region="orange-wool-room" block="never" message="You cannot modify this area!" />
<!-- Purple Wool Room -->
<cylinder id="purple-wool-room" base="143.5,0,51.5" radius="7.5" height="oo" />
<apply region="purple-wool-room" enter="only-black" message="You cannot enter this wool room!" />
<apply region="purple-wool-room" block="never" message="You cannot modify this area!" />
<!-- Light Blue Wool Room -->
<cylinder id="light-blue-wool-room" base="13.5,0,51.5" radius="7.5" height="oo" />
<apply region="light-blue-wool-room" enter="only-white" message="You cannot enter this wool room!" />
<apply region="light-blue-wool-room" block="never" message="You cannot modify this area!" />
<!-- Pink Wool Room -->
<cylinder id="pink-wool-room" base="13.5,0,-50.5" radius="7.5" height="oo" />
<apply region="pink-wool-room" enter="only-white" message="You cannot enter this wool room!" />
<apply region="pink-wool-room" block="never" message="You cannot modify this area!" />
<!--
White Spawn
- Allows breaking of Iron Blocks by in the region
- Restricts entry to region to White Team only
-->
<cuboid id="white-spawn" min="147,0,-11" max="167,oo,10" />
<apply region="white-spawn" block-break="only-ironblock" message="You can only break Iron Blocks in this area!" />
<apply region="white-spawn" block-place="only-ironblock" message="You cannot modify this area!" />
<apply region="white-spawn" enter="only-white" message="You cannot enter this team's base!" />
<!--
Black Spawn
- Allows breaking of Iron Blocks by in the region
- Restricts entry to region to Black Team only
-->
<cuboid id="black-spawn" min="10,0,11" max="-10,oo,-10" />
<apply region="black-spawn" block-break="only-ironblock" message="You can only break Iron Blocks in this area!" />
<apply region="black-spawn" block-place="only-ironblock" message="You cannot modify this area!" />
<apply region="black-spawn" enter="only-black" message="You cannot enter this team's base!" />
<!-- Playspace -->
<cylinder id="playspace" base="77.5,-300,0.5" radius="100" height="500" />
<apply region="playspace" leave="never" message="You cannot exit the map." />
<!-- World Spawn -->
<cuboid id="world-spawn" min="75,183,-3" max="81,187,3" />
<apply region="world-spawn" block="never" message="You cannot modify this area!" />
</regions>
<!--
Renewables
Shoutout to ¡Simon!#7360 on PGM Discord for fixing an issue with this
-->
<renewables>
<renewable region="playspace" renew-filter="only-ironblock" interval="15s" avoid-players="1" />
</renewables>
<!-- Wools -->
<wools>
<wool team="white" color="pink" craftable="false" location="13.5,0,-50.5">
<monument><block>165,7,-1</block></monument>
</wool>
<wool team="white" color="light blue" craftable="false" location="13.5,0,51.5">
<monument><block>165,7,1</block></monument>
</wool>
<wool team="black" color="purple" craftable="false" location="143.5,0,51.5">
<monument><block>-9,7,1</block></monument>
</wool>
<wool team="black" color="orange" craftable="false" location="143.5,0,-50.5">
<monument><block>-9,7,-1</block></monument>
</wool>
</wools>
<!-- Block Drop Rules -->
<block-drops>
<!-- Prevent dropping of wool -->
<rule>
<filter>
<any>
<material>wool</material>
</any>
</filter>
<drops />
</rule>
<!-- Allow the dropping of sea lanterns using any tool -->
<rule>
<filter>
<any>
<material>sea lantern</material>
</any>
</filter>
<wrongtool>true</wrongtool>
<drops>
<item material="sea lantern"/>
</drops>
</rule>
<!-- Allow the dropping of packed ice using any tool -->
<rule>
<filter>
<any>
<material>packed ice</material>
</any>
</filter>
<wrongtool>true</wrongtool>
<drops>
<item material="packed ice"/>
</drops>
</rule>
<!-- Allow the dropping of snow block using any tool -->
<rule>
<filter>
<any>
<material>snow block</material>
</any>
</filter>
<wrongtool>true</wrongtool>
<drops>
<item material="snow block"/>
</drops>
</rule>
<!-- Allow the dropping of stone using any tool -->
<rule>
<filter>
<any>
<material>stone</material>
</any>
</filter>
<wrongtool>true</wrongtool>
<drops>
<item material="stone"/>
</drops>
</rule>
<!-- Replace iron blocks with iron ingots -->
<rule>
<filter>
<any>
<material>iron block</material>
</any>
</filter>
<drops>
<item material="iron ingot" amount="9"/>
</drops>
</rule>
</block-drops>
<!-- Items to Removal -->
<itemremove>
<item>leather helmet</item>
<item>leather chestplate</item>
<item>leather leggings</item>
<item>leather boots</item>
<item>diamond pickaxe</item>
<item>stone sword</item>
<item>stone spade</item>
<item>stone axe</item>
<item>bow</item>
<item>string</item>
<item>wool:10</item>
<item>wool:1</item>
<item>wool:3</item>
<item>wool:6</item>
</itemremove>
<!-- Hunger -->
<hunger>
<depletion>off</depletion>
</hunger>
<!-- Crafting -->
<crafting>
<disable>iron block</disable>
</crafting>
<!-- TNT -->
<tnt>
<blockdamage>false</blockdamage>
</tnt>
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment