Skip to content

Instantly share code, notes, and snippets.

@Electroid
Created May 3, 2014 17:33
Show Gist options
  • Save Electroid/81e9577971325ad8f565 to your computer and use it in GitHub Desktop.
Save Electroid/81e9577971325ad8f565 to your computer and use it in GitHub Desktop.
The Factory (Prior Checks)
<?xml version="1.0"?>
<map proto="1.3.2">
<name>The Factory</name>
<version>0.1.1</version>
<objective>The attackers must destroy the endstone and packed ice monuments. The defenders must stop them before 25 minutes runs out.</objective>
<authors>
<author>ElectroidFilms</author>
</authors>
<teams>
<team color="dark red" max="36" max-overfill="40">Attackers</team>
<team color="blue" max="24" max-overfill="26">Defenders</team>
</teams>
<spawns>
<default kit="all">
<cuboid min="3,5,0" max="6,6,9"/> <!-- Same as Attackers -->
</default>
<spawn team="attackers" kit="attackers" yaw="-90">
<cuboid min="3,5,0" max="6,6,9"/>
</spawn>
<spawn safe="true" sequential="true" team="defenders" kit="defenders" yaw="90">
<complement> <!-- Priority -->
<region name="factory"/>
<circle center="146.5,-2.5" radius="10"/>
</complement>
<union> <!-- Secondary -->
<cylinder base="152.5,15,10.5" radius="3" height="2"/>
<cylinder base="152.5,9,10.5" radius="3" height="2"/>
</union>
<union> <!-- Tertiary -->
<point>156.5,23,-15.5</point>
<point>158.5,17,-21.5</point>
<point>131.5,20,5.5</point>
<point>153.5,5,-11.5</point>
</union>
<union> <!-- Last Resort (Bedrock Enforced) -->
<point>153.5,24,28.5</point>
<point>153.5,24,29.5</point>
</union>
</spawn>
</spawns>
<kits>
<kit name="all" force="true">
<potion duration="oo" ambient="true">night vision</potion>
<potion duration="5" amplifier="3">damage resistance</potion>
</kit>
<kit name="defenders" parents="all">
<item slot="0" damage="-3000" name="Sharpened Diamond Pickaxe" attributes="generic.attackDamage:add:6">diamond pickaxe</item>
<item slot="27">workbench</item>
<item slot="18" damage="-3000" name="`6TNT Defuser" lore="`7Right click to defuse team griefer's TNT|`7Does not work in `9water`7.|`7Use `a/report `7to alert the staff!">shears</item>
<item slot="9">arrow</item>
<item slot="1" damage="-3000" enchantment="arrow infinite:1;arrow damage:1">bow</item>
<item slot="2" damage="11" amount="64">stained clay</item>
<item slot="29" damage="11" amount="64">stained clay</item>
<item slot="20" damage="11" amount="64">stained clay</item>
<item slot="11" damage="11" amount="64">stained clay</item>
<item slot="3" amount="64">tnt</item>
<item slot="30" amount="64">tnt</item>
<item slot="21" amount="64">tnt</item>
<item slot="12" amount="64">tnt</item>
<item slot="4">water bucket</item>
<item slot="31">water bucket</item>
<item slot="22">water bucket</item>
<item slot="13">water bucket</item>
<item slot="5" amount="64">ladder</item>
<item slot="32" amount="64">ladder</item>
<item slot="23" amount="64">stone button</item>
<item slot="14" amount="64">stone button</item>
<item slot="6" amount="64">nether fence</item>
<item slot="33" amount="64">nether fence</item>
<item slot="24" amount="64">lever</item>
<item slot="15" amount="16">diode</item>
<item slot="7" amount="64">step</item>
<item slot="34" amount="64">stone plate</item>
<item slot="25" amount="64">stone plate</item>
<item slot="16" amount="8">trap door</item>
<item slot="8" amount="64">redstone</item>
<item slot="35" amount="64">redstone</item>
<item slot="26" amount="64">redstone block</item>
<item slot="17" amount="8">fence gate</item>
<helmet damage="-3000" color="334CB2">leather helmet</helmet>
<chestplate damage="-3000">iron chestplate</chestplate>
<leggings damage="-3000">iron leggings</leggings>
<boots damage="-3000" enchantment="protection explosions:5;water worker:3" attributes="generic.knockbackResistance:base:0.25;generic.movementSpeed:base:0.25">chainmail boots</boots>
</kit>
<kit name="attackers" parents="all">
<item slot="0" damage="-3000">diamond pickaxe</item>
<item slot="27">workbench</item>
<item slot="18" damage="-3000" name="`6TNT Defuser" lore="`7Right click to defuse team griefer's TNT|`7Does not work in `9water`7.|`7Use `a/report `7to alert the staff!">shears</item>
<item slot="9">arrow</item>
<item slot="1" damage="-3000" enchantment="arrow infinite:1">bow</item>
<item slot="2" damage="11" amount="64">stained clay</item>
<item slot="29" damage="11" amount="64">stained clay</item>
<item slot="20" damage="11" amount="64">stained clay</item>
<item slot="11" damage="11" amount="64">stained clay</item>
<item slot="3" amount="64">tnt</item>
<item slot="30" amount="64">tnt</item>
<item slot="21" amount="64">tnt</item>
<item slot="12" amount="64">tnt</item>
<item slot="4">water bucket</item>
<item slot="31">water bucket</item>
<item slot="22">water bucket</item>
<item slot="13">water bucket</item>
<item slot="5" amount="48">ladder</item>
<item slot="6" amount="32">nether fence</item>
<item slot="7" amount="64">step</item>
<item slot="34" amount="64">stone plate</item>
<item slot="25" amount="64">stone button</item>
<item slot="8" amount="64">redstone</item>
<item slot="35" amount="16">redstone block</item>
<item slot="26" amount="16">piston base</item>
<helmet damage="-3000" color="993333">leather helmet</helmet>
<chestplate damage="-3000">chainmail chestplate</chestplate>
<leggings damage="-3000" color="993333">leather leggings</leggings>
<boots damage="-3000" color="993333" enchantment="protection explosions:3" attributes="generic.movementSpeed:base:0.1">leather boots</boots>
</kit>
</kits>
<filters>
<filter name="only-defenders">
<team>defenders</team>
</filter>
<filter name="only-attackers">
<team>attackers</team>
</filter>
<filter name="deny-water">
<deny>
<any>
<block>water</block>
<block>stationary water</block>
</any>
</deny>
</filter>
<filter name="deny-black-glass">
<deny>
<block damage="15">stained glass</block>
</deny>
</filter>
<filter name="deny-partial-endstone">
<not>
<all>
<block>ender stone</block>
<any>
<filter name="allow-players"/>
<filter name="deny-all"/>
</any>
</all>
</not>
</filter>
</filters>
<regions>
<rectangle name="all" min="-oo,-oo" max="oo,oo"/>
<rectangle name="attackers-spawn" min="0,-3" max="15,12"/>
<cuboid name="factory" min="165,-oo,-29" max="117,48,38"/>
<cuboid name="void-lane" min="117,-oo,-29" max="15,30,38"/>
<rectangle name="around-endstone" min="139,-10" max="155,5"/>
<union name="monuments">
<cylinder name="endstone" base="146.5,9,-2.5" radius="3" height="14"/>
<cuboid name="back-ice" min="138,2,14" max="133,8,7"/>
<cuboid name="front-ice" min="122,9,1" max="129,21,17"/>
</union>
<union name="cannoneer-platforms">
<cuboid name="cannoneer-platform-north" min="117,5,-60" max="19,15,-53"/>
<cuboid name="cannoneer-platform-south" min="117,5,69" max="19,15,62"/>
</union>
<union name="portal-protections">
<cuboid min="129,9,-13" max="133,13,-17"/> <!-- North -->
<cuboid min="128,8,15" max="133,12,19"/> <!-- South -->
</union>
<union name="cannoneers-arrivals">
<block>16.5,5,-55.5</block>
<block>16.5,5,64.5</block>
</union>
<union name="cannoneers-departures">
<cuboid min="133,10,-15" max="130,12,-16"/>
<cuboid min="129,9,19" max="132,11,19"/>
</union>
<!-- Applied -->
<apply block="deny-all" message="You may not edit outside of the main area!">
<complement name="outside-map">
<negative>
<union>
<region name="factory"/>
<region name="void-lane"/>
</union>
</negative>
<region name="attackers-spawn"/>
<region name="cannoneer-platforms"/>
</complement>
</apply>
<apply block="deny-black-glass" message="This block is undestructable!">
<region name="all"/>
</apply>
<apply block="deny-all" message="You may not edit the spawn platform!">
<region name="attackers-spawn"/>
</apply>
<apply block="deny-all" message="You may not edit the portal!">
<region name="portal-protections"/>
</apply>
<apply block="only-defenders" use="only-defenders" enter="only-defenders" message="This platform is for the use of defenders only!">
<region name="cannoneer-platforms"/>
</apply>
<apply block="deny-partial-endstone" message="You may only break the endstone monument with TNT!">
<region name="endstone"/>
</apply>
<apply block-place="deny-water" message="Water is not allowed to be placed around the endstone monument!">
<region name="around-endstone"/>
</apply>
</regions>
<destroyables owner="defenders" repairable="false">
<destroyable name="Endstone" materials="ender stone;stained clay:3" show-progress="true">
<region name="endstone"/>
</destroyable>
<destroyable name="Front Icicles" materials="packed ice">
<region name="front-ice"/>
</destroyable>
<!-- Temporarily Disabled -->
<!-- <destroyable name="Back Ice" materials="packed ice">
<region name="back-ice"/>
</destroyable> -->
</destroyables>
<portals filter="only-defenders">
<!-- Portals back to Factory -->
<portal x="115" y="5" z="39" yaw="@180"> <!-- North -->
<block location="16.5,5,-55.5"/>
</portal>
<portal x="114" y="4" z="46" yaw="@0"> <!-- South -->
<block location="16.5,5,64.5"/>
</portal>
<!-- Portals to Cannoneer Platforms -->
<portal x="@121.5" y="-9" z="@-55.5" yaw="@90"> <!-- North -->
<cuboid min="133,10,-15" max="130,12,-16"/>
</portal>
<portal x="@121.5" y="-9" z="@64.5" yaw="@90"> <!-- South -->
<cuboid min="129,9,19" max="132,11,19"/>
</portal>
</portals>
<time result="defenders">25m</time>
<itemremove>
<item>diamond pickaxe</item>
<item>workbench</item>
<item>shears</item>
<item>arrow</item>
<item>bow</item>
<item>stained clay</item>
<item>tnt</item>
<item>water bucket</item>
<item>bucket</item>
<item>ladder</item>
<item>nether fence</item>
<item>step</item>
<item>stone plate</item>
<item>stone button</item>
<item>redstone</item>
<item>redstone block</item>
<item>piston base</item>
<item>trap door</item>
<item>fence gate</item>
<item>diode</item>
<item>leather helmet</item>
<item>chainmail chestplate</item>
<item>leather leggings</item>
<item>leather boots</item>
<item>iron chestplate</item>
<item>iron leggings</item>
<item>chainmail boots</item>
</itemremove>
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment