-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathwars.yml
260 lines (231 loc) · 11.4 KB
/
wars.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
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
# Wiki Page (configuration): hhttps://wiki.incredibleplugins.com/lands/configuration/wars
# Explanation for players: https://wiki.incredibleplugins.com/lands/players/general/wars
# Enable wars?
# NOTE: This setting requires server reload / restart.
enabled: true
# Should wars only be possible between nations and not single lands?
only-nations: false
# War declaration settings
declaration:
# Set the minimum amount of trusted players a land needs to have to be allowed to engaged in a war.
min-players:
# Set minimum amount of trusted players for the declaring attacker.
attacker: 0
# Set minimum amount of trusted players for the defender to receive a war declaration.
defender_3: 0
# "from" and "to" define the hours of each day between which a declaration can be sent.
# Minimum: 0 (00:00 AM)
# Maximum: 23 (11:00 PM)
# Setting one of these to -1 will disable this option.
send-time:
from: -1
to: -1
# How much time do you want to give the defender lands for war preparation, before it will start?
# NOTE: Timeunit is seconds
# Default is one day
preparation_time: 1d
# Should attackers only be able to send war declarations to lands or nations where at least one player is online?
online: false
# Should a broadcast message be sent to the whole server?
# You can edit the message in your language file.
broadcast: true
# Should war declarations need a mutual acceptation?
# If enabled, the defender land needs to confirm the declaration before the war can start. They need to do this by executing /Wars declare <attacker>
# They can deny a war declaration by executing /Wars deny
# NOTE: This setting requires server reload / restart.
mutual:
enabled_2: false
# Should the declaration be deleted if the enemy did not accept it during the configured period?
# You can disable this by setting the value to 0.
declaration-timeout_time: 5d
min-balance:
# Set the minimum land balance for attackers to be able to start a war.
attacker_2: 5000
# Set the minimum balance for defenders to have war declared against them directly.
# They can still be engaged in war, if they're part of a nation that has a balance higher than this.
defender_2: 0
min-age:
# Set the minimum age of a attacker.
attacker_time: 0d
# Set the minimum age of a defender.
defender_time: 0d
# Configure points
points:
# Get x points per kill
kill: 1
# Capture block points
capture-block:
# Get x points, if you capture a capture flag.
capture: 5
# Get x points, if you break a capture flag of the enemy.
break: 3
# Get x points, if you explode a capture flag of the enemy.
explode: 5
# How many points does a team need to win?
# Calculation: <team with the smallest amount of members> * towin-per-player
towin:
# The amount of needed points to win is defined by the amount of players in the smallest team multipled by this value (per-player).
per-player: 5
# Set a minimum amount of required points. This will be used if the calculation resulting of per-player is smaller than minimum.
min_2: 100
# Whenever a enemy places a beacon on the outskirts of a land, a capture flag will be created.
# The invaders then need to hold this point a specific time.
capture:
enabled_3: true
# A capture point must be crafted. Players can see the recipe in their /war menu.
recipe_list:
- 'AIR,RED_STAINED_GLASS_PANE,AIR'
- 'AIR,BEACON,AIR'
- 'IRON_BLOCK,IRON_BLOCK,IRON_BLOCK'
# Set the maximum amount of capture points a team can have placed at the same time.
max: 3
# Only allow the team to place a capture flag every period.
place-cooldown_time: 10m
# Set the chunks radius that will be affected by the capture flag. Invaders will start capturing once they enter the claimed area.
# If set to 1, only the chunk in which the capture flag is placed in, is affected.
# NOTE: This shouldn't be greater than your servers view distance.
radius: 1
# Should the captured area become unclaimed?
unclaim: true
# Should the unclaimed area become claimed by the enemy?
claim: false
# The invaders need to hold the capture flag this long, to capture the chunk.
hold_time: 10m
# Spawn a firework every period, if any players are in the area.
firework_time: 30s
# Should a capture flag item be dropped at removal of the capture flag?
drop: false
# Limit y levels on which capture flags are placeable.
y:
min: 30
max_2: 127
sounds:
capture:
place_sound: 'BLOCK_BELL_USE'
# War status message interval. This message appears while the war is running. This is very useful to inform players, which might have been offline for some time, that their land is participating in a war.
status-interval_time: 15m
# Set the max time a war can hold on. When this time is over the team with the points will win. If both teams have the same amount of points, it will end in a draw and no team will be rewarded.
# Default: 1,5 days
war-timeout_time: 36h
# Should players, which are engaged in a war, be hidden from dynmap?
# NOTE: It's currently not possible to do that with BlueMap.
hide-player: false
# Should Lands set a enemy or ally nametag above players that are at war?
# If you already have a scoreboard or tablist plugin on your server, it's recommended to use the %rel_lands_war_relation% PlaceholderAPI placeholder instead.
# NOTE: Only players that are in the same war, will see these.
# NOTE: If you use Folia instead of spigot/paper: Folia doesn't support scoreboard at this time.
nametag: true
# Here you can define a list of commands, which shouldn't get executed while a player is engaged in a war.
cmd-blacklist_list: [ ]
# Cutomize what happens when a defender surrenders.
surrender:
# Tribute settings
tribute:
# If you disable this option, the opposite team will be able to surrender even if no tribute is set.
force: true
# Max tribute settings
max:
# Maximum tribute size that attackers can set.
# The tribute size set by the attackers will be paid by the defenders in
# favor of the attackers, if the defenders voluntarily surrender in the war.
#
# Use % to set a specific percentage of the defenders land balance.
# Use normal numbers to set a total amount of money.
# If you have banks disabled, the money will be taken from the land owner.
defender: 75%
# In the case that the attackers voluntarily surrender in a war, regardless
# of the tribute size, the attackers will pay in favor of the
# defenders, the amount of money set in this variable.
#
# Use % to set a specific percentage of the attackers land balance.
# Use normal numbers to set a total amount of money.
# If you have banks disabled, the money will be taken from the land owner.
# NOTE: You can set this to 0 to disable it.
attacker: 5000
# War settings, which can also be chaned ingame by players.
# Please note that they need certain permissions in order to change the settings. You can find them in the wiki.
settings:
# Allow team mates killing each other. This won't count to the war kill stats.
friendly_fire:
default_2: true
shield:
# Configure when a land should get a war shield.
# If a war shield is active, other lands can't attack the land.
activation:
# Give war shield to a new land or nation?
# Use 0 to disable this.
shield_creation_time: 1d
# Set a war shield for a land or nation after it surrendered?
# If you want to disable this, just set the value to 0.
shield_surrender_time: 4d
# Set a war shield for both parties after war?
# If you want to disable this, just set the value to 0.
shield_end_time: 7d
# Configure what happens when a war starts.
start:
# Should a message be broadcasted to the whole server?
# You can edit the message in your language file.
broadcast_2: true
# Configure what happens when a land wins a war.
end:
# Execute a command when a land wins or looses.
# Placeholders:
# {winner} - Parameter name of the winner. Doesn't contain spaces.
# {winner_name} - Name of the winner. Might contain spaces.
# {winner_owner} - Owner of the winner.
# {loser} - Parameter name of the loser. Doesn't contain spaces.
# {loser_name} - Name of the winner. Might contain spaces.
# {loser_owner} - Owner of the loser.
# Set a command to [] in order to disable it.
winner:
winner-cmds_list: [ ]
loser:
loser-cmds_list: [ ]
# The looser will pay a specific amount of money to the attackers when the war ends.
# Set the reward mode.
# Use % to set a specific percentage of the loosers balance.
# Use normal numbers to set a total amount of money. If the looser does not have anough money, they will pay as much as possible.
# If you have banks disabled, the money will be taken from the land owner.
robbery: 75%
# Here you can enable natural flags during a war.
# List of available land-flags: https://wiki.incredibleplugins.com/lands/configuration/natural-flags
land-flags_list: [ ]
# Invading means that the enemy is invading their opponent. Depending on the options "role-settings_list", "block-place_list" and "block-break_list"
# they will be able to do certain actions in these lands, like opening chests.
# If you want to limit what they're able to do, edit "role-settings_list", "block-place_list" and "block-break_list" in this section.
invading:
# Limit when invading enemies are able to do certain actions (editable in the "flags" section below).
restrictions:
# Set a amount of players of the defenders, which need to be online before the attackers can interact in the land.
# If nations are invloved: This value is applied to the land that is currently being invaded. Not the whole nation (collection of lands).
# This option also affects capture flags.
# NOTE: If you want to allow pillages WHILE no defender is online, set this option to 0.
# NOTE: This setting requires server reload / restart.
min-players: 1
# Set a time period where players are still able to attack the land after the last player of the target land left the server.
cooldown_logging_time: 1m
# Limit what invading enemies are able to do.
flags:
# Allow players doing the following things in the enemy land (only during war).
# Available actions: https://wiki.incredibleplugins.com/lands/configuration/roles-and-their-flags#flags
# NOTE: Adding BLOCK_PLACE or BLOCK_BREAK to this list will allow invaders to break, place ALL blocks. If you want to specify blocks, please use the lists below.
# NOTE: In war the attackers and defenders also have the flags of the untrusted role of the area they're invading.
# NOTE: If you want to allow players to ignite and explode tnt blocks you need to add BLOCK_IGNITE to this list and TNT_GRIEFING to land-flags_list above.
role-flags_list:
- ITEM_PICKUP
- ATTACK_PLAYER
- LAND_ENTER
# Allow the placement of specific blocks if the land part of a war.
# NOTE: This is only needed if BLOCK_PLACE is NOT in the role-settings_list above.
# Values: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
block-place_list:
- LADDER
- VINE
- SCAFFOLDING
# Allow breaking of specific blocks if the land part of a war.
# NOTE: This is only needed if BLOCK_BREAK is NOT in the role-settings_list above.
# Values: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
block-break_list:
- LADDER
- VINE
- SCAFFOLDING