Advertisement
Guest User

[Caprona Island] map.xml

a guest
Mar 5th, 2015
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 6.85 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <map proto="1.3.6">
  3. <name>Caprona Island</name>
  4. <version>1.0.0</version>
  5. <objective>Capture the two wools and return them to your base</objective>
  6. <authors>
  7. <author uuid="86a53ac5-11db-4435-b672-ea3773c31082"/>
  8. <!--  isaac7227  -->
  9. </authors>
  10. <teams>
  11.    <team id="yellow" color="yellow" max="15" max-overfill="20">Yellow Team</team>
  12.    <team id="blue" color="blue" max="15" max-overfill="20">Blue Team</team>
  13. </teams>
  14. <spawns>
  15.     <spawn team="yellow" kit="yellow">
  16.         <regions yaw="90">
  17.             <cuboid min="52,2,-7" max="48,2,-11"/>
  18.         </regions>
  19.     </spawn>
  20.     <spawn team="blue" kit="blue">
  21.         <regions yaw="-90">
  22.             <cuboid min="-160,2,-11" max="-156,2,-7"/>
  23.         </regions>
  24.     </spawn>
  25.     <default>
  26.         <regions yaw="-90">
  27.             <cuboid min="-57,79,-12" max="-53,79,-6"/>
  28.         </regions>
  29.     </default>
  30. </spawns>
  31. <kits>
  32.     <kit name="spawn" force="true">
  33.         <item slot="0">iron sword</item>
  34.         <item slot="1" enchantment="arrow infinite:1">bow</item>
  35.         <item slot="27" amount="1">arrow</item>
  36.         <item slot="2">iron pickaxe</item>
  37.         <item slot="3">iron axe</item>
  38.         <item slot="5" amount="64">stone</item>
  39.         <item slot="6" amount="64">log</item>
  40.         <item slot="7" amount="64">log</item>
  41.         <item slot="8" amount="64">apple</item>
  42.     </kit>
  43.     <kit name="yellow" parents="spawn">
  44.         <helmet color="E5E533">leather helmet</helmet>
  45.         <chestplate color="E5E533" enchantment="protection environmental:1">leather chestplate</helmet>
  46.         <leggings color="E5E533">leather leggings</helmet>
  47.         <boots color="E5E533">leather boots</helmet>
  48.         <item slot="4" amount="64" damage="4">wool</item>
  49.     </kit>
  50.     <kit name="blue" parents="spawn">
  51.         <helmet color="334CB2">leather helmet</helmet>
  52.         <chestplate color="334CB2" enchantment="protection environmental:1">leather chestplate</helmet>
  53.         <leggings color="334CB2">leather leggings</helmet>
  54.         <boots color="334CB2">leather boots</helmet>
  55.         <item slot="4" amount="64" damage="11">wool</item>
  56.     </kit>
  57. </kits>
  58. <maxbuildheight>40</maxbuildheight>
  59. <filters>
  60.     <filter name="only-blue">
  61.         <team>blue</team>
  62.     </filter>
  63.     <filter name="only-yellow">
  64.         <team>yellow</team>
  65.     </filter>
  66.     <filter name="no-void" parents="allow-all">
  67.      <deny>
  68.         <void/>
  69.      </deny>
  70.     </filter>
  71.     <filter name="allow-iron">
  72.         <block>iron block</block>
  73.     </filter>
  74.     <filter name="allow-some" parents="deny-all">
  75.      <allow>
  76.         <block>stained glass</block>
  77.         <block>nether fence</block>
  78.         <block>iron block</block>
  79.         <block damage="5">wool</block>
  80.         <block damage="15">wool</block>
  81.         <block damage="14">wool</block>
  82.         <block damage="1">wool</block>
  83.      </allow>
  84.     </filter>
  85.     <filter name="only-blue-sp">
  86.      <all>
  87.         <team>blue</team>
  88.         <filter name="allow-some"/>
  89.      </all>
  90.     </filter>
  91.     <filter name="only-yellow-sp">
  92.      <all>
  93.         <team>yellow</team>
  94.         <filter name="allow-some"/>
  95.      </all>
  96.     </filter>
  97.     <filter name="only-yellow-usage">
  98.      <not>
  99.       <all>
  100.        <any>
  101.         <block>chest</block>
  102.         <block>workbench</block>
  103.        </any>
  104.         <team>blue</team>
  105.       </all>
  106.      </not>
  107.     </filter>
  108.     <filter name="only-blue-usage">
  109.      <not>
  110.       <all>
  111.        <any>
  112.         <block>chest</block>
  113.         <block>workbench</block>
  114.        </any>
  115.         <team>yellow</team>
  116.       </all>
  117.      </not>        
  118.     </filter>
  119. </filters>
  120. <regions>
  121.     <union name="blue-wool-rooms">
  122.         <cuboid name="black-room" min="51,7,13" max="66,40,31"/>
  123.         <cuboid name="lime-room" min="51,7,-31" max="66,40,-49"/>
  124.     </union>
  125.     <apply block-break="only-blue-sp" block-place="deny-all" use="only-blue-usage">
  126.         <region name="blue-wool-rooms"/>
  127.     </apply>
  128.     <apply enter="only-blue" message="You may not enter your own wool room!">
  129.         <region name="blue-wool-rooms"/>
  130.     </apply>
  131.     <union name="yellow-wool-rooms">
  132.         <cuboid name="orange-room" min="-159,7,-49" max="-174,11,-31"/>
  133.         <cuboid name="red-room" min="-159,7,13" max="-174,11,31"/>
  134.     </union>
  135.     <apply block-break="only-yellow-sp" block-place="deny-all" use="only-yellow-usage">
  136.         <region name="yellow-wool-rooms"/>
  137.     </apply>
  138.     <apply enter="only-yellow" message="You may not enter your own wool room!">
  139.         <region name="yellow-wool-rooms"/>
  140.     </apply>
  141.     <apply block-place="no-void" message="You may not place blocks in the void!">
  142.         <region name="yellow-wool-rooms"/>
  143.         <region name="blue-wool-rooms"/>
  144.     </apply>
  145. <!--     spawn protection     -->
  146.     <apply block-break="allow-iron" block-place="deny-all" message="You may only modify iron blocks in the your base!">
  147.         <rectangle min="-128,-18" max="-165,0" name="blue-spawn" />
  148.         <rectangle min="20,0" max="57,-18" name="yellow-spawn" />
  149.     </apply>
  150. <!--     prevent teams from entering each other's spawns     -->
  151.     <apply enter="only-blue" message="You cannot enter the other team's spawn!">
  152.         <region name="blue-spawn"/>
  153.     </apply>
  154.     <apply enter="only-yellow" message="You cannot enter the other team's spawn!">
  155.         <region name="yellow-spawn"/>
  156.     </apply>
  157.     <apply block="deny-players" message="You may not build outside of the playing field.">
  158.         <negative>
  159.             <rectangle min="70,42" max="-178,-60" name="playable" />
  160.         </negative>
  161.     </apply>
  162. </regions>
  163. <renewables rate="3" grow="true" avoid-entities="true" sound="true">
  164.     <renewable>
  165.     <region>
  166.         <cuboid min="46,4,-17" max="40,2,-1"/>
  167.         <cuboid min="-154,4,-1" max="-148,2,-17"/>
  168.     </region>
  169.         <renew>iron block</renew>
  170.     </renewable>
  171. </renewables>
  172. <toolrepair>
  173.     <tool>stone sword</tool>
  174.     <tool>iron pickaxe</tool>
  175.     <tool>iron axe</tool>
  176.     <tool>bow</tool>
  177. </toolrepair>
  178. <itemremove>
  179.     <item>arrow</item>
  180.     <item>leather helmet</item>
  181.     <item>leather chestplate</item>
  182.     <item>leather leggings</item>
  183.     <item>leather boots</item>
  184.     <item>apple</item>
  185. </itemremove>
  186. <wools>
  187.     <wool team="blue" color="lime">
  188.         <monument><block>-161,4,-12</block></monument>
  189.         <!-- Blue team has to place a lime wool block at -161,4,-12 to win -->
  190.     </wool>
  191.     <wool team="blue" color="black">
  192.         <monument><block>-161.0,4.0,-6.0</block></monument>
  193.         <!-- Blue team has to place a black wool block at -161,4,-6 to win -->
  194.     </wool>
  195.     <wool team="yellow" color="red">
  196.         <monument><block>53.0,4.0,-12.0</block></monument>
  197.         <!-- Yellow team has to place a red wool block at 53,4,-12 to win -->
  198.     </wool>
  199.     <wool team="yellow" color="orange">
  200.         <monument><block>53.0,4.0,-6.0</block></monument>
  201.         <!-- Yellow team has to place a orange wool block at 53,4,-6 to win -->
  202.     </wool>
  203. </wools>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement