Skip to content

Instantly share code, notes, and snippets.

@Cazadorian
Created October 16, 2020 23:02
Show Gist options
  • Save Cazadorian/61c301bf96b6d26d8db0efea5e86d9d8 to your computer and use it in GitHub Desktop.
Save Cazadorian/61c301bf96b6d26d8db0efea5e86d9d8 to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<map proto="1.4.0">
<name>Miner Sixty Niner</name>
<version>1.0.0</version>
<objective>Kill enemies for gold nuggets, drop into the chute with them for points!</objective>
<game>Scorebox</game>
<gamemode>tdm</gamemode>
<gamemode>scorebox</gamemode>
<authors>
<author uuid="6863869b-4b8c-4445-b778-a8e016775ae4"/>
<!-- dragonstomper64 -->
<author uuid="bf331953-4f92-43ee-8abc-7544b8234936" contribution="Map building, theming, misc"/>
<!-- Vicei in Minecraft, aka Vice -->
</authors>
<contributors>
<contributor uuid="5c79d2c9-a4f0-4343-a84b-e1720f13009b" contribution="XML, feedback"/>
<!-- CoWinkKeyDinkInc -->
</contributors>
<teams>
<team id="red" color="red" max="15">Red Team</team>
<team id="blue" color="blue" max="15">Blue Team</team>
</teams>
<kits>
<kit id="spawn" force="true">
<item slot="0" unbreakable="true">stone sword</item>
<item slot="1" unbreakable="true">bow</item>
<item slot="2" amount="2">golden apple</item>
<item slot="8" amount="20">arrow</item>
<leggings material="chainmail leggings">
<enchantment level="1">projectile_protection</enchantment>
</leggings>
<!-- this enchantment doesn't work the same way as leggings does for some reason -->
<boots enchantment="protection fall:1">iron boots</boots>
<potion duration="2" amplifier="1">instant_health</potion>
<saturation>20</saturation>
<foodlevel>20</foodlevel>
<clear/>
</kit>
<kit id="red-kit" parents="spawn">
<helmet material="leather helmet" color="FF0000"/>
<chestplate material="leather chestplate" color="FF0000"/>
</kit>
<kit id="blue-kit" parents="spawn">
<helmet material="leather helmet" color="0000FF"/>
<chestplate material="leather chestplate" color="0000FF"/>
</kit>
</kits>
<spawns>
<spawn team="red" kit="red-kit" yaw="90">
<regions>
<region id="red-spawn"/>
</regions>
</spawn>
<spawn team="blue" kit="blue-kit" yaw="90">
<regions>
<region id="blue-spawn"/>
</regions>
</spawn>
<default yaw="90">
<regions>
<point>-168.5,75,-10.5</point>
</regions>
</default>
</spawns>
<rules>
<rule>The platform that lets you jump into the chute reappears every thirty seconds.</rule>
</rules>
<time>12m</time>
<score>
<kills>0</kills>
<deaths>0</deaths>
<box region="score-box">
<redeemables>
<item points="1">gold nugget</item>
</redeemables>
</box>
</score>
<portals>
<portal filter="only-red" yaw="@90" region="score-box" destination="red-spawn"></portal>
<portal filter="only-blue" yaw="@90" region="score-box" destination="blue-spawn"></portal>
</portals>
<!-- used as a "gate" mechanic -->
<destroyables show="false" required="false" mode-changes="true">
<destroyable name="the-platform" owner="blue" materials="sandstone">
<region><cuboid min="-132,69,-9" max="-129,66,-12"/></region>
</destroyable>
<!-- implement if selectable monuments for modes is added
the material attribute in mode can only take one material as input, hence multiple monuments are added
double_step = sandstone slabs
<destroyable name="sandstone" owner="blue" materials="sandstone">
<region id="sandstone"/>
</destroyable>
<destroyable name="sandstone-stairs" owner="blue" materials="sandstone_stairs">
<region id="sandstone-stairs"/>
</destroyable>
<destroyable name="sandstone-slabs" owner="blue" materials="double_step">
<region id="sandstone-slabs"/>
</destroyable>
<destroyable name="stained-glass" owner="blue" materials="stained_glass:0">
<region id="stained-glass"/>
</destroyable>
<destroyable name="glowstone" owner="blue" materials="glowstone">
<region id="glowstone"/>
</destroyable>
-->
</destroyables>
<modes>
<!-- 12 minutes = 720 seconds -->
<mode after="1s" material="air"/>
<mode after="30s" show-before="6" name="Platform opening" material="sandstone"/>
<mode after="60s" show-before="6" name="Platform closing" material="air"/>
<mode after="90s" show-before="6" name="Platform opening" material="sandstone"/>
<mode after="130s" show-before="6" name="Platform closing" material="air"/>
<mode after="160s" show-before="6" name="Platform opening" material="sandstone"/>
<mode after="190s" show-before="6" name="Platform closing" material="air"/>
<mode after="230s" show-before="6" name="Platform opening" material="sandstone"/>
<mode after="260s" show-before="6" name="Platform closing" material="air"/>
<mode after="290s" show-before="6" name="Platform opening" material="sandstone"/>
<mode after="330s" show-before="6" name="Platform closing" material="air"/>
<mode after="360s" show-before="6" name="Platform opening" material="sandstone"/>
<mode after="390s" show-before="6" name="Platform closing" material="air"/>
<mode after="430s" show-before="6" name="Platform opening" material="sandstone"/>
<mode after="460s" show-before="6" name="Platform closing" material="air"/>
<mode after="490s" show-before="6" name="Platform opening" material="sandstone"/>
<mode after="530s" show-before="6" name="Platform closing" material="air"/>
<mode after="560s" show-before="6" name="Platform opening" material="sandstone"/>
<mode after="590s" show-before="6" name="Platform closing" material="air"/>
<mode after="630s" show-before="6" name="Platform opening" material="sandstone"/>
<mode after="660s" show-before="6" name="Platform closing" material="air"/>
<mode after="690s" show-before="6" name="Platform opening" material="sandstone"/>
</modes>
<kill-rewards>
<kill-reward>
<item amount="8">arrow</item>
<item>golden apple</item>
<item>gold nugget</item>
</kill-reward>
</kill-rewards>
<spawners>
<spawner spawn-region="gold-apple" player-region="gold-apple" delay="8s">
<item amount="1" material="golden apple"/>
</spawner>
<spawner spawn-region="arrows" player-region="arrows" delay="5s">
<item amount="4" material="arrow"/>
</spawner>
</spawners>
<toolrepair>
<tool>stone sword</tool>
<tool>bow</tool>
</toolrepair>
<itemremove>
<item>iron boots</item>
<item>leather chestplate</item>
<item>leather helmet</item>
<item>chainmail leggings</item>
</itemremove>
<itemkeep>
<!-- arrows are cleared from inventory, this prevents arrows from being dropped on death -->
<item>arrow</item>
</itemkeep>
<regions>
<point id="red-spawn">-116.5,56,-54.5</point>
<point id="blue-spawn">-116.5,56,33.5</point>
<cuboid id="gold-apple" min="-156.5,56,-11.5" max="-154.5,56,-9.5"/>
<cuboid id="arrows" min="-124.5,60,-9.5" max="-126.5,60,-11.5"/>
<cuboid id="arrow-spawn" min="-124.5,62,-9.5" max="-126.5,62,-11.5"/>
<cylinder id="score-box" base="-138.5,41,-10.5" radius="5" height="3"/>
<union id="disable-fence">
<cuboid min="-124,56,-57" max="-125,57,-54"/>
<cuboid min="-125,56,36" max="-124,57,33"/>
</union>
<apply block="never">
<rectangle min="-oo,-oo" max="oo,oo"/>
</apply>
<apply use="never" region="disable-fence"/>
<!-- implement if selectable modes for monuments is added
<union id="sandstone">
<point>-130,66,-10</point>
<point>-132,66,-10</point>
<point>-130,66,-12</point>
<point>-132,66,-12</point>
</union>
<union id="sandstone-stairs">
<point>-131,67,-10</point>
<point>-130,67,-11</point>
<point>-131,67,-12</point>
<point>-132,67,-11</point>
<point>-131,66,-10</point>
<point>-132,66,-11</point>
<point>-131,66,-12</point>
<point>-130,66,-11</point>
</union>
<union id="sandstone-slabs">
<point>-130,67,-10</point>
<point>-130,67,-12</point>
<point>-132,67,-12</point>
<point>-132,67,-10</point>
</union>
<point id="stained-glass">-131,67,-11</point>
<point id="glowstone">-131,66,-11</point>
-->
</regions>
<filters>
<any id="only-blue">
<team>blue</team>
</any>
<any id="only-red">
<team>red</team>
</any>
</filters>
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment