Skip to content

Instantly share code, notes, and snippets.

@eliminate123
Created August 7, 2022 23:16
Show Gist options
  • Save eliminate123/b55bf63de740e96ec9351a6a170bf871 to your computer and use it in GitHub Desktop.
Save eliminate123/b55bf63de740e96ec9351a6a170bf871 to your computer and use it in GitHub Desktop.
<map proto="1.4.2">
<name>Villa II</name>
<version>1.0</version>
<objective>Capture the enemy team's wool!</objective>
<created>2022-08-07</created>
<gamemode>ctw</gamemode>
<authors>
<author uuid="d5a64b26-15ea-46c4-8319-f9c83e82a1fa"/> <!-- Eliminate -->
<author uuid="ec5ec930-5cf3-4f8a-ad9f-09056aeed71b"/> <!--Tundren-->
</authors>
<contributors>
<contributor uuid="6863869b-4b8c-4445-b778-a8e016775ae4" contributor="XML"/> <!-- Cazadorian -->
</contributors>
<teams>
<team id="blue" color="blue" max="24">Blue</team>
<team id="red" color="dark red" max="24">Red</team>
</teams>
<kits>
<kit id="spawn-kit">
<clear/>
<item slot="0" unbreakable="true" material="stone sword"/>
<item slot="1" unbreakable="true" material="bow" enchantment="infinity"/>
<item slot="2" unbreakable="true" material="iron pickaxe" enchantment="dig speed"/>
<item slot="3" material="iron axe" unbreakable="true">
<enchantment level="2">dig_speed</enchantment>
</item>
<item slot="28" material="arrow"/>
<item slot="4" unbreakable="true" material="iron spade" enchantment="dig speed"/>
<item slot="5" amount="64" damage="2" material="wood"/>
<item slot="6" amount="32" material="glass"/>
<item slot="8" material="bucket"/>
<item slot="7" material="golden apple"/>
<effect duration="4" amplifier="255">damage resistance</effect>
<helmet unbreakable="true" team-color="true" material="leather helmet"/>
<chestplate unbreakable="true" team-color="true" material="leather chestplate" enchantment="protection projectile:2"/>
<leggings material="chainmail leggings" unbreakable="true"/>
<boots material="leather boots" team-color="true" unbreakable="true"/>
</kit>
</kits>
<spawns>
<default yaw="-90">
<regions>
<point>-80.5,22,41.5</point>
</regions>
</default>
<spawn team="red" kit="spawn-kit" yaw="135">
<regions>
<point>61.5,13,146.5</point>
</regions>
</spawn>
<spawn team="blue" kit="spawn-kit" yaw="-45">
<regions>
<point>-47.5,13,-62.5</point>
</regions>
</spawn>
</spawns>
<wools craftable="false">
<wool team="blue" color="purple" location="-12.5,13,198.5">
<monument>
<block>-43,14,-52</block>
</monument>
</wool>
<wool team="red" color="orange" location="26.5,13,-114.5">
<monument>
<block>56,14,135</block>
</monument>
</wool>
</wools>
<filters>
<all id="blue-in-wr">
<team id="only-blue">blue</team>
<filter id="wr-filter"/>
</all>
<all id="red-in-wr">
<team id="only-red">red</team>
<filter id="wr-filter"/>
</all>
<any id="wr-filter">
<material>web</material>
</any>
<not id="deny-void">
<void/>
</not>
<deny id="deny-players">
<participating/>
</deny>
<material id="only-iron">iron block</material>
</filters>
<regions>
<union id="spawn-protection">
<rectangle id="blue-prot" min="-27,-41" max="-59,-74"/>
<rectangle id="red-prot" min="41,125" max="73,158"/>
</union>
<union id="wool-rooms">
<rectangle id="orange-wool-room" min="12,-88" max="41,-123"/> <!-- blue defends -->
<rectangle id="purple-wool-room" min="2,172" max="-27,207"/> <!-- red defends -->
</union>
<union id="wool-spawners">
<point id="orange-point">26.5,13,-114.5</point>
<point id="purple-point">-12.5,13,198.5</point>
</union>
<union id="gap-spawner">
<cuboid id="gap-spawner-prot" min="8,14,43" max="6,11,41"/>
<cuboid id="gap-spawner-point" min="8,12,43" max="6,12,41"/>
<cuboid id="gap-spawner-region" min="10,10,45" max="4,14,39"/>
</union>
<union id="lanes">
<rectangle id="blue-lane-1" min="33,32" max="-19,-8"/>
<rectangle id="blue-lane-2" min="43,-7" max="-19,-33"/>
<rectangle id="blue-lane-3" min="11,-33" max="53,-61"/>
<rectangle id="red-lane-1" min="33,52" max="-19,92"/>
<rectangle id="red-lane-2" min="-29,91" max="33,117"/>
<rectangle id="red-lane-3" min="3,117" max="-39,145"/>
</union>
<negative id="void-area">
<region id="spawn-protection"/>
<region id="wool-rooms"/>
<region id="lanes"/>
<region id="gap-spawner"/>
</negative>
<apply enter="only-blue" region="blue-prot" message="You may not enter the opponent's spawn!"/>
<apply enter="only-red" region="red-prot" message="You may not enter the opponent's spawn!"/>
<apply enter="only-blue" region="purple-wool-room" message="You may not enter your own wool room!"/>
<apply enter="only-red" region="orange-wool-room" message="You may not enter your own wool room!"/>
<apply block="blue-in-wr" region="purple-wool-room" message="You may not break the wool rooms!"/>
<apply block="red-in-wr" region="orange-wool-room" message="You may not break the wool rooms!"/>
<apply block="never" region="gap-spawner-prot" message="You may not break the spawner!"/>
<apply block-place="deny-void" region="void-area" message="You may not build in the void area!"/>
<apply block-break="only-iron" block-place="deny-players" region="spawn-protection" message="You may not modify the spawns!"/>
</regions>
<spawners>
<spawner spawn-region="orange-point" player-region="orange-wool-room" delay="1s">
<item material="wool" amount="1" damage="1"/>
</spawner>
<spawner spawn-region="purple-point" player-region="purple-wool-room" delay="1s">
<item material="wool" amount="1" damage="10"/>
</spawner>
<spawner spawn-region="gap-spawner-point" player-region="gap-spawner-region" delay="8s">
<item material="golden apple" amount="1"/>
</spawner>
</spawners>
<toolrepair>
<tool>stone sword</tool>
<tool>bow</tool>
<tool>iron pickaxe</tool>
<tool>iron axe</tool>
<tool>iron spade</tool>
</toolrepair>
<itemremove>
<item>leather helmet</item>
<item>leather chestplate</item>
<item>chainmail leggings</item>
<item>leather boots</item>
<item>red rose</item>
<item>seeds</item>
<item>sapling</item>
<item>string</item>
<item>redstone</item>
<item>redstone torch off</item>
</itemremove>
<itemkeep>
<item>arrow</item>
<item>wood</item>
<item>glass</item>
<item>golden apple</item>
<item>water bucket</item>
<item>bucket</item>
</itemkeep>
<renewables>
<renewable region="spawn-protection" renew-filter="only-iron" interval="3" grow="false" particles="true" sound="true"/>
</renewables>
<block-drops>
<rule>
<filter>
<material>wood</material>
</filter>
<drops>
<item chance="0" material="wood"/>
</drops>
</rule>
</block-drops>
<hunger>
<depletion>off</depletion>
</hunger>
<maxbuildheight>33</maxbuildheight>
<kill-rewards>
<kill-reward>
<item material="golden apple" amount="1"/>
<item material="wood" amount="16"/>
<item material="glass" amount="8"/>
</kill-reward>
</kill-rewards>
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment