Created
January 10, 2023 14:30
-
-
Save Cazadorian/c9fc9bb0d173d824037ee31919a2b743 to your computer and use it in GitHub Desktop.
DTM Basic Template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<map proto="1.4.2"> | |
<name>Map Name</name> | |
<version>1.0</version> | |
<objective>Destroy the enemy team's monument!</objective> | |
<created>yyyy-mm-dd</created> | |
<gamemode>dtm</gamemode> | |
<authors> | |
<author uuid="6863869b-4b8c-4445-b778-a8e016775ae4"/> <!-- username --> | |
</authors> | |
<contributors> | |
<contributor uuid="6863869b-4b8c-4445-b778-a8e016775ae4" contribution="add contribution here"/> <!-- username --> | |
</contributors> | |
<teams> | |
<team id="blue" color="blue" max="10">Blue</team> <!-- Change these values to best fit your map --> | |
<team id="red" color="red" max="10">Red</team> | |
</teams> | |
<kits> | |
<kit id="spawn-kit"> | |
<clear/> | |
<item slot="0" unbreakable="true" material="iron sword"/> | |
<item slot="1" unbreakable="true" material="bow" enchantment="infinity"/> | |
<item slot="2" unbreakable="true" material="iron pickaxe"/> | |
<item slot="3" unbreakable="true" material="iron axe"/> | |
<item slot="4" material="wood" amount="64"/> | |
<item slot="5" material="stained glass" team-color="true" amount="32"/> | |
<item slot="7" material="golden apple"/> | |
<item slot="8" material="water bucket"/> | |
<item slot="28" material="arrow"/> | |
<item slot="29" unbreakable="true" material="iron spade"/> | |
<item slot="30" unbreakable="true" material="shears"/> | |
<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="leather boots" /> | |
<effect duration="3" amplifier="255">damage resistance</effect> | |
</kit> | |
</kits> | |
<spawns> | |
<default yaw="0"> <!-- Yaw is the direction you face upon spawning, the number can be found in the F3 screen --> | |
<regions> | |
<point>x,y,z</point> | |
</regions> | |
</default> | |
<spawn team="blue" kit="spawn-kit" yaw="0"> | |
<regions> | |
<point>x,y,z</point> | |
</regions> | |
</spawn> | |
<spawn team="red" kit="spawn-kit" yaw="0"> | |
<regions> | |
<point>x,y,z</point> | |
</regions> | |
</spawn> | |
</spawns> | |
<destroyables name="Monument" materials="emerald block" completion="100%" required="true"> <!-- Set materials to the blocks of the monument that must be destroyed --> | |
<destroyable owner="blue"> | |
<region> | |
<cuboid min="x,y,z" max="x,y,z"/> | |
</region> | |
</destroyable> | |
<destroyable owner="red"> | |
<region> | |
<cuboid min="x,y,z" max="x,y,z"/> | |
</region> | |
</destroyable> | |
</destroyables> | |
<modes> | |
<mode id="gold-mode" after="20m" name="`6GOLD MONUMENT MODE" material="gold block"/> | |
<mode id="clay-mode" after="40m" name="`eCLAY MONUMENT MODE" material="stained clay:4"/> | |
</modes> | |
<filters> | |
<not id="deny-void"> | |
<void/> | |
</not> | |
<team id="only-blue">blue</team> | |
<team id="only-red">red</team> | |
</filters> | |
<regions> | |
<union id="spawn-protection"> <!-- This is the area around spawn where enemies cannot enter and block interaction is disabled --> | |
<rectangle id="blue-protection" min="x,z" max="x,z"/> | |
<rectangle id="red-protection" min="x,z" max="x,z"/> | |
</union> | |
<union id="lanes"> <!-- These are the regions in which players will be allowed to bridge over void, add or subtract as many regions as needed to this --> | |
<rectangle id="left-lane" min="x,z" max="x,z"/> | |
<rectangle id="right-lane" min="x,z" max="x,z"/> | |
</union> | |
<negative id="void-area"> | |
<region id="spawn-protection"/> | |
<region id="lanes"/> | |
</negative> | |
<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 block-place="deny-void" region="void-area" message="You may not build in the void area!"/> | |
<apply block="never" region="spawn-protection" message="You may not modify the spawns!"/> | |
</regions> | |
<toolrepair> <!-- Tools added to this section will be picked up if you lack them, but will merge with any already in your inventory --> | |
<tool>iron sword</tool> | |
<tool>bow</tool> | |
<tool>iron pickaxe</tool> | |
<tool>iron axe</tool> | |
<tool>iron spade</tool> | |
<tool>shears</tool> | |
<tool>arrow</tool> | |
</toolrepair> | |
<itemremove> <!-- Items addded to this section are deleted if they are dropped in any way onto the floor --> | |
<item>leather helmet</item> | |
<item>leather chestplate</item> | |
<item>chainmail leggings</item> | |
<item>leather boots</item> | |
<item>gold block</item> | |
<item>coal block</item> | |
<item>stained clay:4</item> | |
</itemremove> | |
<itemkeep> <!-- Items added to this section are removed upon death, but can still be manually dropped --> | |
<item>wood</item> | |
<item>stained glass</item> | |
<item>golden apple</item> | |
<item>water bucket</item> | |
<item>bucket</item> | |
</itemkeep> | |
<block-drops> <!-- This prevents planks from dropping when mined, to avoid cluttering inventories --> | |
<rule> | |
<filter> | |
<material>wood</material> | |
</filter> | |
<drops> | |
<item chance="0" material="wood"/> | |
</drops> | |
</rule> | |
</block-drops> | |
<kill-rewards> | |
<kill-reward> | |
<item material="golden apple"/> | |
<item amount="16" material="wood"/> | |
<item amount="8" material="stained glass" team-color="true"/> | |
</kill-reward> | |
</kill-rewards> | |
<maxbuildheight>y</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