Skip to content

Instantly share code, notes, and snippets.

@oafMH

oafMH/map.xml Secret

Created August 15, 2023 20:37
Show Gist options
  • Save oafMH/4e32186f47bed4a0cb62a2a7b051db00 to your computer and use it in GitHub Desktop.
Save oafMH/4e32186f47bed4a0cb62a2a7b051db00 to your computer and use it in GitHub Desktop.
talovy
<map proto="1.4.2">
<name>Talovy</name>
<version>1.0.0</version>
<created>2023-08-14</created>
<objective>Destroy the other team's Emerald monument!</objective>
<gamemode>dtm</gamemode>
<!-- Authors & Contributors -->
<authors>
<author uuid="924c4e61-57b6-4931-afdb-6525b2ed34c0" /> <!-- OAF6 -->
</authors>
<contributors>
<contributor uuid="1fd982ab-8941-474b-b51e-6ce2346f4cd5"/> <!-- Zynnphony -->
<contributor uuid="571c1d9d-4d49-43bd-bfdb-30563e920ca9" contribution="XML"/> <!-- Wesdial -->
</contributors>
<!-- Teams -->
<teams>
<team id="blue-team" color="blue" max="12">Blue</team>
<team id="red-team" color="dark red" max="12">Red</team>
</teams>
<!-- Spawn Kit -->
<kits>
<kit id="spawn-kit">
<clear />
<item slot="0" unbreakable="true" material="iron 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="4" amount="64" material="wood" damage="1" />
<item slot="5" amount="32" material="glass" />
<item slot="6" amount="16" material="arrow" />
<item slot="7" amount="1" material="golden apple" />
<item slot="8" material="water bucket" />
<item slot="9" unbreakable="true" material="iron spade" />
<item slot="10" amount="18" material="iron ingot" />
<helmet unbreakable="true" team-color="true" material="leather helmet" />
<chestplate unbreakable="true" team-color="true" material="leather chestplate" />
<leggings unbreakable="true" material="chainmail leggings" enchantment="projectile_protection" />
<boots unbreakable="true" material="iron boots" />
<effect duration="3" amplifier="255">resistance</effect>
</kit>
</kits>
<!-- Spawns -->
<spawns>
<default>
<regions yaw="90">
<cylinder base="30.5,32,-51.5" radius="2" height="0" />
</regions>
</default>
<spawn team="blue-team" kit="spawn-kit">
<regions>
<point yaw="-90">0.5,10,29.5</point>
</regions>
</spawn>
<spawn team="red-team" kit="spawn-kit">
<regions>
<point yaw="90">-20.5,10,-129.5</point>
</regions>
</spawn>
</spawns>
<!-- Filters -->
<filters>
<team id="only-blue">blue-team</team>
<team id="only-red">red-team</team>
<not id="no-void">
<void/>
</not>
</filters>
<!-- Regions -->
<regions>
<union id="team-spawns">
<rectangle id="blue-spawn" min="-3,15" max="9,35" />
<rectangle id="red-spawn" min="-18,-116" max="-30,-136" />
</union>
<!-- Applications -->
<apply region="blue-spawn" enter="only-blue" message="You may not enter the other team's spawn" />
<apply region="red-spawn" enter="only-red" message="You may not enter the other team's spawn" />
<apply region="team-spawns" block="never" message="You may not modify the spawn area" />
<apply block="no-void" message="You may not build in the void area!" />
</regions>
<!-- Monuments -->
<destroyables materials="emerald block" repairable="false">
<destroyable id="blue-monument" name="Monument" owner="blue-team">
<region>
<cuboid min="-21,19,17" max="-24,23,20" />
</region>
</destroyable>
<destroyable id="red-monument" name="Monument" owner="red-team">
<region>
<cuboid min="0,19,-118" max="3,23,-121" />
</region>
</destroyable>
</destroyables>
<!-- Kill Rewards -->
<kill-rewards>
<kill-reward>
<item amount="8" material="arrow" />
<item material="golden apple" />
<item amount="16" damage="1" material="wood" />
</kill-reward>
</kill-rewards>
<itemremove>
<item>leather helmet</item>
<item>leather chestplate</item>
<item>chainmail leggings</item>
<item>iron boots</item>
<item>sapling</item>
<item>emerald block</item>
</itemremove>
<toolrepair>
<tool>iron sword</tool>
<tool>bow</tool>
<tool>iron pickaxe</tool>
<tool>iron axe</tool>
<tool>iron spade</tool>
</toolrepair>
<itemkeep>
<item>golden apple</item>
<item>arrow</item>
<item>wood:1</item>
<item>glass</item>
</itemkeep>
<!-- Misc -->
<maxbuildheight>24</maxbuildheight>
<hunger>
<depletion>off</depletion>
</hunger>
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment