Skip to content

Instantly share code, notes, and snippets.

@Electroid
Created October 11, 2013 05:01
Show Gist options
  • Select an option

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

Select an option

Save Electroid/6929812 to your computer and use it in GitHub Desktop.
Banana Split XML
<?xml version="1.0"?>
<map proto="1.3.0">
<name>Banana Split</name>
<version>1.0</version>
<objective>Capture the other team's wools!</objective>
<authors>
<author>Tywnis</author>
</authors>
<contributors>
<contributor contribution="Metadata">dinner1111</contributor>
<contributor contribution="Metadata/Packaging">nixter1029</contributor>
</contributors>
<wools>
<wool team="red" color="lime">
<block>71,5,-4</block>
</wool>
<wool team="red" color="cyan">
<block>71,5,-3</block>
</wool>
<wool team="blue" color="orange">
<block>-72,5,-3</block>
</wool>
<wool team="blue" color="purple">
<block>-72,5,-4</block>
</wool>
</wools>
<teams>
<team color="dark red" max="16" max-overfill="20">Red Team</team>
<team color="blue" max="16" max-overfill="20">Blue Team</team>
</teams>
<kits>
<kit name="spawn">
<item slot="0">stone sword</item>
<item slot="1">bow</item>
<item slot="2">iron axe</item>
<item slot="3" damage="2" amount="32">17</item>
<item slot="5">shears</item>
<item slot="6" amount="32">106</item>
<item slot="7" amount="32">cookie</item>
<item slot="8">iron ingot</item>
<item slot="28" amount="64">arrow</item>
<item slot="19" amount="64">arrow</item>
<potion duration="5" amplifier="1">heal</potion>
</kit>
<kit name="red" parents="spawn">
<item slot="4" damage="14" amount="64">wool</item>
<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="blue" parents="spawn">
<item slot="4" damage="11" amount="64">wool</item>
<helmet color="334CB2">leather helmet</helmet>
<chestplate color="334CB2">leather chestplate</chestplate>
<leggings color="334CB2">leather leggings</leggings>
<boots color="334CB2">leather boots</boots>
</kit>
</kits>
<tnt>
<instantignite>on</instantignite>
<blockdamage>off</blockdamage>
</tnt>
<mobs>
<filter>
<spawn>spawner</spawn>
</filter>
</mobs>
<toolrepair>
<tool>stone sword</tool>
<tool>bow</tool>
<tool>iron axe</tool>
<tool>shears</tool>
</toolrepair>
<itemremove>
<item>106</item>
<item>leather chestplate</item>
<item>leather helmet</item>
<item>leather boots</item>
<item>leather leggings</item>
<item>arrow</item>
<item>cookie</item>
<item damage="2">17</item>
</itemremove>
<killreward>
<item amount="1">iron ingot</item>
</killreward>
<maxbuildheight>38</maxbuildheight>
<filters>
<filter name="only-red" parents="deny-players deny-world deny-blocks">
<allow><team>red</team></allow>
<deny><block>52</block></deny>
<deny><block>chest</block></deny>
</filter>
<filter name="only-blue" parents="deny-players deny-world deny-blocks">
<allow><team>blue</team></allow>
<deny><block>52</block></deny>
<deny><block>chest</block></deny>
</filter>
</filters>
<regions>
<!-- Blue must get -->
<apply block="only-blue" enter="only-blue" message="Don't enter your own wool rooms!">
<circle name="purple-woolroom" center="98,23" radius="8"/>
<circle name="orange-woolroom" center="98,-30" radius="8"/>
</apply>
<!-- Red must get -->
<apply block="only-red" enter="only-red" message="Don't enter your own wool rooms!">
<circle name="lime-woolroom" center="-99,23" radius="8"/>
<circle name="cyan-woolroom" center="-99,-30" radius="8"/>
</apply>
<rectangle name="main-area" min="-106,-55" max="105,48"/>
<cylinder name="blue-victory" base="-71,1,-3" radius="3" height="6"/>
<cylinder name="red-victory" base="71,1,-4" radius="3" height="6"/>
<apply enter="only-red" message="You may not enter the enemy team's base!">
<rectangle name="r-spawn-1" min="26,11" max="58,48"/>
<rectangle name="r-spawn-2" min="26,-18" max="58,-55"/>
</apply>
<apply enter="only-blue" message="You may not enter the enemy team's base!">
<rectangle name="b-spawn-1" min="-59,-18" max="-27,-55"/>
<rectangle name="b-spawn-2" min="-59,48" max="-27,11"/>
</apply>
<apply block="deny-all" message="You may not modify the base!">
<region name="r-spawn-1"/>
<region name="r-spawn-2"/>
<region name="b-spawn-1"/>
<region name="b-spawn-2"/>
<cuboid name="main-spawn" min="3,20,46" max="-4,38,53"/>
</apply>
<apply block="deny-all" message="Don't break the victory monument!">
<region name="blue-victory"/>
<region name="red-victory"/>
</apply>
</regions>
<playable>
<region name="main-area"/>
</playable>
<spawns>
<spawn team="red" kit="red" yaw="180">
<cuboid min="42.5,2,42.5" max="43.5,2,45.5"/>
</spawn>
<spawn team="red" kit="red" yaw="0">
<cuboid min="43.5,2,-48.5" max="42.5,2,-51.5"/>
</spawn>
<spawn team="blue" kit="blue" yaw="0">
<cuboid min="-42.5,2,-48.5" max="-43.5,2,-51.5"/>
</spawn>
<spawn team="blue" kit="blue" yaw="180">
<cuboid min="-43.5,2,42.5" max="-42.5,2,45.5"/>
</spawn>
<default>
<cylinder base="0,27,49" radius="1" height="1"/>
</default>
</spawns>
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment