<?xml version="1.0"?>
<map>
<name>Fortwars 2</name>
<version>1.0</version>
<objective>Destroy The Two Flags On Each Of Your Enemies Forts.</objective>
<authors>
<author>D347HxD</author>
<author>champwamp</author>
<author>willinit</author>
<author>Dbzflip</author>
</authors>
<rules>
<rule>No Spawn Killing In Forts</rule>
</rules>
<timelock>off</timelock>
<teams>
<team color="blue" max="32">Blue Team</team>
<team color="dark red" max="32">Red Team</team>
</teams>
<filters>
<filter name="only-blue" parents="deny-all">
<allow><team>blue</team></allow>
</filter>
<filter name="only-red" parents="deny-all">
<allow><team>red</team></allow>
</filter>
</filters>
<regions>
<apply enter="only-blue" message="You are not allowed in blue's spawning area.">
<cuboid name="blue-storage-room" min="-96,52,45" max="-99,57,50"/>
</apply>
<apply enter="only-red" message="You are not allowed in red's spawning area.">
<cuboid name="red-storage-room" min="96,52,49" max="101,57,46"/>
</apply>
<apply block="deny-all" message="You may not place or break blocks in the spawn rooms.">
<region name="blue-storage-room"/>
<region name="red-storage-room"/>
</apply>
<apply block="deny-all" message="You may not interfere with the spawn.">
<cuboid name="blue-spawn-protect" min="-96,52,45" max="-99,57,50"/>
<cuboid name="red-spawn-protect" min="96,52,49" max="101,57,46"/>
</apply>
</regions>
<kits>
<kit name="spawn">
<item slot="0">diamond sword</item>
<item slot="1" amount="16">steak</item>
<item slot="2" amount="1">bow</item>
<item slot="3" amount="1">diamond pickaxe</item>
<item slot="4" amount="1">diamond axe</item>
<item slot="5" amount="1">335</item>
<item slot="6" amount="64">glass</item>
<item slot="7" amount="64">log</item>
<item slot="2" amount="64">arrow</item>
</kit>
</kits>
<spawns>
<spawn team="blue" kit="spawn">
<point type="random" yaw="315"><cylinder base="-97.6,55,47.5" radius="2" height="0"/></point>
</spawn>
<spawn team="red" kit="spawn">
<point type="random" yaw="315"><cylinder base="98.71,55,47.6" radius="2" height="0"/></point>
</spawn>
<spawn> <!-- default / lobby -->
<point type="random" yaw="315"><cylinder base="0.47,33,143.311" radius="2" height="0"/></point>
</spawn>
</spawns>
<portals>
<portal x="-13" y="9" z="41.5">
<cuboid min="117,51,46" max="116,57,47"/>
</portal>
<portal x="-15" y="9" z="-42">
<cuboid min="115,51,48" max="118,57,49"/>
</portal>
<portal x="12" y="9" z="48.5">
<cuboid min="-117,51,48" max="-114,57,49"/>
</portal>
<portal x="-14" y="9" z="41.5">
<cuboid min="-115,51,46" max="-116,57,47"/>
</portal>
</portals>
<playable>
<planar min="-141,-10" max="142,105"/> <!-- Main area -->
</playable>
<destroyables material="wool">
<destroyable team="red" name="Right Flag" materials="wool:1;wool:4;wool:14;fence:woodstair"><cuboid min="125,56,93" max="126,72,88"/></core></destroyable>
<destroyable team="red" name="Left Flag" materials="wool:1;wool:4;wool:14;fence:woodstair"><cuboid min="125,56,7" max="126,72,2"/></core></destroyable></destroyable>
<destroyable team="blue" name="Right Flag" materials="wwool:3;wool:9;wool:11;fence:woodstair"><cuboid min="-125,56,1" max="-124,72,8"/></core></destroyable></destroyable>
<destroyable team="blue" name="Left Flag" materials="wool:3;wool:9;wool:11;fence:woodstair"><cuboid min="-125,56,87" max="-124,72,94"/></core></destroyable></destroyable>
</destroyables>
<toolrepair>
<tool>bow</tool>
</toolrepair>
</map>