Skip to content

Instantly share code, notes, and snippets.

@oafMH

oafMH/map.xml Secret

Created August 14, 2023 22:22
Show Gist options
  • Save oafMH/b101b8aac853598f6c75fad99012657a to your computer and use it in GitHub Desktop.
Save oafMH/b101b8aac853598f6c75fad99012657a to your computer and use it in GitHub Desktop.
map.xml
<map proto="1.4.2">
<name>Lubong</name>
<version>1.0.0</version>
<objective>Retrieve the wool from the enemy's side and place it on your team's monument</objective>
<gamemode>ctw</gamemode>
<!-- Author & Contributor -->
<authors>
<author uuid="924c4e61-57b6-4931-afdb-6525b2ed34c0" contribution="Map building"/> <!-- OAF6 -->
</authors>
<contributors>
<contributor uuid="571c1d9d-4d49-43bd-bfdb-30563e920ca9" contribution="XML"/> <!-- Wesdial -->
</contributors>
<!-- Spawn Kit and Teams -->
<teams>
<team id="orange" color="gold" max="8">Orange</team>
<team id="yellow" color="yellow" max="8">Yellow</team>
</teams>
<kits>
<kit id="spawn">
<clear/>
<item slot="0" unbreakable="true" material="stone sword"/>
<item slot="1" unbreakable="true" material="bow"/>
<item slot="2" unbreakable="true" material="iron pickaxe"/>
<item slot="3" unbreakable="true" material="iron axe"/>
<item slot="30" unbreakable="true" material="iron spade"/>
<item slot="4" amount="64" material="quartz block"/>
<item slot="6" material="water bucket"/>
<item slot="7" amount="24" material="arrow"/>
<item slot="8" material="golden apple"/>
<leggings unbreakable="true" material="chainmail leggings" enchantment="projectile_protection"/>
<effect duration="3" amplifier="255">damage resistance</effect>
</kit>
<kit id="orange-kit" parents="spawn">
<helmet unbreakable="true" color="FFAA00" material="leather helmet"/>
<chestplate unbreakable="true" color="FFAA00" material="leather chestplate"/>
<boots unbreakable="true" color="FFAA00" material="leather boots"/>
<item slot="5" amount="32" damage="1">stained glass</item>
</kit>
<kit id="yellow-kit" parents="spawn">
<helmet unbreakable="true" color="FFFF55" material="leather helmet"/>
<chestplate unbreakable="true" color="FFFF55" material="leather chestplate"/>
<boots unbreakable="true" color="FFFF55" material="leather boots"/>
<item slot="5" amount="32" damage="4">stained glass</item>
</kit>
</kits>
<!-- Spawns -->
<spawns>
<spawn team="orange" kit="orange-kit">
<region yaw="-90">
<point>-65.5,12,35.5</point>
</region>
</spawn>
<spawn team="yellow" kit="yellow-kit">
<region yaw="90">
<point>68.5,12,-29.5</point>
</region>
</spawn>
<default>
<regions>
<cylinder base="1,53,-62" height="0" radius="2"/>
</regions>
</default>
</spawns>
<!-- Toolrepair & Itemremove -->
<toolrepair>
<tool>stone sword</tool>
<tool>bow</tool>
<tool>iron pickaxe</tool>
<tool>iron axe</tool>
<tool>iron spade</tool>
</toolrepair>
<itemremove>
<item>arrow</item>
<item>wood</item>
<item>leather helmet</item>
<item>leather chestplate</item>
<item>chainmail leggings</item>
<item>leather boots</item>
<item>glass</item>
<item>water bucket</item>
<item>golden apple</item>
</itemremove>
<!-- Wools -->
<wools>
<wool team="yellow" color="orange" location="-79.5,8.5,-8">
<monument><block>71,12,-27</block></monument>
</wool>
<wool team="orange" color="yellow" location="82.5,8.5,14">
<monument><block>-69,12,32</block></monument>
</wool>
</wools>
<!-- Kill Rewards -->
<kill-rewards>
<kill-reward>
<item>golden apple</item>
</kill-reward>
<kill-reward>
<filter>
<all>
<team>orange</team>
<kill-streak count="1"/>
</all>
</filter>
<item amount="16" damage="1">stained glass</item>
</kill-reward>
<kill-reward>
<filter>
<all>
<team>yellow</team>
<kill-streak count="1"/>
</all>
</filter>
<item amount="16" damage="4">stained glass</item>
</kill-reward>
</kill-rewards>
<!-- Filters -->
<filters>
<team id="only-orange">orange</team>
<team id="only-yellow">yellow</team>
<not id="no-void">
<void/>
</not>
</filters>
<!-- Regions -->
<regions>
<union id="spawns">
<cuboid id="orange-spawn" min="-71,0,41" max="-58,oo,31"/>
<cuboid id="yellow-spawn" min="73,0,-36" max="60,oo,-26"/>
</union>
<cuboid id="orange-woolroom" min="-82,0,-1" max="-67,oo,-15"/>
<cuboid id="yellow-woolroom" min="70,0,20" max="83,oo,6"/>
<!-- Applications -->
<apply block="only-orange" message="You may not modify your side's wool room!" region="yellow-woolroom"/>
<apply block="only-yellow" message="You may not modify your side's wool room!" region="orange-woolroom"/>
<apply enter="only-orange" message="You may not enter your side's wool room!" region="yellow-woolroom"/>
<apply enter="only-yellow" message="You may not enter your side's wool room!" region="orange-woolroom"/>
<apply enter="only-orange" message="You may not enter the enemy's spawn!" region="orange-spawn"/>
<apply enter="only-yellow" message="You may not enter the enemy's spawn!" region="yellow-spawn"/>
<apply block="never" message="You may not modify the spawns!" region="spawns"/>
<apply block-place="no-void" message="You may not build in the void area!" region="everywhere"/>
</regions>
<maxbuildheight>23</maxbuildheight>
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment