Skip to content

Instantly share code, notes, and snippets.

@eliminate123
Created May 9, 2023 16:59
Show Gist options
  • Save eliminate123/7d87e3385ef48b895405fce99bb3b323 to your computer and use it in GitHub Desktop.
Save eliminate123/7d87e3385ef48b895405fce99bb3b323 to your computer and use it in GitHub Desktop.
Villa map.xml
<map proto="1.4.2">
<name>Villa</name>
<version>1.1.5</version>
<objective>Capture the enemy team's wool!</objective>
<created>2022-01-01</created>
<authors>
<author uuid="d5a64b26-15ea-46c4-8319-f9c83e82a1fa"/> <!-- Eliminate -->
</authors>
<contributors>
<contributor uuid="6863869b-4b8c-4445-b778-a8e016775ae4" contribution="XML"/> <!-- Cazadorian -->
<contributor uuid="fe3608b7-d105-4029-8800-34b3147065b6" contribution="Building Help and Layout"/> <!-- rockymine -->
</contributors>
<teams>
<team id="blue" color="blue" max="16">Blue</team>
<team id="red" color="dark red" max="16">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</enchantment>
</item>
<item slot="28" material="arrow"/>
<item slot="2" unbreakable="true" material="iron pickaxe">
<enchantment>efficiency</enchantment>
</item>
<item slot="3" unbreakable="true" material="iron axe">
<enchantment>efficiency</enchantment>
</item>
<item slot="4" unbreakable="true" material="iron spade"/>
<item slot="5" amount="48" material="wood"/>
<item slot="6" amount="32" material="glass"/>
<item slot="8" material="golden apple"/>
<chestplate unbreakable="true" team-color="true" material="leather chestplate"/>
<leggings unbreakable="true" material="chainmail leggings"/>
<boots unbreakable="true" team-color="true" material="leather boots">
</boots>
</kit>
</kits>
<spawns>
<default yaw="90">
<regions>
<point>59.5,13,-71.5</point>
</regions>
</default>
<spawn team="red" kit="spawn-kit" yaw="90">
<regions>
<point>29.5,9.5,-15.5</point>
</regions>
</spawn>
<spawn team="blue" kit="spawn-kit" yaw="-90">
<regions>
<point>-27.5,9.5,-126.5</point>
</regions>
</spawn>
</spawns>
<filters>
<deny id="deny-players">
<participating/>
</deny>
<material id="only-gold">gold block</material>
<not id="blue-in-wr">
<any>
<team id="only-red">red</team>
<material>chest</material>
<material>wool</material>
<material>spruce wood stairs</material>
<material>trap door</material>
<material>log</material>
<material>torch</material>
<material>stained clay</material>
<material>wood</material>
<material>leaves</material>
<material>cauldron</material>
<material>item frame</material>
<material>fence</material>
<material>sandstone</material>
<material>beacon</material>
<material>iron block</material>
<material>wood step</material>
<material>sandstone stairs</material>
<material>stained glass</material>
<material>stained glass pane</material>
<material>redstone wire</material>
<material>sign post</material>
<material>brick</material>
<material>step</material>
<material>cobblestone</material>
<material>cobble wall</material>
<material>hay block</material>
<material>pumpkin</material>
<material>melon block</material>
<material>stone</material>
<material>wood stairs</material>
<material>double step</material>
<material>cobblestone stairs</material>
<material>sign</material>
</any>
</not>
<not id="red-in-wr">
<any>
<team id="only-blue">blue</team>
<material>chest</material>
<material>wool</material>
<material>spruce wood stairs</material>
<material>trap door</material>
<material>log</material>
<material>torch</material>
<material>stained clay</material>
<material>wood</material>
<material>leaves</material>
<material>cauldron</material>
<material>item frame</material>
<material>fence</material>
<material>sandstone</material>
<material>beacon</material>
<material>iron block</material>
<material>wood step</material>
<material>sandstone stairs</material>
<material>stained glass</material>
<material>stained glass pane</material>
<material>redstone wire</material>
<material>sign post</material>
<material>brick</material>
<material>step</material>
<material>cobblestone</material>
<material>cobble wall</material>
<material>hay block</material>
<material>pumpkin</material>
<material>melon block</material>
<material>stone</material>
<material>wood stairs</material>
<material>double step</material>
<material>cobblestone stairs</material>
<material>sign</material>
</any>
</not>
<not id="deny-void">
<void/>
</not>
<deny id="deny-void-break">
<all>
<any>
<material>stone button</material>
<material>wood button</material>
<material>web</material>
</any>
<void/>
</all>
</deny>
</filters>
<regions>
<union id="spawn-protection">
<rectangle id="red-protection" min="18,-26" max="37,-4"/>
<rectangle id="blue-protection" min="-16,-115" max="-35,-138"/>
</union>
<complement id="void-area">
<everywhere/>
<!-- Middle-->
<rectangle min="107,42" max="190,-27"/>
<region id="spawn-protection"/>
<region id="wool-rooms"/>
<rectangle id="blue-offset" min="-13,-94" max="23,-105"/>
<rectangle id="red-offset" min="15,-37" max="-21,-48"/>
<rectangle id="middle" min="23,-94" max="-21,-48"/>
</complement>
<union id="wool-rooms">
<union id="blue-wool-rooms"> <!-- blue defends -->
<rectangle id="orange-woolroom" min="46,-122" max="59,-133"/>
</union>
<union id="red-wool-rooms"> <!-- red defends -->
<rectangle id="green-woolroom" min="-44,-20" max="-57,-9"/>
</union>
</union>
<point id="green-point">-53.5,11,-14.5</point>
<point id="orange-point">55.5,11,-127.5</point>
<apply enter="only-blue" region="blue-protection" message="You may not enter the opponent's spawn!"/>
<apply enter="only-red" region="red-protection" message="You may not enter the opponent's spawn!"/>
<apply enter="only-blue" region="red-wool-rooms" message="You may not enter your own wool room!"/>
<apply enter="only-red" region="blue-wool-rooms" message="You may not enter your own wool room!"/>
<apply block="blue-in-wr" region="red-wool-rooms" message="You may not modify the wool rooms!"/>
<apply block="red-in-wr" region="blue-wool-rooms" message="You may not modify the wool rooms!"/>
<apply block-place="deny-void" block-break="deny-void-break" region="void-area" message="You may not edit the void area!"/>
<apply block-break="only-gold" block-place="deny-players" region="spawn-protection" message="You may not modify the spawns!"/>
</regions>
<spawners>
<spawner spawn-region="orange-point" player-region="orange-woolroom" delay="6s">
<item amount="1" material="wool" damage="1"/>
</spawner>
<spawner spawn-region="green-point" player-region="green-woolroom" delay="6s">
<item amount="1" material="wool" damage="13"/>
</spawner>
</spawners>
<wools team="blue" craftable="false">
<wool color="green" location="-53.5,11,-14.5">
<monument>
<block>-33,11,-127</block>
</monument>
</wool>
</wools>
<wools team="red" craftable="false">
<wool color="orange" location="55.5,11,-127.5">
<monument>
<block>34,11,-16</block>
</monument>
</wool>
</wools>
<toolrepair>
<tool>stone sword</tool>
<tool>bow</tool>
<tool>iron pickaxe</tool>
<tool>iron axe</tool>
<tool>iron spade</tool>
<tool>arrow</tool>
</toolrepair>
<itemremove>
<item>leather helmet</item>
<item>leather chestplate</item>
<item>chainmail leggings</item>
<item>leather boots</item>
<!-- long grass, all types -->
<item>31</item>
<!-- "red rose", all types -->
<item>38</item>
<item>175</item>
<item>yellow flower</item>
<item>string</item>
<item>redstone</item>
<item>seeds</item>
</itemremove>
<renewables>
<renewable region="spawn-protection" renew-filter="only-gold" interval="3" grow="false" particles="true" sound="true"/>
</renewables>
<crafting>
<disable>boat</disable>
</crafting>
<block-drops>
<rule>
<filter>
<material>wood</material>
</filter>
<drops>
<item chance="0" material="wood"/>
</drops>
</rule>
</block-drops>
<itemkeep>
<item>wood</item>
<item>golden apple</item>
</itemkeep>
<kill-reward>
<item amount="8" material="wood"/>
<item material="golden apple"/>
</kill-reward>
<hunger>
<depletion>off</depletion>
</hunger>
<maxbuildheight>22</maxbuildheight>
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment