Skip to content

Instantly share code, notes, and snippets.

@Electroid
Created October 9, 2013 17:48
Show Gist options
  • Select an option

  • Save Electroid/6905281 to your computer and use it in GitHub Desktop.

Select an option

Save Electroid/6905281 to your computer and use it in GitHub Desktop.
Circus CTW XML
<?xml version="1.0"?>
<map proto="1.0.0">
<name>Circus CTW</name>
<version>1.0.0</version>
<objective>Capture the Wools before the other team does</objective>
<authors>
<author>xKingOfAllx</author>
<author>goldbolts</author>
<author>elego123</author>
<author>NoArmorScrub</author>
<author>BigBadLoser</author>
<author>BebardishXD</author>
<author>xCLAFx</author>
<author contribution="XML Coding">triplezko</author>
</authors>
<teams>
<team color="dark red" max="32">Red Team</team>
<team color="blue" max="32">Blue Team</team>
</teams>
<rules>
<rule>Players may not obstruct the majority of the lane with lava or obsidian.</rule>
<rule>Players may not use lava or obsidian to block a team's spawn.</rule>
<rule>Obey the Ninja turtle (triplezko)</rule>
</rules>
<kits>
<kit name="spawn">
<item slot="0">iron sword</item>
<item slot="1">bow</item>
<item slot="2" enchantment="dig speed:2;durability:2">iron pickaxe</item>
<item slot="3" enchantment="dig speed:2;durability:2">iron axe</item>
<item slot="4" amount="64">320</item>
<item slot="5" amount="64" damage="1">log</item>
<item slot="6" amount="64">glass</item>
<item slot="8" amount="2">golden apple</item>
<item slot="32" amount="64">arrow</item>
<item slot="33" amount="64">arrow</item>
<potion duration="2" amplifier="1">heal</potion>
<potion duration="4">damage resistance</potion>
</kit>
<kit name="red" parents="spawn">
<helmet color="cd0000">leather helmet</helmet>
</kit>
<kit name="blue" parents="spawn">
<helmet color="0066cc">leather helmet</helmet>
</kit>
</kits>
<spawns>
<spawn team="red" kit="red" yaw="0">
<region name="redspawn1"/>
</spawn>
<spawn team="red" kit="red" yaw="180">
<region name="redspawn2"/>
</spawn>
<spawn team="blue" kit="blue" yaw="0">
<region name="bluespawn1"/>
</spawn>
<spawn team="blue" kit="blue" yaw="180">
<region name="bluespawn2"/>
</spawn>
<default yaw="90">
<region name="defaultspawn"/>
</default>
</spawns>
<regions>
<!-- Regions -->
<!-- Red Spawn -->
<cylinder name="redspawn1" base="-51,6,-19" radius="3" height="1"/>
<cylinder name="redspawn2" base="-51,6,-19" radius="3" height="1"/>
<union name="redspawntents">
<rectangle name="redspawntent1" min="62,-28" max="40,-9"/>
<rectangle name="redspawntent2" min="62,50" max="40,69"/>
</union>
<!-- Blue Spawn -->
<cylinder name="bluespawn1" base="51,6,-19" radius="3" height="1"/>
<cylinder name="bluespawn2" base="51,6,60" radius="3" height="1"/>
<union name="bluespawntents">
<rectangle name="bluespawntent1" min="-62,-9" max="-40,-28"/>
<rectangle name="bluespawntent2" min="-62,50" max="-40,69"/>
</union>
<!-- Observer Spawn -->
<cuboid name="defaultspawn" min="-1,58,58" max="1,58,56"/>
<!-- Red Wool Rooms (Wools red need to get) -->
<union name="redwoolrooms">
<rectangle name="orangewool" min="174,2" max="157,-22"/>
<rectangle name="yellowwool" min="174,63" max="157,39"/>
</union>
<!-- Blue Wool Rooms (Wools blue need to get) -->
<union name="bluewoolrooms">
<rectangle name="purplewool" min="-174,39" max="-157,63"/>
<rectangle name="cyanwool" min="-174,-22" max="-157,2"/>
</union>
<!-- Red's Redstone chest -->
<cuboid name="redredstone" min="-110,6,24" max="-110,6,17"/>
<!-- Blue's Redstone chest -->
<cuboid name="blueredstone" min="110,6,17" max="110,6,24"/>
<!-- Applied Regions -->
<!-- Void -->
<apply block="deny-void" message="You may not build in the void!">
<negative>
<rectangle min="19,-6" max="-19,47"/>
</negative>
</apply>
<!-- Red Wool Rooms Protection (Wools red need to get) -->
<apply block="only-red" use="only-red">
<region name="redwoolrooms"/>
</apply>
<apply enter="only-red" message="You may not enter your own wool room!">
<region name="redwoolrooms"/>
</apply>
<!-- Blue Wool Rooms Protection (Wools blue need to get) -->
<apply block="only-blue" use="only-blue">
<region name="bluewoolrooms"/>
</apply>
<apply enter="only-blue" message="You may not enter your own wool room!">
<region name="bluewoolrooms"/>
</apply>
<!-- Red spawn tent Protection-->
<apply block="deny-all" use="only-red" message="You may not modify Red's spawn!">
<region name="bluespawntents"/>
</apply>
<apply enter="only-red" message="You may not enter Red's spawn!">
<region name="bluespawntents"/>
</apply>
<!-- Blue spawn tent Protection-->
<apply block="deny-all" use="only-blue" message="You may not modify Blue's spawn!">
<region name="redspawntents"/>
</apply>
<apply enter="only-blue" message="You may not enter Blue's spawn!">
<region name="redspawntents"/>
</apply>
<!-- Red's Redstone chest -->
<apply block="only-red" use="only-red" message="You may not modify Red's Redstone chest!">
<region name="redredstone"/>
</apply>
<!-- Blue's Redstone chest -->
<apply block="only-blue" use="only-blue" message="You may not modify Blue's Redstone chest!">
<region name="blueredstone"/>
</apply>
</regions>
<filters>
<filter name="deny-void">
<deny>
<void/>
</deny>
</filter>
<filter name="only-red" parents="deny-players deny-world deny-blocks">
<allow><team>red</team></allow>
<deny><block>52</block></deny>
<deny><block>chest</block></deny>
</filter>
<filter name="only-blue" parents="deny-players deny-world deny-blocks">
<allow><team>blue</team></allow>
<deny><block>52</block></deny>
<deny><block>chest</block></deny>
</filter>
</filters>
<timelock>on</timelock>
<wools>
<wool team="red" color="orange">
<block>-51,7,5</block>
</wool>
<wool team="red" color="yellow">
<block>-51,7,36</block>
</wool>
<wool team="blue" color="purple">
<block>51,7,36</block>
</wool>
<wool team="blue" color="cyan">
<block>51,7,5</block>
</wool>
</wools>
<toolrepair>
<tool>iron sword</tool>
<tool>bow</tool>
<tool>iron pickaxe</tool>
<tool>iron axe</tool>
</toolrepair>
<itemremove>
<item>log:1</item>
<item>glass</item>
<item>320</item>
<item>arrow</item>
<item>leather helmet</item>
<item>dirt</item>
<item>flint</item>
</itemremove>
<maxbuildheight>40</maxbuildheight>
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment