Skip to content

Instantly share code, notes, and snippets.

@Electroid
Created October 7, 2013 01:00
Show Gist options
  • Select an option

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

Select an option

Save Electroid/6861104 to your computer and use it in GitHub Desktop.
Autunno XML
<?xml version="1.0"?>
<map proto="1.3.0">
<name>Autunno</name>
<version>1.0.0</version>
<objective>Control both hills for 1 minute!</objective>
<!-- Authors/Contributors -->
<authors>
<author>moo88888888</author>
</authors>
<contributors>
<contributor contribution="XML">ElectroidFilms</contributor>
</contributors>
<!-- Teams -->
<teams>
<team color="blue" max="20">Blue Team</team>
<team color="dark red" max="20">Red Team</team>
</teams>
<!-- Rules -->
<rules>
<rule>Do not spawnkill!</rule>
</rules>
<!-- Kits -->
<kits>
<kit name="spawn">
<item slot="0">stone sword</item>
<item slot="1" enchantment="arrow infinite:1">bow</item>
<item slot="2" amount="16">apple</item>
<item slot="8" amount="2">golden apple</item>
<item slot="27" amount="1">arrow</item>
<leggings>iron leggings</leggings>
<potion duration="6" amplifier="3">heal</potion>
<potion duration="6" amplifier="3">damage resistance</potion>
</kit>
<kit name="blue" parents="spawn">
<chestplate color="334CB2">leather chestplate</chestplate>
<helmet color="334CB2">leather helmet</helmet>
<boots color="334CB2">leather boots</boots>
</kit>
<kit name="red" parents="spawn">
<chestplate color="993333">leather chestplate</chestplate>
<helmet color="993333">leather helmet</helmet>
<boots color="993333">leather boots</boots>
</kit>
</kits>
<!-- Other Settings -->
<toolrepair>
<tool>stone sword</tool>
<tool>bow</tool>
</toolrepair>
<itemremove>
<item>apple</item>
<item>leather helmet</item>
<item>leather chestplate</item>
<item>leather boots</item>
<item>iron leggings</item>
<item>glass bottle</item>
<item>arrow</item>
</itemremove>
<killreward>
<item amount="1">golden apple</item>
</killreward>
<timelock>on</timelock>
<disabledamage>
<damage>fall</damage>
</disabledamage>
<!-- Filters -->
<filters>
<filter name="only-blue" parents="deny-players">
<allow><team>blue</team></allow>
</filter>
<filter name="only-red" parents="deny-players">
<allow><team>red</team></allow>
</filter>
</filters>
<!-- Regions -->
<regions>
<rectangle name="playable" min="-oo,-oo" max="oo,oo"/>
<rectangle name="blue-spawn" min="-126,-104" max="-140,-87"/>
<rectangle name="red-spawn" min="13,-87" max="26,-104"/>
<apply block="deny-all">
<region name="playable"/>
</apply>
<apply enter="only-blue">
<region name="blue-spawn"/>
</apply>
<apply enter="only-red">
<region name="red-spawn"/>
</apply>
</regions>
<!-- Spawns -->
<spawns>
<spawn team="blue" kit="blue" yaw="-90">
<cylinder base="-135,23,-96" radius="1" height="1"/>
</spawn>
<spawn team="red" kit="red" yaw="90">
<cylinder base="22,23,-95" radius="1" height="1"/>
</spawn>
<default yaw="-90">
<cylinder base="-57,45,-96" radius="1" height="1"/>
</default>
</spawns>
<!-- Gamemode -->
<time result="objectives">15m</time>
<king>
<hills>
<hill name="Hill A" capture-time="1m" type="variable" ratio="1">
<capture><cylinder base="-29,11,-88" radius="4" height="5"/></capture>
<progress><cuboid min="-24,11,-83" max="-34,11,-93"/></progress>
<captured><cuboid min="-24,16,-93" max="-34,16,-83"/></captured>
</hill>
<hill name="Hill B" capture-time="1m" type="variable" ratio="1">
<capture><cylinder base="-84,11,-103" radius="4" height="5"/></capture>
<progress><cuboid min="-89,11,-108" max="-79,11,-98"/></progress>
<captured><cuboid min="-79,16,-108" max="-89,16,-98"/></captured>
</hill>
</hills>
<wins>
<win team="blue">
<all>
<hill>Hill A</hill>
<hill>Hill B</hill>
</all>
</win>
<win team="red">
<all>
<hill>Hill A</hill>
<hill>Hill B</hill>
</all>
</win>
</wins>
</king>
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment