-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.yml
More file actions
256 lines (232 loc) · 9.22 KB
/
config.yml
File metadata and controls
256 lines (232 loc) · 9.22 KB
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
# Sentry configuration
ConfigBuildNumber: ${build.number} ## do not change this
# Server-wide options for Sentry
Server:
# The amount of EXP sentries drop. Only works if Drops is turned on.
ExpValue: 5
# This is how often, in ticks, a sentries performs the interal logic looking for targets, etc. Increasing this value may lighten
# server load, but will decrease Sentries responsiveness and maximum rate of fire.
LogicTicks: 5
# Whether or not Sentries in bodyguard mode always deal damage regardless of other protection plugins.
BodyguardsObeyProtection: true
# Whether or not Sentries are immune to damage from entites on their ignore list. Immunity to damage also prevents retaliation.
IgnoreListInvincibility: true
# Sentry (v1) had a rather odd armour calculation, in that it subtracted the armour value from the damage done, sometimes
# resulting in no damage being done at all. Vanilla MC uses armour to reduce the damage by a percentage, switching the
# option below to true will use a new algorithm to handle armour in Sentries more like the vanilla calculation.
# (default = false, for backwards compatability.)
UseNewArmourCalc: false
# Default stats for new Sentries
DefaultStats:
NightVision: 16
Range: 10
VoiceRange: 0
RespawnDelay: 10
FollowDistance: 4
# More default stats...
DefaultValues:
Strength: 1.0
Speed: 1.5
Health: 20.0
Armour: 0.0 # set to -1.0 to calculate armour strength from armour worn.
ArrowRate: 2.0
HealRate: 0.0
Weight: 1.0 # used in knockback calculation
# Default options for new Sentries
DefaultOptions:
DropInventory: false # on death
KillsDrop: true # when killing others
CriticalHits: true
Invincible: false
Retaliation: true
MobsAttack: true
IgnoreLOS: false
UseWeapon4Strength: false
# Default texts for new Sentries. You can use <NPC> and <PLAYER> as placeholders.
DefaultTexts:
Warning: "&c<NPC> says Halt! Come no closer!"
Greeting: "&a<NPC> says Welcome, <PLAYER>"
# Default target list for new Sentries.
DefaultTargets:
#- all:monsters
# Default ignore list for new Sentries
DefaultIgnores:
- owner
UseCustomMessages: false
# Configurable messages used by all Sentries. You can use <NPC>, <PLAYER>, <ITEM>, and <AMOUNT> as
# placeholders. Remove a message or set it to "" to prevent it from displaying at all.
GlobalTexts:
Crit3: "&c*** You DISEMBOWEL <NPC> with your <ITEM> for <AMOUNT> damage"
Crit2: "&6*** You MAIM <NPC> with your <ITEM> for <AMOUNT> damage"
Crit1: "&e*** <NPC> sustains \"a mere flesh wound\" for <AMOUNT> damage"
Hit: "" # Message for all non-critcal hits, can get a bit spammy in chat, use with caution.
Glance: "&f*** Your paltry blow does <AMOUNT> damage to <NPC>"
Block: "&7*** <NPC> skillfully parries your attack!"
Miss: "&7*** You MISSED! <NPC> thumbs their nose at you!"
# These are the percentage chancees of doing a certain damage to a Sentry if Criticals is turned on.
# Whole numbers only. Set to 0 to disable a hit type.
# Critical hits multiply the damage done to a sentry as follows:-
# Crit3 x2, Crit2 x1.75, Crit1 x1.5, Glance, x0.5, Miss x0, Block x0
UseCriticalHits: true
HitChances:
Crit3: 2
Crit2: 4
Crit1: 6
Glance: 4
Miss: 4
Block: 2 # only used if Server.UseNewrmourCalc is 'true'
# List of other plugins that Sentry can integrate with to enable target selection to respect the
# Teams/clan/faction/town/nation of players. (ScoreboardTeams is the standard MC scoreboard.)
# To disable an option, remove or comment it out.
# NB Changes in these settings are not loaded by the /sentry reload command, only a server restart.
OtherPlugins:
- ScoreboardTeams
- Vault
- Towny
- Factions
# - SimpleClans
# - War
# - CrackShot
# Settings to enable or disable the denizen integration features. These are enabled by default for
# backwards compatability, but only need to be active if you have Denizen scripts that are using them.
# NB Changes in these settings are not loaded by the /sentry reload command, only a server restart.
DenizenIntegration:
NpcDeathTrigger: true
NpcDeathTriggerOwner: true
DieCommand: true
LiveCommand: true
# Set true to customise the items used by each type of Sentry - configured below.
UseCustomWeapons: false
# Use item names only. Equipping any other item makes a Brawler (melee attack).
AttackTypes:
ARCHER: BOW
PYRO1: REDSTONE_TORCH_ON
PYRO2: TORCH
PYRO3: BLAZE_ROD
BOMBARDIER: EGG
GRENADIER: TNT
ICEMAGI: SNOW_BALL
STORMCALLER1: PAPER
STORMCALLER2: BOOK
STORMCALLER3: BOOK_AND_QUILL
# Note Witch Doctors need a potion equipped to know what to throw!
WITCHDOCTOR1: SPLASH_POTION
WITCHDOCTOR2: LINGERING_POTION
WARLOCK1: ENDER_PEARL
WARLOCK2: SKULL_ITEM
CREEPER: SULPHUR
# If you have set Server.UseNewArmourCalc to true, the values below will be used to calculate the percentage damage reduction
# for each sentry that has their configured armour value set to -1 (values above 0 are used directly as the percentage reduction).
# If Server.UseNewArmourCalc remains false, the values below will be multiplied by 10 and subtracted from any damage due.
# The default values reflect the armour values in vanilla MC (e.g 0.04 = a 4% reduction in damage sustained).
ArmorValues:
- LEATHER_HELMET 0.04
- LEATHER_CHESTPLATE 0.12
- LEATHER_LEGGINGS 0.08
- LEATHER_BOOTS 0.04
- GOLD_HELMET 0.08
- GOLD_CHESTPLATE 0.20
- GOLD_LEGGINGS 0.12
- GOLD_BOOTS 0.04
- CHAINMAIL_HELMET 0.08
- CHAINMAIL_CHESTPLATE 0.20
- CHAINMAIL_LEGGINGS 0.16
- CHAINMAIL_BOOTS 0.04
- IRON_HELMET 0.08
- IRON_CHESTPLATE 0.24
- IRON_LEGGINGS 0.20
- IRON_BOOTS 0.08
- DIAMOND_HELMET 0.12
- DIAMOND_CHESTPLATE 0.32
- DIAMOND_LEGGINGS 0.24
- DIAMOND_BOOTS 0.12
# The values below will be used as the strength values for an attack with each item, and will be used if when you use the
# '/sentry strength' command to set their strength to -1
# The default values reflect the damage values in vanilla MC (with 1 = 0.5 hearts).
WeaponStrengths:
- BOW 6.0
- DIAMOND_SWORD 7.0
- IRON_SWORD 6.0
- STONE_SWORD 5.0
- GOLD_SWORD 4.0
- WOOD_SWORD 4.0
- DIAMOND_SHOVEL 5.5
- IRON_SHOVEL 4.5
- STONE_SHOVEL 3.5
- GOLD_SHOVEL 2.5
- WOOD_SHOVEL 2.5
- DIAMOND_PICKAXE 5.0
- IRON_PICKAXE 4.0
- STONE_PICKAXE 3.0
- GOLD_PICKAXE 2.0
- WOOD_PICKAXE 2.0
- DIAMOND_AXE 9.0
- IRON_AXE 9.0
- STONE_AXE 9.0
- GOLD_AXE 7.0
- WOOD_AXE 7.0
- DIAMOND_HOE 1.0
- IRON_HOE 1.0
- GOLD_HOE 1.0
- STONE_HOE 1.0
- WOOD_HOE 1.0
# The following items will ADD to the sentry's base speed.
SpeedBuffs:
#- LEATHER_BOOTS 0.2
#- IRON_BOOTS -0.1
# Apply potion effects on hit for various weapon types. Multiple effects allowed.
# Use format: [item name] [potion name:duration in ticks:level] There are 20 ticks in a second.
# Duration and Level are optional, default duration is 20, level is 1.
# Valid potion names:
# speed, slow, fast_digging, slow_digging, increase_damage, heal, harm, jump, confusion,
# regeneration, damage_resistance, fire_resistance, water_breathing, blindness, hunger, weakness,
# poison, wither, health_boost, absorption, saturation, glowing, levitation, luck, unluck
WeaponEffects:
- SNOW_BALL slow:20
#- GOLD_SWORD poison:60:2 confusion
# The lists below control what items are equipped as armour. These should only be changed to disable
# specific armors or add extended items. Adding items that cannot be worn (for example: wool block)
# to the lists will not work, and is not a feature that Sentries supports.
# If you are not changing the lists from the defaults, leave the "UseCustom..." values as false.
UseCustomHelmets: false
# If the value above is changed to 'true', the following items will be equipable as helmets.
# You must use the correct Material name. The default list reflects the helmets available
# when UseCustomHelmets is 'false'.
Helmets:
- PUMPKIN
- JACK_O_LANTERN
- LEATHER_HELMET
- CHAINMAIL_HELMET
- GOLD_HELMET
- IRON_HELMET
- DIAMOND_HELMET
UseCustomChestplates: false
# If the value above is changed to 'true', the following items will be equipable as chestplates.
# You must use the correct Material name. The default list reflects the chestplates available
# when UseCustomChestplates is 'false'.
Chestplates:
- LEATHER_CHESTPLATE
- CHAINMAIL_CHESTPLATE
- GOLD_CHESTPLATE
- IRON_CHESTPLATE
- DIAMOND_CHESTPLATE
UseCustomLeggings: false
# If the value above is changed to 'true', the following items will be equipable as leggings.
# You must use the correct Material name. The default list reflects the leggings available
# when UseCustomLeggings is 'false'.
Leggings:
- LEATHER_LEGGINGS
- CHAINMAIL_LEGGINGS
- GOLD_LEGGINGS
- IRON_LEGGINGS
- DIAMOND_LEGGINGS
UseCustomBoots: false
# If the value above is changed to 'true', the following items will be equipable as boots.
# You must use the correct Material name. The default list reflects the boots available
# when UseCustomBoots is 'false'.
Boots:
- LEATHER_BOOTS
- CHAINMAIL_BOOTS
- GOLD_BOOTS
- IRON_BOOTS
- DIAMOND_BOOTS