-
-
Save oafMH/247586b6c043eb9f776d4632f3401360 to your computer and use it in GitHub Desktop.
krager
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>Krager</name> | |
<version>1.0.0</version> | |
<objective>Capture the enemy team's wool!</objective> | |
<created>2023-08-16</created> | |
<authors> | |
<author uuid="924c4e61-57b6-4931-afdb-6525b2ed34c0"/> <!--OAF6--> | |
</authors> | |
<teams> | |
<team id="red-team" color="dark red" max="10">Red</team> | |
<team id="blue-team" color="blue" max="10">Blue</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="28" material="arrow"/> | |
<item slot="2" unbreakable="true" material="iron pickaxe" enchantment="efficiency"/> | |
<item slot="3" unbreakable="true" material="iron axe"/> | |
<item slot="4" unbreakable="true" material="water bucket"/> | |
<item slot="5" amount="64" damage="1" material="wood"/> | |
<item slot="6" amount="32" material="stained glass"/> | |
<item slot="8" material="golden apple"/> | |
<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" material="iron boots"/> | |
<effect duration="5" amplifier="255">damage resistance</effect> | |
</kit> | |
<kit id="wr-armor" force="true"> | |
<action> | |
<replace-item> | |
<find unbreakable="true" material="chainmail leggings"/> | |
<replace unbreakable="true" material="chainmail leggings" enchantment="protection projectile"/> | |
</replace-item> | |
<replace-item> | |
<find material="iron leggings"/> | |
<replace material="iron leggings" enchantment="protection projectile"/> | |
</replace-item> | |
</action> | |
<boots material="diamond boots"/> | |
</kit> | |
<kit id="wr-gear" parent="wr-armor"> | |
<item amount="12" damage="1" material="wood"/> | |
<item amount="8" material="golden apple"/> | |
</kit> | |
</kits> | |
<spawns> | |
<default> | |
<region yaw="0"> | |
<point>3.5,52,-22.5</point> | |
</region> | |
</default> | |
<spawn team="red-team" kit="spawn-kit"> | |
<region yaw="180"> | |
<point>-40.5,13,66.5</point> | |
</region> | |
</spawn> | |
<spawn team="blue-team" kit="spawn-kit"> | |
<region yaw="0"> | |
<point>131.5,13,18.5</point> | |
</region> | |
</spawn> | |
</spawns> | |
<filters> | |
<blocks id="wool-rooms-blocks" region="wool-rooms-blocks-region"> | |
<any> | |
<material>air</material> | |
<material>web</material> | |
</any> | |
</blocks> | |
<deny id="deny-red"> | |
<team id="only-red">red-team</team> | |
</deny> | |
<deny id="deny-blue"> | |
<team id="only-blue">blue-team</team> | |
</deny> | |
<all id="only-iron-renew"> | |
<material id="only-iron">iron block</material> | |
<cause>world</cause> | |
</all> | |
<deny id="deny-void"> | |
<void/> | |
</deny> | |
<deny id="deny-void-break"> | |
<all> | |
<material>stone button</material> | |
<void/> | |
</all> | |
</deny> | |
</filters> | |
<regions> | |
<union id="spawns"> | |
<rectangle id="red-spawn" min="-44.5,55.5" max="-36,69"/> | |
<rectangle id="blue-spawn" min="135.5,29.5" max="127.5,16.5"/> | |
</union> | |
<union id="wool-rooms"> | |
<rectangle id="red-wool-room" min="-27.5,14.5" max="-35.5,5.5"/> <!-- blue capture, red defend --> | |
<rectangle id="blue-wool-room" min="118,69" max="126.5,79.5"/> <!-- red capture, blue defend --> | |
</union> | |
<union id="wool-rooms-blocks-region"> | |
<cuboid id="red-wool-room-blocks" min="-27.5,0,14.5" max="-35.5,28.5,5.5"/> | |
<cuboid id="blue-wool-room-blocks" min="118,0,69" max="126.5,28,79.5"/> | |
</union> | |
<negative id="void-area"> | |
<union id="bridgeable-area"> | |
<!-- Red --> | |
<rectangle min="-5,29" max="13,38"/> | |
<rectangle min="-5,47" max="13,56"/> | |
<!-- Blue --> | |
<rectangle min="95,56" max="77,47"/> | |
<rectangle min="77,38" max="95,29"/> | |
<!-- Middle --> | |
<rectangle min="57,29" max="39,38"/> | |
<rectangle min="51,47" max="33,56"/> | |
</union> | |
</negative> | |
<point id="blue-wool-spawn">122,15,76</point> | |
<point id="red-wool-spawn">-32,15,8</point> | |
<apply enter="only-red" region="red-spawn" message="You may not enter the enemy team's spawn!"/> | |
<apply enter="only-blue" region="blue-spawn" message="You may not enter the enemy team's spawn!"/> | |
<apply enter="only-red" region="blue-wool-room" message="You may not enter your own wool room!"/> | |
<apply enter="only-blue" region="red-wool-room" message="You may not enter your own wool room!"/> | |
<apply block="deny-red" region="red-wool-room" message="You may not modify your own wool room!"/> | |
<apply block="deny-blue" region="blue-wool-room" message="You may not modify your own wool room!"/> | |
<apply block="wool-rooms-blocks" region="wool-rooms-blocks-region" message="You may not modify the wool room!"/> | |
<apply block-break="only-iron" block-place="only-iron-renew" region="spawns" message="You may only break iron blocks in the spawns!"/> | |
<apply block-place="deny-void" block-break="deny-void-break" region="void-area" message="You may not modify the void area!"/> | |
<apply kit="wr-gear" region="wool-rooms"/> | |
</regions> | |
<wools craftable="false"> | |
<wool team="blue-team" color="red" location="-32,15,8"> | |
<monument> | |
<block>133,13,17</block> | |
</monument> | |
</wool> | |
<wool team="red-team" color="blue" location="22,15,76"> | |
<monument> | |
<block>-43,13,67</block> | |
</monument> | |
</wool> | |
</wools> | |
<renewables> | |
<renewable region="spawns" renew-filter="only-iron"/> | |
</renewables> | |
<spawners> | |
<spawner spawn-region="red-wool-spawn" player-region="red-wool-room" delay="4s" max-entities="3"> | |
<item material="wool" amount="1" damage="14"/> | |
</spawner> | |
<spawner spawn-region="blue-wool-spawn" player-region="blue-wool-room" delay="4s" max-entities="3"> | |
<item material="wool" amount="1" damage="11"/> | |
</spawner> | |
</spawners> | |
<toolrepair> | |
<tool>iron sword</tool> | |
<tool>bow</tool> | |
<tool>arrow</tool> | |
<tool>iron pickaxe</tool> | |
<tool>iron axe</tool> | |
</toolrepair> | |
<itemremove> | |
<item>leather helmet</item> | |
<item>leather chestplate</item> | |
<item>chainmail leggings</item> | |
<item>iron boots</item> | |
<item>ender stone</item> | |
<item>sandstone</item> | |
<item>redstone</item> | |
</itemremove> | |
<block-drops> | |
<rule> | |
<filter> | |
<material>wood</material> | |
</filter> | |
<drops> | |
<item chance="0" material="wood"/> | |
</drops> | |
</rule> | |
</block-drops> | |
<itemkeep> | |
<item>stained glass</item> | |
<item>golden apple</item> | |
</itemkeep> | |
<kill-rewards> | |
<kill-reward> | |
<item material="golden apple"/> | |
<item amount="10" damage="1" material="wood"/> | |
<item amount="4" material="stained glass"/> | |
</kill-reward> | |
</kill-rewards> | |
<maxbuildheight>25</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