Skip to content

Instantly share code, notes, and snippets.

@rmsy
Created April 19, 2014 04:48
Show Gist options
  • Save rmsy/11074422 to your computer and use it in GitHub Desktop.
Save rmsy/11074422 to your computer and use it in GitHub Desktop.
Bastion XML
<?xml version="1.0"?>
<map proto="1.3.2">
<name>Bastion</name>
<version>1.0</version>
<objective>Capture the wool from the enemy's side and return it safely to your victory monument!</objective>
<authors>
<author>EnarRikardz</author>
<author>DiamondAx</author>
</authors>
<contributors>
<contributor contribution="Basic layout">PandaBattalion</contributor>
<contributor contribution="XML">iamramsey</contributor>
<contributor contribution="Build slave">Camellia123</contributor>
</contributors>
<teams>
<team color="red" max="12" overhead-color="dark-red">Red Team</team>
<team color="blue" max="12" overhead-color="blue">Blue Team</team>
</teams>
<kits>
<kit name="spawn">
<item slot="0">iron sword</item>
<item slot="1">bow</item>
<item slot="2" enchantments="durability:2;dig speed:1">iron pickaxe</item>
<!-- TODO: Make dark oak logs when servers are 1.7 -->
<item slot="3" amount="32" damage="1">log</item>
<item slot="4" amount="32">cooked fish</item>
<item slot="5" enchentments="durability:2">stone axe</item>
<item slot="6" amount="64">98</item>
<item slot="8">golden apple</item>
<item slot="28" amount="32">arrow</item>
</kit>
<kit name="red" parents="spawn">
<helmet color="00308F">leather helmet</helmet>
<chestplate color="00308F">leather chestplate</chestplate>
<leggings color="00308F">leather leggings</leggings>
<boots color="00308F">leather boots</boots>
</kit>
<kit name="blue" parents="spawn">
<helmet color="CC0000">leather helmet</helmet>
<chestplate color="CC0000">leather chestplate</chestplate>
<leggings color="CC0000">leather leggings</leggings>
<boots color="CC0000">leather boots</boots>
</kit>
</kits>
<wools>
<wool team="blue" color="magenta">
<block>-58,10,291</block>
</wool>
<wool team="red" color="purple">
<block>-58,10,391</block>
</wool>
</wools>
<filters>
<filter name="only-red">
<team>red</team>
</filter>
<filter name="only-blue">
<team>blue</team>
</filter>
<filter name="deny-chest">
<not><block>chest</block></not>
</filter>
<filter name="deny-void">
<not><void/></not>
</filter>
</filters>
<regions>
<union name="wool-room">
<cuboid name="purple-wool" min="-66,22,239" max="-49,oo,250"/>
</union>
<apply enter="only-red" block="only-red" use="only-red" message="You may not access your own wool room.">
<region name="purple-wool"/>
</apply>
<apply enter="only-red" block="only-red" use="only-red" message="You may not access your own wool room.">
<region name="purple-wool"/>
</apply>
<apply block-break="deny-chest">
<region name="wool-room"/>
</apply>
<union name="buildable">
<complement>
<rectangle min="-77,239" max="-38,444"/>
<union name="inner-void">
<!-- Red -->
<rectangle min="-66,393" max="-49,433"/>
<!-- Blue -->
<rectangle min="-66,250" max="-49,290"/>
</union>
</complement>
<!-- Red left iron extension -->
<rectangle min="-80,380" max="-77,395"/>
<rectangle min="-82,381" max="-80,394"/>
<rectangle min="-83,382" max="-82,393"/>
<rectangle min="-84,392" max="-83,383"/>
<rectangle min="-85,385" max="-84,390"/>
<!-- Red right iron extension -->
<rectangle min="-38,380" max="-35,395"/>
<rectangle min="-35,381" max="-33,394"/>
<rectangle min="-33,382" max="-32,393"/>
<rectangle min="-32,392" max="-31,383"/>
<rectangle min="-31,385" max="-30,390"/>
<!-- Blue left iron extension -->
<rectangle min="-80,288" max="-77,303"/>
<rectangle min="-82,289" max="-80,302"/>
<rectangle min="-83,290" max="-82,301"/>
<rectangle min="-84,291" max="-83,300"/>
<rectangle min="-85,293" max="-84,398"/>
<!-- Blue right iron extension -->
<rectangle min="-38,288" max="-35,303"/>
<rectangle min="-35,289" max="-33,302"/>
<rectangle min="-33,290" max="-32,301"/>
<rectangle min="-32,291" max="-31,300"/>
<rectangle min="-31,293" max="-30,298"/>
</union>
<apply block="deny-void" message="You may not build in the void.">
<negative>
<region name="buildable"/>
</negative>
</apply>
<union name="spawn">
<cuboid name="red-spawn" min="-67,1,382" max="-48,14,393"/>
<cuboid name="blue-spawn" min="-67,1,290" max="-48,14,301"/>
</union>
<apply enter="only-red" message="You may not enter the enemy spawn.">
<region name="red-spawn"/>
</apply>
<apply enter="only-blue" message="You may not enter the enemy spawn.">
<region name="blue-spawn"/>
</apply>
<apply block="deny-all" message="You may not modify the spawn areas.">
<region name="spawn"/>
</apply>
<cylinder name="red-spawn-area" base="-57.5,2,295.5" radius="1" height="0"/>
<cylinder name="blue-spawn-area" base="-57.5,2,387.5" radius="1" height="0"/>
</regions>
<spawns>
<spawns team="red" kit="red">
<spawn angle="-52,3.5,385.5">
<region name="red-spawn-area"/>
</spawn>
<spawn angle="-52,3.5,389.5">
<region name="red-spawn-area"/>
</spawn>
<spawn angle="-63,3.5,385.5">
<region name="red-spawn-area"/>
</spawn>
<spawn angle="-63,3.5,389.5">
<region name="red-spawn-area"/>
</spawn>
</spawns>
<spawns team="blue" kit="blue">
<spawn angle="-52,3.5,293.5">
<region name="blue-spawn-area"/>
</spawn>
<spawn angle="-52,3.5,297.5">
<region name="blue-spawn-area"/>
</spawn>
<spawn angle="-63,3.5,293.5">
<region name="blue-spawn-area"/>
</spawn>
<spawn angle="-63,3.5,297.5">
<region name="blue-spawn-area"/>
</spawn>
</spawns>
<default>
<cylinder base="-57.5,45,341.5" radius="2" height="0"/>
</default>
</spawns>
<timelock>on</timelock>
<maxbuildheight>32</maxbuildheight>
<toolrepair>
<tool>iron sword</tool>
<tool>bow</tool>
<tool>iron pickaxe</tool>
<tool>stone axe</tool>
</toolrepair>
<itemremove>
<item>log</item>
<item>cooked fish</item>
<item>98</item>
</itemremove>
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment