-
-
Save Tywnis/decb996a192fc57b45b2c1bba7ecc8da to your computer and use it in GitHub Desktop.
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>Backstreets</name> | |
<version>1.0.1</version> | |
<objective>Capture all five control points.</objective> | |
<authors> | |
<author uuid="2ca8072f-74be-4798-85b8-bbce03aa91af"/> <!-- Tywnis --> | |
</authors> | |
<!-- | |
<broadcasts> | |
<alert after="1s">Each team's 2nd point is to their right from spawn marked with colored flowers.</alert> | |
<alert after="2s">Capturing the enemy's 2nd point will reward 3pts/sec.</alert> | |
<alert after="3s">Capturing the enemy's last point will reward 4pts/sec.</alert> | |
</broadcasts> | |
--> | |
<teams> | |
<team id="blue" color="blue" max="5" max-overfill="5">Blue</team> | |
<team id="red" color="dark red" max="5" max-overfill="5">Red</team> | |
</teams> | |
<kits> | |
<kit id="spawn-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="10" 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">protection</enchantment> | |
<enchantment level="3">projectile_protection</enchantment> | |
</leggings> | |
<boots unbreakable="true" material="iron boots"/> | |
<game-mode>adventure</game-mode> | |
</kit> | |
</kits> | |
<spawns> | |
<default> | |
<region yaw="90"> | |
<point>-187.5,80,18.5</point> | |
</region> | |
</default> | |
<spawn team="blue" kit="spawn-kit"> | |
<region yaw="90"> | |
<block>-145.5,39,-31.5</block> | |
</region> | |
</spawn> | |
<spawn team="red" kit="spawn-kit"> | |
<region yaw="-90"> | |
<block>-229.5,39,-31.5</block> | |
</region> | |
</spawn> | |
</spawns> | |
<filters> | |
<!-- Capture rules for visual control points, which must be captured sequentially --> | |
<any id="filter-blue-last"> | |
<team id="only-blue">blue</team> | |
<objective id="capped-blue-2nd">blue-2nd</objective> | |
</any> | |
<any id="filter-blue-2nd"> | |
<objective id="capped-mid">mid</objective> | |
<objective id="capped-blue-last">blue-last</objective> | |
</any> | |
<any id="filter-red-2nd"> | |
<filter id="capped-mid"/> | |
<objective id="capped-red-last">red-last</objective> | |
</any> | |
<any id="filter-red-last"> | |
<team id="only-red">red</team> | |
<objective id="capped-red-2nd">red-2nd</objective> | |
</any> | |
<!-- To capture mid, a team must control their second point --> | |
<any id="filter-mid"> | |
<filter id="capped-blue-2nd"/> | |
<filter id="capped-red-2nd"/> | |
</any> | |
<!-- Filters for the point-giving control points --> | |
<!-- | |
A team can capture a point-giving control point when they capture the enemy's associated | |
visual point. However, if the enemy uncaptures the point, they will return the point-giving | |
point to a neutral state and points will no longer be scored from it by the team who lost | |
control. | |
--> | |
<any id="filter-last-point-blue"> | |
<filter id="capped-red-last"/> | |
<all> | |
<filter id="only-red"/> | |
<not> | |
<any> | |
<objective team="blue">red-last</objective> | |
<objective team="red">red-last</objective> | |
</any> | |
</not> | |
</all> | |
</any> | |
<any id="filter-2nd-point-blue"> | |
<filter id="capped-red-2nd"/> | |
<all> | |
<filter id="only-red"/> | |
<not> | |
<any> | |
<objective team="blue">red-2nd</objective> | |
<objective team="red">red-2nd</objective> | |
</any> | |
</not> | |
</all> | |
</any> | |
<any id="filter-2nd-point-red"> | |
<filter id="capped-blue-2nd"/> | |
<all> | |
<filter id="only-blue"/> | |
<not> | |
<any> | |
<objective team="blue">blue-2nd</objective> | |
<objective team="red">blue-2nd</objective> | |
</any> | |
</not> | |
</all> | |
</any> | |
<any id="filter-last-point-red"> | |
<filter id="capped-blue-last"/> | |
<all> | |
<filter id="only-blue"/> | |
<not> | |
<any> | |
<objective team="blue">blue-last</objective> | |
<objective team="red">blue-last</objective> | |
</any> | |
</not> | |
</all> | |
</any> | |
</filters> | |
<regions> | |
<cuboid id="cp-blue-last" min="-152,47,-29" max="-147,57,-34"/> | |
<cuboid id="cp-blue-2nd" min="-185,32,-67" max="-190,38,-62"/> good | |
<cuboid id="cp-mid" min="-185,36,-34" max="-190,46,-29"/> good | |
<cuboid id="cp-red-2nd" min="-185,32,-1" max="-190,38,4"/> good | |
<cuboid id="cp-red-last" min="-223,47,-29" max="-228,57,-34"/> good | |
<apply block="never"/> | |
</regions> | |
<control-points neutral-state="true" show-progress="true"> | |
<!-- Blue visual control points --> | |
<control-point initial-owner="blue" id="blue-last" required="false" name="Blue Last" capture-time="8s" points="0" incremental="true" capture="cp-blue-last" progress="cp-blue-last" player-filter="filter-blue-last"/> | |
<control-point initial-owner="blue" id="blue-2nd" required="false" name="Blue 2nd" capture-time="6s" points="0" incremental="true" capture="cp-blue-2nd" progress="cp-blue-2nd" player-filter="filter-blue-2nd"/> | |
<!-- Mid --> | |
<control-point id="mid" required="false" name="Mid" capture-time="6s" points="2" incremental="true" capture="cp-mid" progress="cp-mid" player-filter="filter-mid"/> | |
<!-- Red visual control points --> | |
<control-point initial-owner="red" id="red-2nd" required="false" name="Red 2nd" capture-time="6s" points="0" incremental="true" capture="cp-red-2nd" progress="cp-red-2nd" player-filter="filter-red-2nd"/> | |
<control-point initial-owner="red" id="red-last" required="false" name="Red Last" capture-time="8s" points="0" incremental="true" capture="cp-red-last" progress="cp-red-last" player-filter="filter-red-last"/> | |
<!-- Point-giving control points --> | |
<control-point id="red-last-point" required="false" show="false" points="1" name="RL Point" capture-time="0s" capture="everywhere" player-filter="filter-last-point-blue" capture-filter="only-blue"/> | |
<control-point id="red-2nd-point" required="false" show="false" points="1" name="R2 Point" capture-time="0s" capture="everywhere" player-filter="filter-2nd-point-blue" capture-filter="only-blue"/> | |
<control-point id="blue-2nd-point" required="false" show="false" points="1" name="B2 Point" capture-time="0s" capture="everywhere" player-filter="filter-2nd-point-red" capture-filter="only-red"/> | |
<control-point id="blue-last-point" required="false" show="false" points="1" name="BL Point" capture-time="0s" capture="everywhere" player-filter="filter-last-point-red" capture-filter="only-red"/> | |
</control-points> | |
<score> | |
<limit>800</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> | |
</itemremove> | |
<itemkeep> | |
<item>golden apple</item> | |
<item>arrow</item> | |
</itemkeep> | |
<kill-reward> | |
<item material="golden apple"/> | |
<item amount="5" material="arrow"/> | |
</kill-reward> | |
<hunger> | |
<depletion>off</depletion> | |
</hunger> | |
<respawn delay="7s" auto="true" blackout="true"/> | |
<spawners> | |
<spawner max-entities="2" min-delay="3s" max-delay="10s"> | |
<spawn-region> | |
<cuboid min="-188,29,-32" max="-187,30,-31"/> | |
</spawn-region> | |
<player-region> | |
<cuboid min="-189,29,-33" max="-186,30,-30"/> | |
</player-region> | |
<item amount="1" material="golden apple"/> | |
</spawner> | |
</spawners> | |
</map> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment