/
map.xml
174 lines (174 loc) · 6.87 KB
/
map.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<map proto="1.4.2">
<name>Hobbit CTW</name>
<version>1.0</version>
<objective>Take the enemy's wool located near their base and place it back at your spawn!</objective>
<created>2023-01-24</created>
<maxbuildheight>21</maxbuildheight>
<gamemode>ctw</gamemode>
<authors>
<author uuid="f8753ae6-a7ed-4d88-8d6d-537a5b1687e4"/> <!-- guini2 -->
</authors>
<contributors>
<contributor uuid="d5a64b26-15ea-46c4-8319-f9c83e82a1fa"/> <!-- Eliminate -->
<contributor uuid="eb3fb835-2aee-4b6f-89e2-20753f622b33"/> <!-- Funk -->
<contributor uuid="9d4779a8-d35f-45d2-b51c-95de7a77e128" contribution="XML"/> <!-- zzuf -->
</contributors>
<teams>
<team id="red-team" color="dark red" dye-color="red" max="8">Red</team>
<team id="blue-team" color="blue" dye-color="blue" max="8">Blue</team>
</teams>
<spawns>
<spawn team="red-team" kit="spawn-kit" yaw="90" region="red-spawn"/>
<spawn team="blue-team" kit="spawn-kit" yaw="-90" region="blue-spawn"/>
<default>
<regions>
<point yaw="180">150.5,36,213.5</point>
</regions>
</default>
</spawns>
<kits>
<kit id="spawn-kit" force="true">
<clear/>
<item slot="0" material="iron sword" unbreakable="true"/>
<item slot="1" material="bow" unbreakable="true"/>
<item slot="2" material="iron pickaxe" unbreakable="true"/>
<item slot="3" material="iron axe" unbreakable="true"/>
<item slot="4" material="iron spade" unbreakable="true"/>
<item slot="5" material="wood" damage="1" amount="32"/>
<item slot="6" material="glass" amount="32"/>
<item slot="8" material="golden apple"/>
<item slot="28" material="arrow" amount="32"/>
<helmet material="leather helmet" team-color="true" unbreakable="true"/>
<chestplate material="leather chestplate" team-color="true" unbreakable="true"/>
<leggings material="chainmail leggings" enchantment="protection projectile" unbreakable="true"/>
<boots material="leather boots" team-color="true" unbreakable="true"/>
<effect duration="2s" amplifier="255">damage resistance</effect>
</kit>
<kit id="wool-room-armor" force="true">
<leggings material="diamond leggings" unbreakable="true" enchantment="protection projectile:1"/>
</kit>
<kit id="wool-room-kit">
<item material="golden apple" amount="5"/>
<item material="wood" damage="1" amount="64"/>
<item material="arrow" amount="32"/>
</kit>
</kits>
<filters>
<deny id="deny-players">
<participating/>
</deny>
<deny id="deny-red">
<team id="only-red">red-team</team>
</deny>
<deny id="deny-blue">
<team id="only-blue">blue-team</team>
</deny>
<deny id="no-void">
<void/>
</deny>
<blocks id="only-wool-room" region="wool-rooms">
<any>
<material>air</material>
<material>web</material>
</any>
</blocks>
</filters>
<regions>
<!-- Void -->
<negative id="void-area">
<rectangle min="167,241" max="134,186"/> <!-- Middle -->
<region id="red-wool-room"/>
<region id="blue-wool-room"/>
<region id="red-spawn-area"/>
<region id="blue-spawn-area"/>
</negative>
<apply block="no-void" region="void-area" message="You may not edit the void!"/>
<!-- Spawns -->
<point id="red-spawn" yaw="90">182.5,11,177.5</point>
<point id="blue-spawn" yaw="-90">118.5,11,249.5</point>
<cuboid id="obs-spawn" min="147,34,210" size="7,4,7"/>
<apply block="never" region="obs-spawn" message="You may not modify the observer's spawn!"/>
<!-- Red -->
<complement id="red-spawn-area">
<rectangle min="166,186" max="190,168"/>
<region id="victory-monuments"/>
</complement>
<apply block="never" use="only-red" region="red-spawn-area" message="You may not modify blocks here."/>
<apply enter="deny-blue" region="red-spawn-area" message="You may not enter your enemies' spawn!"/>
<!-- Blue -->
<complement id="blue-spawn-area">
<rectangle min="135,241" max="111,259"/>
<region id="victory-monuments"/>
</complement>
<apply block="never" use="only-blue" region="blue-spawn-area" message="You may not modify blocks here."/>
<apply enter="deny-red" region="blue-spawn-area" message="You may not enter your enemies' spawn!"/>
<!-- Wool rooms -->
<union id="wool-rooms">
<cuboid id="blue-wool-room" min="163,0,275" max="176,128,290"/> <!-- Contains blue wool -->
<cuboid id="red-wool-room" min="138,0,152" max="124,128,137"/> <!-- Contains red wool -->
</union>
<apply block="deny-red" region="red-wool-room" message="You may not modify the wool room!"/>
<apply block="deny-blue" region="blue-wool-room" message="You may not modify the wool room!"/>
<apply block="only-wool-room" region="wool-rooms" message="You may not modify the wool room!"/>
<apply enter="only-blue" region="red-wool-room" message="You may not enter your team's wool room!"/>
<apply enter="only-red" region="blue-wool-room" message="You may not enter your team's wool room!"/>
<apply kit="wool-room-armor" region="wool-rooms"/>
<apply kit="wool-room-kit" region="wool-rooms"/>
<point id="red-wool-spawner">130.5,14.2,143.5</point>
<point id="blue-wool-spawner">170.5,14.2,283.5</point>
<!-- Victory monuments -->
<union id="victory-monuments">
<block id="red-victory-monument">172,12,177</block>
<block id="blue-victory-monument">128,12,249</block>
</union>
</regions>
<wools team="red-team" craftable="false">
<wool color="blue" location="-6.5,14.5,-76" monument="red-victory-monument"/>
</wools>
<wools team="blue-team" craftable="false">
<wool color="red" location="6.5,14.5,76" monument="blue-victory-monument"/>
</wools>
<spawners>
<!-- Blue side -->
<spawner spawn-region="blue-wool-spawner" player-region="blue-wool-room" delay="3s">
<item material="wool" amount="1" damage="11"/>
</spawner>
<!-- Red side -->
<spawner spawn-region="red-wool-spawner" player-region="red-wool-room" delay="3s">
<item material="wool" amount="1" damage="14"/>
</spawner>
</spawners>
<itemkeep>
<item>iron sword</item>
<item>bow</item>
<item>iron pickaxe</item>
<item>iron axe</item>
<item>iron spade</item>
<item>arrow</item>
<item>wood</item>
<item>glass</item>
<item>golden apple</item>
</itemkeep>
<itemremove>
<item>leather helmet</item>
<item>leather chestplate</item>
<item>chainmail leggings</item>
<item>leather boots</item>
</itemremove>
<toolrepair>
<tool>iron sword</tool>
<tool>bow</tool>
<tool>iron pickaxe</tool>
<tool>iron axe</tool>
<tool>iron spade</tool>
</toolrepair>
<kill-rewards>
<kill-reward>
<item material="golden apple"/>
<item material="arrow" amount="8"/>
</kill-reward>
</kill-rewards>
<hunger>
<depletion>off</depletion>
</hunger>
</map>