Skip to content

Instantly share code, notes, and snippets.

@Electroid
Last active December 26, 2015 01:29
Show Gist options
  • Select an option

  • Save Electroid/7071859 to your computer and use it in GitHub Desktop.

Select an option

Save Electroid/7071859 to your computer and use it in GitHub Desktop.
Buried Down XML
<?xml version="1.0"?>
<map proto="1.0.0">
<name>Buried Down</name>
<version>1.0.0</version>
<objective>Capture the Wools before the other team does.</objective>
<authors>
<author>Tywnis</author>
</authors>
<contributors>
<contributor contribution="Metadata and XML">ElectroidFilms</contributor>
</contributors>
<teams>
<team color="dark red" max="30">Red Team</team>
<team color="yellow" max="30">Yellow Team</team>
</teams>
<spawns>
<spawn team="red" kit="red" yaw="-90">
<region name="red-spawn-point"/>
</spawn>
<spawn team="yellow" kit="yellow" yaw="90">
<region name="yellow-spawn-point"/>
</spawn>
<default yaw="180">
<region name="observer-spawn-point"/>
</default>
</spawns>
<kits>
<kit name="teams">
<item slot="0">stone sword</item>
<item slot="1" enchantment="arrow infinite:1">bow</item>
<item slot="2">iron pickaxe</item>
<item slot="3">iron axe</item>
<item slot="4" amount="64">log</item>
<item slot="5" amount="64">4</item>
<item slot="6" amount="64">297</item>
<item slot="27">arrow</item>
</kit>
<kit name="red" parents="teams">
<helmet color="993333">leather helmet</helmet>
<chestplate color="993333">leather chestplate</chestplate>
<leggings color="993333">leather leggings</leggings>
<boots color="993333">leather boots</boots>
</kit>
<kit name="yellow" parents="teams">
<helmet color="E5E533">leather helmet</helmet>
<chestplate color="E5E533">leather chestplate</chestplate>
<leggings color="E5E533">leather leggings</leggings>
<boots color="E5E533">leather boots</boots>
</kit>
</kits>
<regions>
<!-- Raw Regions -->
<cylinder name="red-spawn-point" base="1196.5,5,-1100.5" radius="3" height="1"/>
<cylinder name="yellow-spawn-point" base="1381.5,5,-1100.5" radius="3" height="1"/>
<circle name="red-spawn-area" center="1196.5,-1100.5" radius="12"/>
<circle name="yellow-spawn-area" center="1381.5,-1100.5" radius="12"/>
<cylinder name="observer-spawn-point" base="1288.5,12,-1173.5" radius="1" height="1"/>
<cuboid name="above-10" min="-oo,10,-oo" max="oo,oo,oo"/>
<rectangle name="orange-wool-room" min="1388.5,-1130.5" max="1374.5,-1144.5"/>
<rectangle name="magenta-wool-room" min="1374.5,-1070.5" max="1388.5,-1056.5"/>
<rectangle name="lime-wool-room" min="1203.5,-1130.5" max="1189.5,-1144.5"/>
<rectangle name="silver-wool-room" min="1189.5,-1056.5" max="1203,-1070.5"/>
<union name="red-wool-rooms"> <!-- Red needs to Enter -->
<region name="orange-wool-room"/>
<region name="magenta-wool-room"/>
</union>
<union name="yellow-wool-rooms"> <!-- Yellow needs to Enter -->
<region name="silver-wool-room"/>
<region name="lime-wool-room"/>
</union>
<complement name="all-above-10">
<region name="above-10"/>
<region name="red-wool-rooms"/>
<region name="yellow-wool-rooms"/>
</complement>
<union name="spawners">
<block>1381,8,-1138</block>
<block>1381,8,-1064</block>
<block>1196,8,-1064</block>
<block>1196,8,-1138</block>
</union>
<union name="anti-cheat">
<block>1405,5,-1102</block>
<block>1405,5,-1100</block>
<block>1172,5,-1102</block>
<block>1172,5,-1100</block>
</union>
<!-- Applies -->
<apply enter="only-red" message="You cannot enter your own wool room!">
<region name="red-wool-rooms"/>
</apply>
<apply enter="only-yellow" message="You cannot enter your own wool room!">
<region name="yellow-wool-rooms"/>
</apply>
<apply block="only-red" use="only-red">
<region name="red-wool-rooms"/>
</apply>
<apply block="only-yellow" use="only-yellow">
<region name="yellow-wool-rooms"/>
</apply>
<apply enter="only-red" message="Don't enter the enemy spawn!">
<region name="red-spawn-area"/>
</apply>
<apply enter="only-yellow" message="Don't enter the enemy spawn!">
<region name="yellow-spawn-area"/>
</apply>
<apply block="allow-bars" message="Don't break the spawn area!">
<region name="red-spawn-area"/>
<region name="yellow-spawn-area"/>
</apply>
<apply enter="deny-players" message="You cannot leave the playing field!">
<region name="all-above-10"/>
</apply>
<apply block="deny-all" message="Ha. You thought you could grief the spawners?">
<region name="spawners"/>
</apply>
<apply block="deny-all" message="Ha. You thought you could cheat a win?">
<region name="anti-cheat"/>
</apply>
</regions>
<filters>
<filter name="only-red" parents="deny-players deny-world">
<allow><team>red</team></allow>
</filter>
<filter name="only-yellow" parents="deny-players deny-world">
<allow><team>yellow</team></allow>
</filter>
<filter name="allow-bars" parents="deny-all">
<allow><block>101</block></allow>
</filter>
</filters>
<wools>
<wool team="red" color="magenta">
<block>1172,6,-1100</block>
</wool>
<wool team="red" color="orange">
<block>1172,6,-1102</block>
</wool>
<wool team="yellow" color="silver">
<block>1405,6,-1102</block>
</wool>
<wool team="yellow" color="lime">
<block>1405,6,-1100</block>
</wool>
</wools>
<toolrepair>
<tool>stone sword</tool>
<tool>bow</tool>
<tool>iron pickaxe</tool>
<tool>iron axe</tool>
<tool>arrow</tool>
</toolrepair>
<itemremove>
<item>log</item>
<item>4</item>
<item>297</item>
<item>leather helmet</item>
<item>leather chestplate</item>
<item>leather leggings</item>
<item>leather boots</item>
</itemremove>
<timelock>on</timelock>
<maxbuildheight>15</maxbuildheight>
<mobs>
<filter>
<spawn>spawner</spawn>
</filter>
</mobs>
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment