Skip to content

Instantly share code, notes, and snippets.

@Electroid
Last active December 25, 2015 01:49
Show Gist options
  • Select an option

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

Select an option

Save Electroid/6897952 to your computer and use it in GitHub Desktop.
Selenius XML
<?xml version="1.0"?>
<map proto="1.3.0">
<name>Selenius</name>
<version>1.0.0-g</version>
<objective>Capture the other team's wool and place it in your victory monument.</objective>
<!-- Authors/Contributors -->
<authors>
<author>kalikakitty</author>
<author>xannallax33</author>
</authors>
<contributors>
<contributor contribution="XML/Metadata">ElectroidFilms</contributor>
<contributor contribution="Various Things">TranquilSea</contributor>
</contributors>
<!-- Teams -->
<teams>
<team color="dark green" max="16">Green Team</team>
<team color="yellow" max="16">Yellow Team</team>
</teams>
<!-- Spawns -->
<spawns>
<spawn team="green" kit="green" yaw="180">
<cylinder base="33,5,26" radius="3" height="1"/>
</spawn>
<spawn team="yellow" kit="yellow" yaw="0">
<cylinder base="33,5,-27" radius="3" height="1"/>
</spawn>
<default yaw="-90">
<cylinder base="-18,14,-1" radius="1" height="1"/>
</default>
</spawns>
<!-- Kits -->
<kits>
<kit name="spawn">
<item slot="0" enchantment="dig speed:1;durability:3">iron axe</item>
<item slot="1">bow</item>
<item slot="2" amount="32" damage="1">wood</item>
<item slot="3" amount="12">arrow</item>
<item slot="7" amount="4">golden apple</item>
<item slot="8" amount="16">364</item>
<chestplate>iron chestplate</chestplate>
<leggings color="191919" damage="-3000">leather leggings</leggings>
</kit>
<kit parents="spawn" name="green">
<helmet color="6600" damage="-3000">leather helmet</helmet>
<boots color="6600" damage="-3000">leather boots</boots>
</kit>
<kit parents="spawn" name="yellow">
<helmet color="FFCD00" damage="-3000">leather helmet</helmet>
<boots color="FFCD00" damage="-3000">leather boots</boots>
</kit>
</kits>
<!-- Objective (Wool) -->
<wools>
<wool team="green" color="orange">
<block>24,6,63</block>
</wool>
<wool team="green" color="red">
<block>42,6,63</block>
</wool>
<wool team="yellow" color="purple">
<block>24,6,-64</block>
</wool>
<wool team="yellow" color="cyan">
<block>42,6,-64</block>
</wool>
</wools>
<!-- Filters -->
<filters>
<filter name="only-green" parents="deny-players deny-world deny-all">
<allow><team>green</team></allow>
</filter>
<filter name="only-yellow" parents="deny-players deny-world deny-all">
<allow><team>yellow</team></allow>
</filter>
</filters>
<!-- Regions -->
<regions>
<!-- Green must get into -->
<union name="green-wools">
<rectangle name="red-wool" min="53,-36" max="65,-48"/>
<rectangle name="orange-wool" min="2,-36" max="14,-48"/>
</union>
<apply block="only-green" use="only-green">
<region name="green-wools"/>
</apply>
<apply enter="only-green" message="Don't enter your own wool room!">
<region name="green-wools"/>
</apply>
<!-- Yellow must get into -->
<union name="yellow-wools">
<rectangle name="purple-wool" min="14,36" max="2,48"/>
<rectangle name="cyan-wool" min="65,36" max="53,48"/>
</union>
<apply block="only-yellow" use="only-yellow">
<region name="yellow-wools"/>
</apply>
<apply enter="only-yellow" message="Don't enter your own wool room!">
<region name="yellow-wools"/>
</apply>
<!-- Spawn Protection -->
<rectangle name="green-spawn" min="41,19" max="25,33"/>
<apply block="deny-all" enter="only-green">
<region name="green-spawn"/>
<region name="green-back"/>
</apply>
<rectangle name="yellow-spawn" min="25,-20" max="41,-34"/>
<apply block="deny-all" enter="only-yellow">
<region name="yellow-spawn"/>
<region name="yellow-back"/>
</apply>
<!-- Back Base Protection -->
<rectangle name="green-back" min="18,54" max="48,65"/>
<rectangle name="yellow-back" min="48,-55" max="18,-66"/>
<!-- Playable -->
<negative name="all">
<rectangle name="inside" min="64,-66" max="2,65"/>
</negative>
<apply block="deny-all" message="Don't build outside the map!">
<region name="all"/>
</apply>
</regions>
<!-- Other Settings -->
<killreward>
<item amount="1">iron ingot</item>
</killreward>
<toolrepair>
<tool>iron axe</tool>
<tool>bow</tool>
</toolrepair>
<itemremove>
<item>leather helmet</item>
<item>iron chestplate</item>
<item>leather leggings</item>
<item>leather boots</item>
<item>string</item>
<item>golden apple</item>
<item>364</item>
<item>arrow</item>
</itemremove>
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment