Skip to content

Instantly share code, notes, and snippets.

@Electroid
Created October 28, 2013 03:53
Show Gist options
  • Select an option

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

Select an option

Save Electroid/7191215 to your computer and use it in GitHub Desktop.
Pursuit of Happiness XML
<?xml version="1.0"?>
<map proto="1.3.0">
<name>Pursuit of Happiness</name>
<version>1.0.1</version>
<objective>Capture the other team's two wools.</objective>
<authors>
<author>MrM00se</author>
<author>MinimalCow</author>
<author>MK325</author>
<author>RastaLulz</author>
<author>Oversoul96</author>
<author>Eum3</author>
<author>GabeIsAwesome199</author>
</authors>
<contributors>
<contributor>bleangamer</contributor>
</contributors>
<rules>
<rule>You are not allowed to pick a different class on re-log or re-join.</rule>
<rule>If you are subsistuting for a player, you must inherit their class.</rule>
<rule>Interchanging items is allowed, but not classes.</rule>
</rules>
<teams>
<team color="dark red" max="12">Red Team</team>
<team color="blue" max="12">Blue Team</team>
</teams>
<kits>
<kit name="observers">
<potion duration="oo" amplifier="1" ambient="true">night vision</potion>
</kit>
</kits>
<classes family="pursuit" sticky="true">
<class name="Melee" default="true" description="Slay your enemies quicker with your powerful sword." icon="diamond sword">
<kit>
<potion duration="oo" amplifier="1" ambient="true">speed</potion>
<item slot="0">diamond sword</item>
<item slot="1" damage="-3000">bow</item>
<item slot="2" damage="-3000">iron pickaxe</item>
<item slot="3" amount="64">log</item>
<item slot="4" amount="64">glass</item>
<item slot="5">326</item>
<item slot="8" amount="64">cooked beef</item>
<item slot="28" amount="64">arrow</item>
<item slot="29" amount="64">arrow</item>
</kit>
</class>
<class name="Structure" default="false" description="Use your stronger tools to build structures quickly." icon="diamond pickaxe">
<kit>
<potion duration="oo" amplifier="1" ambient="true">speed</potion>
<potion duration="oo" amplifier="1" ambient="true">night vision</potion>
<item slot="0">iron sword</item>
<item slot="1" damage="-3000">bow</item>
<item slot="2" damage="-3000" enchantment="dig speed:3">diamond pickaxe</item>
<item slot="3" damage="-3000" enchantment="dig speed:3">diamond axe</item>
<item slot="4" damage="-3000" enchantment="dig speed:3;loot bonus blocks:10">diamond spade</item>
<item slot="5" amount="64">log</item>
<item slot="32" amount="64">log</item>
<item slot="23" amount="64">143</item>
<item slot="6" amount="64">glass</item>
<item slot="33" amount="64">glass</item>
<item slot="15" amount="16">33</item>
<item slot="7">326</item>
<item slot="34" amount="32">331</item>
<item slot="8" amount="64">cooked beef</item>
<item slot="28" amount="64">arrow</item>
<item slot="29" amount="64">arrow</item>
</kit>
</class>
<class name="Range" default="false" description="Attack from afar with your stronger bow." icon="bow">
<kit>
<item slot="0">iron sword</item>
<item slot="1" damage="-3000" enchantment="arrow damage:1">bow</item>
<item slot="2" damage="-3000">iron pickaxe</item>
<item slot="3" amount="64">log</item>
<item slot="4" amount="64">glass</item>
<item slot="5">326</item>
<item slot="8" amount="64">cooked beef</item>
<item slot="28" amount="64">arrow</item>
<item slot="29" amount="64">arrow</item>
<item slot="27" amount="64">arrow</item>
</kit>
</class>
</classes>
<wools>
<wool team="red" color="orange">
<block>113,12,-367</block>
</wool>
<wool team="red" color="lime">
<block>117,12,-367</block>
</wool>
<wool team="blue" color="yellow">
<block>-31,12,-367</block>
</wool>
<wool team="blue" color="purple">
<block>-35,12,-367</block>
</wool>
</wools>
<spawns>
<default kit="observers" yaw="180">
<cylinder base="41.5,50,-425.5" radius="1" height="0"/>
</default>
<spawn team="red" yaw="90">
<cylinder base="134.5,247,-366.5" radius="1" height="0"/>
</spawn>
<spawn team="blue" yaw="-90">
<cylinder base="-51.5,247,-366.5" radius="1" height="0"/>
</spawn>
</spawns>
<filters>
<filter name="only-red" parents="deny-players deny-world">
<allow>
<team>red</team>
</allow>
</filter>
<filter name="only-blue" parents="deny-players deny-world">
<allow>
<team>blue</team>
</allow>
</filter>
<filter name="deny-void">
<deny>
<void/>
</deny>
</filter>
<filter name="no-storage" parents="deny-void">
<deny>
<block>54</block>
<block>61</block>
<block>146</block>
<block>130</block>
<block>158</block>
<block>23</block>
<block>154</block>
</deny>
</filter>
</filters>
<regions>
<union name="red-wool-rooms"> <!-- Red Defends -->
<rectangle name="lime-wool-room" min="-56.5,-322.5" max="-67.5,-333.5"/>
<rectangle name="orange-wool-room" min="-56.5,-399.5" max="-67.5,-410.5"/>
</union>
<union name="blue-wool-rooms"> <!-- Blue Defends -->
<rectangle name="purple-wool-room" min="150.5,-399.5" max="139.5,-410.5"/>
<rectangle name="yellow-wool-room" min="139.5,-333.5" max="150.5,-322.5"/>
</union>
<union name="lanes">
<rectangle name="big-lane-1" min="55,-371" max="28,-383"/>
<rectangle name="big-lane-2" min="55,-350" max="28,-362"/>
<rectangle name="blue-right" min="21,-350" max="30,-335"/>
<rectangle name="blue-left" min="21,-383" max="30,-398"/>
<rectangle name="red-right" min="62,-383" max="53,-398"/>
<rectangle name="red-left" min="62,-359" max="53,-335"/>
<rectangle name="horizontal" min="44,-336" max="39,-397"/>
</union>
<union name="spawners">
<block>-18,8,-367</block>
<block>100,8,-367</block>
<block>41,1,-339</block>
<block>41,11,-367</block>
<block>41,1,-385</block>
<block>60,5,-381</block>
<block>60,5,-374</block>
<block>60,5,-360</block>
<block>60,5,-353</block>
<block>22,5,-353</block>
<block>22,5,-360</block>
<block>22,5,-374</block>
<block>22,5,-381</block>
</union>
<union name="islands">
<rectangle min="39,-341" max="44,-336"/>
<cuboid min="44,10,-364" max="39,oo,-369"/>
<rectangle min="39,-392" max="44,-397"/>
</union>
<negative name="lanes-outside">
<region name="lanes"/>
</negative>
<rectangle name="red-spawn-area" min="103.5,-372.5" max="127.5,-360.5"/>
<rectangle name="blue-spawn-area" min="-20.5,-372.5" max="-44.5,-360.5"/>
<rectangle name="red-spawn-pool" min="117,-365" max="114,-368"/>
<rectangle name="blue-spawn-pool" min="-34,-365" max="-31,-368"/>
<rectangle name="center-all" min="52,-350" max="40,-383"/>
<cuboid name="above-30" min="-oo,31,-oo" max="oo,oo,oo"/>
<apply enter="only-red" message="You cannot enter your own wool room!">
<region name="red-wool-rooms"/>
</apply>
<apply block="only-red" use="only-red" message="You cannot modify your own wool room!">
<region name="red-wool-rooms"/>
</apply>
<apply enter="only-blue" message="You cannot enter your own wool room!">
<region name="blue-wool-rooms"/>
</apply>
<apply block="only-blue" use="only-blue" message="You cannot modify your own wool room!">
<region name="blue-wool-rooms"/>
</apply>
<apply block="deny-all">
<region name="red-spawn-pool"/>
<region name="blue-spawn-pool"/>
<region name="spawners"/>
<region name="islands"/>
<region name="above-30"/>
</apply>
<apply block="no-storage">
<region name="lanes-outside"/>
</apply>
</regions>
<itemremove>
<item>diamond pickaxe</item>
<item>diamond spade</item>
<item>diamond axe</item>
<item>bow</item>
<item>diamond sword</item>
<item>iron sword</item>
<item>iron pickaxe</item>
</itemremove>
</map>
@96alexmr
Copy link
Copy Markdown

Should not the tools be on itemrepair?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment