Skip to content

Instantly share code, notes, and snippets.

@Palmidence
Created June 30, 2017 20:31
Show Gist options
  • Save Palmidence/97734dc859c52f3a6bc1367a66843a19 to your computer and use it in GitHub Desktop.
Save Palmidence/97734dc859c52f3a6bc1367a66843a19 to your computer and use it in GitHub Desktop.
Gobi
<map protocol="1.0.0">
<name>Gobi</name>
<version="1.0.6"/>
<objective="Capture the wool from the enemies wool rooms and return them to your victory monument."/>
<authors>
<author uuid="dff980ed-9f69-491e-b79c-30c21350baf2"/> <!-- Doomy -->
</authors>
<teams>
<team color="dark red" max="10">Red Team</team>
<team color="blue" max="10">Blue Team</team>
</teams>
<spawns>
<spawn team="red" kit="red" yaw="-90">
<cylinder name="redspawn" base="83,9,-103" radius="1" height="0"/>
</spawn>
<spawn team="blue" kit="blue" yaw="90">
<cylinder name="bluespawn" base="287,9,-103" radius="1" height="0"/>
</spawn>
<default yaw="180">
<region min="185,37,-30" max="185,38,-30"/>
</default>
</spawns>
<kits>
<kit name="spawn">
<item slot="0">iron sword</item>
<item slot="1" enchantment="arrow infinite:1">bow</item>
<item slot="28">arrow</item>
<item slot="2" enchantment="durability:3;dig speed:1">diamond pickaxe</item>
<item slot="3" enchantment="durability:3">iron axe</item>
<item slot="4" amount="64" damage="1">log</item>
<item slot="5" amount="32">glass</item>
<item slot="6" amount="2">golden apple</item>
<item slot="7" amount="16">ladder</item>
<item slot="8" amount="64">cooked fish</item>
</kit>
</kits>
<items>
<remove>
<item>cooked fish</item>
<item>glass</item>
<item>iron sword</item>
<item>log</item>
<item>wood</item>
<item>ladder</item>
</remove>
</items>
<flags>
<flag name="no-void" parents="allow-all">
<deny>
<void/>
</deny>
</flag>
<flag name="only-red">
<team>red</team>
</flag>
<flag name="only-blue">
<team>blue</team>
</flag>
</flags>
<regions>
<!-- This blocks access to building in the void. This feature is still a bit bugged -->
<flag block="no-void" message="You may not modify the void area!">
<negate>
<!-- These are unbounded regions (X and Z coordinates). -->
<block location="241,8,-103"/>
<block location="185,6,-144"/>
<block location="129,8,-103"/>
<rectangle min="260,-125" max="246,-82"/>
<rectangle min="125,-125" max="111,-82"/>
<rectangle min="231,-87" max="140,-100"/>
<rectangle min="231,-107" max="222,-120"/>
<rectangle min="237,-137" max="222,-151"/>
<rectangle min="134,-151" max="149,-137"/>
<rectangle min="222,-87" max="149,-65"/>
<rectangle min="149,-151" max="222,-100"/>
<rectangle min="222,-100" max="212,-107"/>
<rectangle min="159,-100" max="149,-107"/>
<rectangle min="178,-100" max="193,-114"/>
<rectangle min="181,133" max="190,-151"/>
<rectangle min="110,-91" max="94,-116"/>
<rectangle min="110,-96" max="94,-111"/>
<rectangle min="261,-116" max="277,-91"/>
<rectangle min="261,-111" max="277,-96"/>
</negate>
</flag>
<flag enter="only-red" block="only-red" use="only-red-usage" message="You may not enter or modify your own wool rooms!">
<!-- Lime Room -->
<rectangle min="268,-137" max="281,-151"/>
<!-- Yellow Room -->
<rectangle min="281,-70" max="268,-56"/>
</flag>
<flag enter="only-blue" block="only-blue" use="only-blue" message="You may not enter or modify your own wool rooms!">
<!-- Pink Room -->
<rectangle min="103,-70" max="90,-56"/>
<!-- Light Blue Room -->
<rectangle min="103,-151" max="90,-137"/>
</flag>
<!-- spawn room protection -->
<flag block="deny-all" message="You may not modify the spawn!">
<rectangle min="261,-116" max="277,-91"/>
<rectangle min="261,-111" max="277,-96"/>
<rectangle min="110,-91" max="94,-116"/>
<rectangle min="94,-87" max="77,-120"/>
<rectangle min="277,-120" max="294,-87"/>
<rectangle min="110,-96" max="94,-111"/>
</flag>
<!-- prevent teams from entering each other's spawns -->
<flag enter="only-red" message="You may not enter red's spawn room!">
<rectangle min="261,-116" max="277,-91"/>
<rectangle min="261,-111" max="277,-96"/>
<rectangle min="110,-91" max="94,-116"/>
<rectangle min="94,-87" max="77,-120"/>
<rectangle min="277,-120" max="294,-87"/>
<rectangle min="110,-96" max="94,-111"/>
</flag>
<flag enter="only-blue" message="You may not enter blue's spawn room!">
<rectangle min="261,-116" max="277,-91"/>
<rectangle min="261,-111" max="277,-96"/>
<rectangle min="110,-91" max="94,-116"/>
<rectangle min="94,-87" max="77,-120"/>
<rectangle min="277,-120" max="294,-87"/>
<rectangle min="110,-96" max="94,-111"/>
</flag>
</regions>
<objectives>
<wools>
<wool team="red" color="lime" location="273,17,-144">
<block location="13,18,-1"/>
</wool>
<wool team="red" color="yellow" location="280,25,-63">
<block location="13,18,-5"/>
</wool>
<wool team="blue" color="pink" location="90,25,-63">
<block location="165,18,-1"/>
</wool>
<wool team="blue" color="light blue" location="97,17,-144">
<block location="165,18,-5"/>
</wool>
</wools>
</objectives>
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment