Skip to content

Instantly share code, notes, and snippets.

@Cazadorian
Last active July 10, 2022 06:40
Show Gist options
  • Save Cazadorian/f39f21b9b11fa11212cca5b2f015f4f3 to your computer and use it in GitHub Desktop.
Save Cazadorian/f39f21b9b11fa11212cca5b2f015f4f3 to your computer and use it in GitHub Desktop.
Pipes and Punters
<map proto="1.4.2">
<name>Pipes and Punters</name>
<version>1.1.1</version>
<objective>Score the flag in the enemy's pipe as many times as possible!</objective>
<created>2022-06-08</created>
<gamemode>ffb</gamemode>
<authors>
<author uuid="6863869b-4b8c-4445-b778-a8e016775ae4"/> <!-- Cazadorian -->
</authors>
<teams>
<team id="red-team" color="dark red" max="6">Red</team>
<team id="blue-team" color="blue" max="6">Blue</team>
</teams>
<broadcasts>
<alert after="7m30s">If the match ends in a tie the game will go to overtime!</alert>
</broadcasts>
<kits>
<kit id="default-kit">
<effect>night vision</effect>
</kit>
<kit id="spawn-kit" parents="default-kit">
<clear/>
<item slot="0" material="stone sword" unbreakable="true"/>
<item slot="1" material="bow" unbreakable="true"/>
<item slot="2" material="golden apple"/>
<item slot="8" material="arrow" amount="8"/>
<helmet material="leather helmet" unbreakable="true" team-color="true"/>
<chestplate material="leather chestplate" unbreakable="true" team-color="true"/>
<leggings material="chainmail leggings" unbreakable="true" enchantment="protection projectile:2"/>
<boots material="iron boots" unbreakable="true"/>
<effect duration="4" amplifier="255">damage resistance</effect>
<game-mode>adventure</game-mode>
</kit>
</kits>
<spawns>
<spawn team="red-team" region="red-spawn-point" kit="spawn-kit" yaw="0"/>
<spawn team="blue-team" region="blue-spawn-point" kit="spawn-kit" yaw="180"/>
<default kit="default-kit" yaw="-90">
<region>
<point>0.5,60,0.5</point>
</region>
</default>
</spawns>
<respawn delay="3.5s"/>
<flags flag-proximity-metric="none" net-proximity-metric="none" required="false" carry-message="Carry the flag to the pipe behind the enemy's side!">
<flag id="flag" name="Flag" color="white" shared="true">
<post id="middle" recover-time="8s" respawn-time="4">
<block>0.5,17,0.5</block>
</post>
<pickup-kit force="true">
<potion duration="oo">speed</potion>
</pickup-kit>
<drop-kit force="true">
<potion duration="0">speed</potion>
</drop-kit>
<net points="1" region="red-net" capture-filter="only-blue"/>
<net points="1" region="blue-net" capture-filter="only-red"/>
</flag>
</flags>
<score/>
<time result="score" overtime="45s" max-overtime="3m15s">8m</time>
<filters>
<team id="only-red">red-team</team>
<team id="only-blue">blue-team</team>
<all id="red-team-carrying-flag">
<team>red-team</team>
<carrying-flag>flag</carrying-flag>
</all>
<all id="blue-team-carrying-flag">
<team>blue-team</team>
<carrying-flag>flag</carrying-flag>
</all>
</filters>
<regions>
<union id="spawn-points">
<point id="red-spawn-point">0.5,33,-29.5</point>
<point id="blue-spawn-point">0.5,33,30.5</point>
</union>
<union id="sides">
<rectangle id="blue-side" min="-30,-15" max="31,-71"/>
<rectangle id="red-side" min="-30,16" max="31,72"/>
</union>
<union id="nets">
<cylinder id="blue-net" base="0.5,16,51.5" radius="4" height="1"/>
<cylinder id="red-net" base="0.5,16,-50.5" radius="4" height="1"/>
<cylinder id="blue-net-exclusion" base="0.5,16,51.5" radius="3.5" height="7"/>
<cylinder id="red-net-exclusion" base="0.5,16,-50.5" radius="3.5" height="7"/>
</union>
<apply block="never"/>
<apply enter="only-blue" region="red-net-exclusion" message="You may not enter your own pipe"/>
<apply enter="only-red" region="blue-net-exclusion" message="You may not enter your own pipe"/>
</regions>
<proximity-alarms>
<proximity-alarm message="You are running to the wrong goal!" flare-radius="0" region="blue-side" detect="red-team-carrying-flag" notify="red-team-carrying-flag"/>
<proximity-alarm message="You are running to the wrong goal!" flare-radius="0" region="red-side" detect="blue-team-carrying-flag" notify="blue-team-carrying-flag"/>
</proximity-alarms>
<portals>
<portal observers="never" filter="only-red" region="blue-net" destination="red-spawn-point" yaw="@0"/>
<portal observers="never" filter="only-blue" region="red-net" destination="blue-spawn-point" yaw="@180"/>
</portals>
<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>
</itemremove>
<kill-rewards>
<kill-reward>
<item material="golden apple"/>
<item material="arrow" amount="3"/>
</kill-reward>
</kill-rewards>
<itemkeep>
<item>arrow</item>
<item>golden apple</item>
</itemkeep>
<disabledamage>
<damage>fall</damage>
</disabledamage>
<hunger>
<depletion>off</depletion>
</hunger>
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment