Skip to content

Instantly share code, notes, and snippets.

@CredensJustitiam
Last active August 25, 2024 18:56
Show Gist options
  • Save CredensJustitiam/079bc176ec74df5fe16477743e007ada to your computer and use it in GitHub Desktop.
Save CredensJustitiam/079bc176ec74df5fe16477743e007ada to your computer and use it in GitHub Desktop.
<map proto="1.4.2">
<name>Arrowless CTW</name>
<version>1.0.0</version>
<objective>Capture both wools from the enemy's wool rooms and return them to your victory monument!</objective>
<authors>
<author uuid="ffd655e7-9c56-46fb-9551-be3069839381"/>
<!-- CredensJustitiam -->
</authors>
<include id="gapple-kill-reward"/>
<teams>
<team id="red" color="dark red" max="24">Red</team>
<team id="blue" color="blue" max="24">Blue</team>
</teams>
<spawns>
<spawns kit="spawn-kit">
<spawn team="red">
<regions yaw="-90">
<cuboid id="red-spawn-point" min="-126.5,10,0.5" max="-126.5,10,0.5"/>
</regions>
</spawn>
<spawn team="blue">
<regions yaw="90">
<cuboid min="127.5,10,0.5" max="127.5,10,0.5"/>
</regions>
</spawn>
</spawns>
<default>
<regions yaw="180">
<cuboid id="observer-spawn" min="0.5,42,0.5" max="0.5,42,0.5"/>
</regions>
</default>
</spawns>
<kits>
<kit id="spawn-kit">
<clear/>
<item slot="0" unbreakable="true" material="iron sword"/>
<item slot="1" unbreakable="true" material="bow" name="`5Super Ultra God Bow Deluxe">
<enchantment level="10">power</enchantment>
<enchantment level="10">punch</enchantment>
<enchantment level="2">flame</enchantment>
</item>
<item slot="2" unbreakable="true" material="iron pickaxe"/>
<item slot="3" unbreakable="true" material="iron axe"/>
<item slot="4" amount="64" team-color="true" material="stained clay"/>
<item slot="5" amount="64" material="wood"/>
<item slot="7" amount="1" material="bucket"/>
<item slot="8" amount="1" material="golden apple"/>
<item slot="30" unbreakable="true" material="iron spade"/>
<item slot="31" amount="64" team-color="true" material="stained clay"/>
<item slot="32" amount="64" material="wood"/>
<helmet unbreakable="true" team-color="true" material="leather helmet"/>
<chestplate unbreakable="true" team-color="true" material="leather chestplate"/>
<leggings unbreakable="true" material="chainmail leggings"/>
<boots unbreakable="true" team-color="true" material="iron boots"/>
<effect duration="5s" amplifier="3">damage resistance</effect>
</kit>
</kits>
<maxbuildheight>22</maxbuildheight>
<toolrepair>
<tool>iron sword</tool>
<tool>bow</tool>
<tool>iron pickaxe</tool>
<tool>iron axe</tool>
<tool>iron spade</tool>
</toolrepair>
<itemremove>
<item>wood</item>
<item>stained clay</item>
<item>leather helmet</item>
<item>leather chestplate</item>
<item>chainmail leggings</item>
<item>iron boots</item>
<item>string</item>
<item>flint</item>
</itemremove>
<filters>
<team id="only-blue">blue</team>
<team id="only-red">red</team>
<deny id="no-void">
<void/>
</deny>
<not id="no-players">
<cause>player</cause>
</not>
<material id="only-iron">iron block</material>
<not id="no-chests">
<material>chest</material>
</not>
</filters>
<regions>
<union id="spawn-regions">
<cuboid id="red-spawn-region" min="-149,0,-20" max="-106,oo,21"/>
<cuboid id="blue-spawn-region" min="107,0,-20" max="150,oo,21"/>
</union>
<union id="blue-team-wool-rooms">
<cuboid id="light-blue-wool-room" min="127,0,-98" max="144,oo,-81"/>
<cuboid id="lime-wool-room" min="127,0,82" max="144,oo,99"/>
</union>
<union id="red-team-wool-rooms">
<cuboid id="pink-wool-room" min="-143,0,82" max="-126,oo,99"/>
<cuboid id="yellow-wool-room" min="-143,0,-98" max="-126,oo,-81"/>
</union>
<negative id="no-void-build-region">
<rectangle min="-38,-44" max="39,45"/>
</negative>
<apply block="no-void" region="no-void-build-region" message="You may not build outside of the map!"/>
<apply enter="only-red" block="all(only-red, no-chests)" use="only-red" region="blue-team-wool-rooms" message="You may not interact with this part of the wool room!"/>
<apply enter="only-blue" block="all(only-blue, no-chests)" use="only-blue" region="red-team-wool-rooms" message="You may not interact with this part of the wool room!"/>
<apply block-place="no-players" region="spawn-regions" message="You may not build in spawn!"/>
<apply block-break="only-iron" region="spawn-regions" message="You can only break iron blocks in spawn!"/>
</regions>
<wools>
<wool team="red" color="light blue" location="131,13,-87">
<monument>
<block location="-130,11,-1"/>
</monument>
</wool>
<wool team="red" color="lime" location="131,13,87">
<monument>
<block location="-130,11,1"/>
</monument>
</wool>
<wool team="blue" color="pink" location="-131,13,87">
<monument>
<block location="130,11,1"/>
</monument>
</wool>
<wool team="blue" color="yellow" location="-131,13,-87">
<monument>
<block location="130,11,-1"/>
</monument>
</wool>
</wools>
<world>
<timeset>6000</timeset>
</world>
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment