/
misc-upgrades.yml
217 lines (204 loc) · 5.64 KB
/
misc-upgrades.yml
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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
#|-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-|#
#|++++++++++++++++++++++++++++++++++++++++++++++++++++++|#
#| Misc Upgrades |#
#|++++++++++++++++++++++++++++++++++++++++++++++++++++|#
#|-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-|#
# You'll still need to remove them from the GUI (guis -> structures -> nexus -> misc-upgrades)
# if you don't want people to upgrade them.
invasions:
enabled: true
scaling: 'max(1, lvl) * 5'
cost: "(lvl + 1) * 5"
refresh-cooldown: "[1hr] / (lvl + 1)"
max-level: 5
default-level: 0
invasion-teleportation:
enabled: true
# This amount is reduced from invasions.yml -> teleportation -> teleport-delay
scaling: lvl
cost: "(lvl + 1) * 10"
max-level: 5
default-level: 0
anti-explosion:
enabled: true
cost: "(lvl + 1) * 100"
max-level: 3 # Increasing this doesn't change anything.
default-level: 0
# It'll throw the blocks in the air!
fancy-explosions:
enabled: true
# The options below require a server restart to be applied
# due to performance issues.
height:
min: 0.2
max: 1.0
spread:
min: -1.0
max: 1.0
# When a siege cannon is able to destroy kingdom items (turrets & structures)
# should the kingdom item drop or not. If not, the item will be permanently lost.
drop-destroyed-kingdom-items: false
# Auto regenerate the blocks slowly.
# This option has its own limitations.
auto-regenerate:
# Requires a restart to apply.
enabled: true
# The delay before starting the regeneration in seconds.
delay: 2
# The interval between each block regeneration in ticks.
interval: 1
anti-trample:
enabled: true
cost: "(lvl + 1) * 100"
max-level: 3 # Increasing this doesn't change anything.
# Level 3 anti-trample will not protect these animals.
blacklisted-animals: [ ]
default-level: 0
nexus-guards:
enabled: true
cost: "(lvl + 1) * 100"
max-level: 4
# Spawn delay in seconds.
spawn-delay: 5
default-level: 0
condition: 'kingdoms_kingdom_is_pacifist || kingdoms_other_kingdom_is_pacifist'
levels:
1:
zombies:
amount: 2
type: ZOMBIE
name: "&6%kingdoms_kingdom_name% &cNexus Guard"
health: 50
skeletons:
amount: 1
type: SKELETON
name: "&6%kingdoms_kingdom_name% &6Nexus Guard"
health: 20
2:
zombies:
amount: 3
type: ZOMBIE
name: "&6%kingdoms_kingdom_name% &cNexus Guard"
health: 50
skeletons:
amount: 3
type: SKELETON
name: "&6%kingdoms_kingdom_name% &6Nexus Guard"
health: 20
3:
illusioners:
amount: 1
type: ILLUSIONER
name: "&6%kingdoms_kingdom_name% &cNexus Wizard"
health: 50
vindicators:
amount: 3
type: VINDICATOR
name: "&6%kingdoms_kingdom_name% &6Nexus Butler"
health: 20
4:
illusioners:
amount: 1
type: ILLUSIONER
name: "&6%kingdoms_kingdom_name% &cNexus Wizard"
health: 50
vindicators:
amount: 2
type: VINDICATOR
name: "&6%kingdoms_kingdom_name% &6Nexus Butler"
health: 20
vexes:
amount: 5
type: VEX
name: "&6%kingdoms_kingdom_name% &6Nexus Minions"
health: 20
guards:
enabled: true
cost: "(lvl + 1) * 100"
max-level: 2
# Spawn delay in seconds.
spawn-delay: 5
default-level: 0
condition: 'kingdoms_kingdom_is_pacifist || kingdoms_other_kingdom_is_pacifist'
levels:
1:
zombies:
amount: 3
type: ZOMBIE
name: "&6%kingdoms_kingdom_name% &6Guard"
health: 50
skeletons:
amount: 1
type: SKELETON
name: "&6%kingdoms_kingdom_name% &6Guard"
health: 20
2:
zombies:
amount: 3
type: ZOMBIE
name: "&6%kingdoms_kingdom_name% &6Guard"
health: 50
skeletons:
amount: 1
type: SKELETON
name: "&6%kingdoms_kingdom_name% &6Guard"
health: 20
insanity:
enabled: true
cost: "(lvl + 1) * 500"
effects:
1: [ "STRENGTH, 10, 1" ]
2: [ "STRENGTH, 10, 2" ]
3: [ "STRENGTH, 10, 3" ]
max-level: 3
default-level: 0
glory:
enabled: true
cost: "(lvl + 1) * 100"
# This is currently not used.
max-level: 3
default-level: 0
xp:
# The player XP multiplier is protected by an anti-exploit system.
# Killing the same player within 5 minutes will just yield the default XP.
"lvl >= 3 && type == 'PLAYER' && kingdoms_relation == 'ENEMY'": "xp * 1.5"
"lvl >= 2 && (type == 'ZOMBIE' || type == 'SKELETON')": "xp * 2"
"type != 'PLAYER'": "xp + (lvl * 5)"
chest-size:
enabled: true
scaling: lvl
cost: "(lvl + 1) * 100"
# You cannot change this to a higher number, otherwise a lot of unexpected errors will spam.
max-level: 5
default-level: 0
# Players cannot place these items in their kingdom chest.
items:
blacklist: true
list:
emeralds:
material: EMERALD
emerald-blocks:
material: EMERALD_BLOCK
something:
lore: "CONTAINS:The ultimate thing"
# This upgrade has no scaling. The level number is used in the
# max-claims equation in claims.yml
max-claims:
enabled: true
scaling: 'lvl * 2'
cost: "(lvl + 1) * 200"
max-level: 10
default-level: 0
max-members:
enabled: true
cost: "(lvl + 1) * 100"
# Each upgrade.
scaling: 'lvl * 5'
max-level: 10
default-level: 0
max-turrets: # This works per land, it doesn't bypass per turret limits.
enabled: true
cost: "(lvl + 1) * 10000"
scaling: 'lvl' # Used by "misc_upgrades_max_turrets" placeholder inside turrets.yml
max-level: 5
default-level: 0