Skip to content

Instantly share code, notes, and snippets.

@technodono
Last active January 1, 2023 09:28
Show Gist options
  • Save technodono/17429e0ba9aba04fe5ef4d3070c47a8e to your computer and use it in GitHub Desktop.
Save technodono/17429e0ba9aba04fe5ef4d3070c47a8e to your computer and use it in GitHub Desktop.
<map proto="1.4.2">
<name>Zipline II - The Next Test</name>
<version>1.1.2</version>
<phase>development</phase>
<objective>Hold the flag for 200 seconds to win!</objective>
<gamemode>kotf</gamemode>
<created>2022-08-07</created>
<authors>
<author uuid="1aad55f7-2dea-4f22-85ca-ad9de3a78609"/> <!-- Technodono -->
</authors>
<rules>
<rule>Fall damage is disabled!</rule>
<rule>You can only respawn when your team doesn't have the flag!</rule>
<rule>No camping inside any ziplines!</rule>
</rules>
<broadcasts>
<tip after="0m" every="3m">Ziplines transport you really fast in a direction as indicated by the arrows! Use them to get around.</tip>
<tip after="30s" every="2m">Look in the chat to see the flag's next location!</tip>
</broadcasts>
<teams>
<team id="blue-team" color="blue" max="24">Blue</team>
<team id="yellow-team" color="yellow" max="24">Yellow</team>
</teams>
<kits>
<kit id="default-kit">
<effect>night vision</effect>
</kit>
<kit id="spawn-kit" parents="default-kit">
<clear/>
<item slot="0" unbreakable="true" material="stone sword"/>
<item slot="1" unbreakable="true" material="bow"/>
<item slot="2" material="golden apple"/>
<item slot="8" amount="32" material="arrow"/>
<helmet unbreakable="true" team-color="true" material="leather helmet"/>
<chestplate unbreakable="true" team-color="true" material="leather chestplate"/>
<leggings unbreakable="true" material="chainmail leggings">
<enchantment level="2">projectile_protection</enchantment>
</leggings>
<boots unbreakable="true" material="iron boots"/>
<game-mode>adventure</game-mode>
</kit>
<kit id="flag-pickup" force="true">
<effect>slowness</effect>
<effect amplifier="-3">health boost</effect>
<effect duration="3" amplifier="2">absorption</effect>
</kit>
<kit id="reset-health" force="true">
<effect duration="0" amplifier="0">slowness</effect>
<effect duration="0" amplifier="0">health boost</effect>
<effect duration="2" amplifier="10">regeneration</effect>
</kit>
<kit id="fly" force="true">
<fly/>
</kit>
<kit id="force-kill" force="true">
<health>1</health>
<effect duration="oo" amplifier="1">wither</effect>
</kit>
</kits>
<spawns>
<default kit="default-kit">
<region yaw="45">
<cuboid id="Obs-spawn" min="59,17,-57" max="56,17,-54"/>
</region>
</default>
<spawn team="blue-team" kit="spawn-kit" filter="has-flag">
<regions yaw="-45">
<block id="Blue-spawn">-61,20,-60</block>
</regions>
</spawn>
<spawn team="yellow-team" kit="spawn-kit" filter="has-flag">
<regions yaw="135">
<block id="Yellow-spawn">61,20,62</block>
</regions>
</spawn>
</spawns>
<filters>
<team id="only-blue">blue-team</team>
<team id="only-yellow">yellow-team</team>
<any id="has-flag">
<carrying-flag>flag</carrying-flag>
<not>
<same-team>
<carrying-flag>flag</carrying-flag>
</same-team>
</not>
</any>
</filters>
<regions>
<union id="OOB">
<cuboid id="OOB-blue" min="-53,20,-48" max="-58,oo,-18"/>
<cuboid id="OOB-blue-1" min="-49,20,-57" max="-19,oo,-52"/>
<mirror origin="0.5,24,1.5" normal="1,0,1">
<region id="OOB-blue"/>
</mirror>
<mirror origin="0.5,24,1.5" normal="1,0,1">
<region id="OOB-blue-1"/>
</mirror>
</union>
<cuboid id="blue-spawn" min="-62,-oo,-61" max="-50,oo,-49"/>
<cuboid id="yellow-spawn" min="63,-oo,64" max="51,oo,52"/>
<union id="ziplines">
<union id="Blue-ziplines">
<union id="Blue-green-ziplines">
<cuboid id="Blue-green-spawn-zipline" min="-54,16,-48" max="-57,16.5,-18"/>
<cuboid id="Blue-green-mid-zipline" min="-25,16,-11" max="-28,16.5,13"/>
</union>
<union id="Blue-red-ziplines">
<cuboid id="Blue-red-spawn-zipline" min="-49,16,-56" max="-19,16.5,-53"/>
<cuboid id="Blue-red-mid-zipline" min="-12,16,-27" max="11,16.5,-24"/>
</union>
</union>
<union id="Yellow-ziplines">
<union id="Yellow-green-ziplines">
<mirror origin="0.5,24,1.5" normal="1,0,1" id="Yellow-green-spawn-zipline">
<region id="Blue-green-spawn-zipline"/>
</mirror>
<mirror origin="0.5,24,1.5" normal="1,0,1" id="Yellow-green-mid-zipline">
<region id="Blue-green-mid-zipline"/>
</mirror>
</union>
<union id="Yellow-red-ziplines">
<mirror origin="0.5,24,1.5" normal="1,0,1" id="Yellow-red-spawn-zipline">
<region id="Blue-red-spawn-zipline"/>
</mirror>
<mirror origin="0.5,24,1.5" normal="1,0,1" id="Yellow-red-mid-zipline">
<region id="Blue-red-mid-zipline"/>
</mirror>
</union>
</union>
</union>
<union id="jump-pads">
<union id="Blue-jump-pads">
<cuboid id="Blue-green-pad" min="-40,17,3" max="-37,17.5,0"/>
<cuboid id="Blue-red-pad" min="2,17,-39" max="-1,17.5,-36"/>
<cuboid id="Blue-corner-pad" min="-28,17,-27" max="-25,17.5,-24"/>
<mirror origin="0.5,24,1.5" normal="1,0,1" id="Yellow-green-pad">
<region id="Blue-green-pad"/>
</mirror>
<mirror origin="0.5,24,1.5" normal="1,0,1" id="Yellow-red-pad">
<region id="Blue-red-pad"/>
</mirror>
<mirror origin="0.5,24,1.5" normal="1,0,1" id="Yellow-corner-pad">
<region id="Blue-corner-pad"/>
</mirror>
</union>
<union id="Mid-jump-pads">
<cuboid id="Mid-N-pad" min="-1,17,-6" max="2,17.5,-3"/>
<cuboid id="Mid-W-pad" min="-4,17,0" max="-7,17.5,3"/>
<mirror origin="0.5,24,1.5" normal="0,0,1" id="Mid-S-pad">
<region id="Mid-N-pad"/>
</mirror>
<mirror origin="0.5,24,1.5" normal="1,0,0" id="Mid-E-pad">
<region id="Mid-W-pad"/>
</mirror>
</union>
</union>
<cuboid id="not-poison" min="oo,13,oo" max="oo,oo,oo"/>
<cuboid id="poison" min="-oo,-oo,-oo" max="oo,10,oo"/>
<apply block="never" use="never"/>
<apply enter="never" region="OOB" message="No going out of bounds!"/>
<apply enter="only-blue" region="blue-spawn" message="You may not enter the opposing team's spawn!"/>
<apply enter="only-yellow" region="yellow-spawn" message="You may not enter the opposing team's spawn!"/>
<!-- <apply lend-kit="fly" region="ziplines"/> comment out for now untill anti-cheat kicks in?-->
<apply velocity="0,0.5,5" region="Blue-green-spawn-zipline"/>
<apply velocity="5,0.5,0" region="Blue-red-spawn-zipline"/>
<apply velocity="-5,0.5,0" region="Yellow-green-spawn-zipline"/>
<apply velocity="0,0.5,-5" region="Yellow-red-spawn-zipline"/>
<apply velocity="0,0.5,-5" region="Blue-green-mid-zipline"/>
<apply velocity="-5,0.5,0" region="Blue-red-mid-zipline"/>
<apply velocity="5,0.5,0" region="Yellow-green-mid-zipline"/>
<apply velocity="0,0.5,5" region="Yellow-red-mid-zipline"/>
<apply velocity="0,1.5,0.5" region="Mid-N-pad"/>
<apply velocity="0.5,1.5,0" region="Mid-W-pad"/>
<apply velocity="0,1.5,-0.5" region="Mid-S-pad"/>
<apply velocity="-0.5,1.5,0" region="Mid-E-pad"/>
<apply velocity="1.8,0.8,0" region="Blue-green-pad"/>
<apply velocity="0,0.8,1.8" region="Blue-red-pad"/>
<apply velocity="-0.5,1,-0.5" region="Blue-corner-pad"/>
<apply velocity="-1.8,0.8,0" region="Yellow-red-pad"/>
<apply velocity="0,0.8,-1.8" region="Yellow-green-pad"/>
<apply velocity="0.5,1,0.5" region="Yellow-corner-pad"/>
<!-- Insta-Kill Kit -->
<apply kit="force-kill" region="poison"/>
</regions>
<flags>
<flag id="flag"
name="Flag"
color="magenta"
shared="true"
points-rate="1"
pickup-kit="flag-pickup"
drop-kit="reset-health"
flag-proximity-metric="none"
show-respawn-on-pickup="true">
<post return-time="0s" respawn-time="20s">
<post name="Center Post">0,24,1</post>
<post name="North East Post">36,20,-35</post>
<post name="South West Post">-36,20,37</post>
</post>
</flag>
</flags>
<score>
<limit>200</limit>
</score>
<toolrepair>
<tool>stone sword</tool>
<tool>bow</tool>
</toolrepair>
<itemremove>
<item>leather helmet</item>
<item>leather chestplate</item>
<item>chainmail leggings</item>
<item>iron boots</item>
<item>banner</item>
</itemremove>
<itemkeep>
<item>golden apple</item>
<item>arrow</item>
</itemkeep>
<kill-reward>
<item material="golden apple"/>
<item amount="10" material="arrow"/>
</kill-reward>
<respawn auto="true" spectate="true">
<message>
{"translate":"death.respawn.confirmed.waiting.flagDropped"}
</message>
</respawn>
<damage>
<deny>
<all>
<cause>fall</cause>
<not>
<region id="poison"/>
</not>
</all>
</deny>
</damage>
<hunger>
<depletion>off</depletion>
</hunger>
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment