Created
January 10, 2023 14:30
-
-
Save Cazadorian/e9f6958d96ceafeb23b11fe7f939417a to your computer and use it in GitHub Desktop.
CTW 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>Capture the enemy team's wool!</objective> | |
<created>yyyy-mm-dd</created> | |
<gamemode>ctw</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="diamond 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> | |
<wools craftable="false"> | |
<wool team="blue" color="blue" location="x,y,z"> <!-- Set color to the wool's color, set location to around where the wool is located in the woolroom --> | |
<monument> | |
<block>x,y,z</block> <!-- Set this value to where you capture the wool --> | |
</monument> | |
</wool> | |
<wool team="blue" color="cyan" location="x,y,z"> | |
<monument> | |
<block>x,y,z</block> | |
</monument> | |
</wool> | |
<wool team="red" color="red" location="x,y,z"> | |
<monument> | |
<block>x,y,z</block> | |
</monument> | |
</wool> | |
<wool team="red" color="orange" location="x,y,z"> | |
<monument> | |
<block>x,y,z</block> | |
</monument> | |
</wool> | |
</wools> | |
<filters> | |
<all id="blue-in-wr"> | |
<team id="only-blue">blue</team> | |
<not> | |
<filter id="wr-filter"/> | |
</not> | |
</all> | |
<all id="red-in-wr"> | |
<team id="only-red">red</team> | |
<not> | |
<filter id="wr-filter"/> | |
</not> | |
</all> | |
<any id="wr-filter"> <!-- Add materials to this list to prevent them being broken or placed in the woolroom --> | |
<material>chest</material> | |
</any> | |
<not id="deny-void"> | |
<void/> | |
</not> | |
</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="wool-rooms"> | |
<union id="blue-wool-rooms"> <!-- Blue defends --> | |
<rectangle id="red-wool-room" min="x,z" max="x,z"/> | |
<rectangle id="orange-wool-room" min="x,z" max="x,z"/> | |
</union> | |
<union id="red-wool-rooms"> <!-- Red defends --> | |
<rectangle id="blue-wool-room" min="x,z" max="x,z"/> | |
<rectangle id="cyan-wool-room" min="x,z" max="x,z"/> | |
</union> | |
</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="wool-rooms"/> | |
<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 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" use="only-blue" region="red-wool-rooms" message="You may not interact with this block!"/> | |
<apply block="red-in-wr" use="only-red" region="blue-wool-rooms" message="You may not interact with this block!"/> | |
<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>diamond 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>string</item> | |
<item>redstone</item> | |
<item>redstone torch off</item> | |
<item>sapling</item> | |
<item>dirt</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