Unknown Log

#iH7lGkM
565 lines
Raw
1# This Source Code Form is subject to the terms of the Mozilla Public
2# License, v. 2.0. If a copy of the MPL was not distributed with this
3# file, You can obtain one at https://mozilla.org/MPL/2.0/.
4
5 ############# OldCombatMechanics Plugin by kernitus and Rayzr522 #############
6# #
7# Bukkit Page: http://dev.bukkit.org/bukkit-plugins/oldcombatmechanics/ #
8# Spigot Page: https://www.spigotmc.org/resources/oldcombatmechanics.19510/ #
9# GitHub Page: https://github.com/kernitus/BukkitOldCombatMechanics/ #
10# #
11#############################################################################
12
13# List of interactive blocks that right clicking on will be ignored
14# This is for modules such as sword blocking and disable-elytra
15interactive: [crafting_table,enchantment_table,anvil,brewing_stand,trapped_chest,chest,bed,boat,fence_gate,dispenser,dropper,furnace,jukebox,ender_chest,stone_button,wood_button,beacon,tripwire_hook,hopper,daylight_detector,daylight_detector_inverted,item_frame,diode,diode_block_off,diode_block_on,redstone_comparator,redstone_comparator_off,redstone_comparator_on,acacia_door,birch_door,dark_oak_door,jungle_door,spruce_door,wood_door,workbench,bed_block,lever,trap_door,burning_furnace,spruce_fence_gate,birch_fence_gate,jungle_fence_gate,dark_oak_fence_gate,acacia_fence_gate,white_shulker_box,orange_shulker_box,magenta_shulker_box,light_blue_shulker_box,yellow_shulker_box,lime_shulker_box,pink_shulker_box,gray_shulker_box,silver_shulker_box,cyan_shulker_box,purple_shulker_box,blue_shulker_box,brown_shulker_box,green_shulker_box,red_shulker_box,black_shulker_box,barrel]
16
17worlds-is-blacklist: true
18# To use the per-world feature you must specify a list of worlds in square brackets []
19# If empty, will be enabled in all worlds. Otherwise acts as whitelist / blacklist
20# A few examples:
21# worlds: [world,survival,creative,SkyWars]
22# worlds: [Survival]
23worlds: [Survival]
24disable-attack-cooldown:
25 # This is to disable the attack cooldown
26 enabled: true
27 worlds: [Survival]
28 # What to set the attack speed to. Default for 1.9 is 4, at least 16 is needed for no cooldown.
29 generic-attack-speed: 24
30 message-enabled: "&aAttack cooldown enabled for %player%"
31 message-disabled: "&cAttack cooldown disabled for %player%"
32 message-usage: "Usage: &7/ocm toggle [player] [on/off]"
33
34disable-player-collisions:
35 # This is to disable player collisions
36 # This is now compatible with scoreboard and tablist-editing plugins
37 enabled: false
38 worlds: []
39
40disable-sword-sweep:
41 # This is to disable the sword sweep attack
42 # Particle effect is also now removed
43 enabled: true
44 worlds: [Survival]
45 disable-attack-sounds:
46 enabled: false
47 worlds: []
48 # The sounds that will be blocked by this module
49 blocked-sounds:
50 - "minecraft:entity.player.attack.strong"
51 - "minecraft:entity.player.attack.sweep"
52 - "minecraft:entity.player.attack.nodamage"
53 - "minecraft:entity.player.attack.knockback"
54 - "minecraft:entity.player.attack.crit"
55 - "minecraft:entity.player.attack.weak"
56
57disable-crafting:
58 # Disable the crafting of specified items
59 enabled: true
60 worlds: [Survival]
61 # List of denied items
62 denied: [shield]
63 # Show the user a message if they try to craft a blacklisted item
64 showMessage: true
65 message: "&cYou cannot craft that item!"
66
67disable-offhand:
68 # Disable the usage of the offhand
69 # Won't affect sword-blocking module
70 enabled: true
71 worlds: [Survival]
72 # Whether the following list allows items or blocks them
73 whitelist: true
74 # List of items that should be allowed/blocked
75 # Example: [diamond_sword,BOW]
76 items: []
77
78old-brewing-stand:
79 # Automatically refuels brewing stands
80 enabled: true
81 worlds: [Survival]
82no-lapis-enchantments:
83 # Automatically adds lapis to enchantment tables upon opening
84 enabled: false
85 worlds: []
86 # Whether to only allow this for players with oldcombatmechanics.nolapis permission
87 usePermission: false
88
89disable-elytra:
90 # Do not allow players to wear elytra
91 enabled: false
92 worlds: []
93
94disable-enderpearl-cooldown:
95 # Disables enderpearl cooldown
96 enabled: true
97 worlds: [Survival]
98 # The cooldown, in seconds
99 cooldown: 0
100 # Show the user a message if they try to use an enderpearl and the cooldown has not expired yet
101 showMessage: true
102 message: "&cYou must wait &7%ds&c before using an enderpearl again!"
103
104old-tool-damage:
105 # This is to set the tool damage as in pre-1.9
106 # IMPORTANT: Also enable disable-sword-sweep module or sweeps will have the damage value of the weapon in hand
107 # NOTE: this will modify the damage, however on the item tooltip it will still show the 1.9+ damage
108 enabled: true
109 worlds: [Survival]
110 # Damage values shown in 1.9 representation (actual damage)
111 # In 1.8 the damage tooltip value would be added to 1 'base damage', yielding the values below
112 damages:
113 # Axe damages
114 GOLD_AXE: 4
115 WOOD_AXE: 4
116 STONE_AXE: 5
117 IRON_AXE: 6
118 DIAMOND_AXE: 7
119 NETHERITE_AXE: 8
120 # Shovel damages
121 GOLD_SPADE: 2
122 WOOD_SPADE: 2
123 STONE_SPADE: 3
124 IRON_SPADE: 4
125 DIAMOND_SPADE: 5
126 NETHERITE_SPADE: 6
127 # Sword damages
128 GOLD_SWORD: 5
129 WOOD_SWORD: 5
130 STONE_SWORD: 6
131 IRON_SWORD: 7
132 DIAMOND_SWORD: 8
133 NETHERITE_SWORD: 9
134 # Pickaxe damages
135 GOLD_PICKAXE: 3
136 WOOD_PICKAXE: 3
137 STONE_PICKAXE: 4
138 IRON_PICKAXE: 5
139 DIAMOND_PICKAXE: 6
140 NETHERITE_PICKAXE: 7
141 # Hoe damages
142 GOLD_HOE: 1
143 WOOD_HOE: 1
144 STONE_HOE: 1
145 IRON_HOE: 1
146 DIAMOND_HOE: 1
147 NETHERITE_HOE: 1
148
149sword-blocking:
150 # This is to allow players to block with swords again, by getting a shield while they hold right click with a sword
151 enabled: true
152 worlds: [Survival]
153 # How often, in ticks, OCM should check if the player is still blocking with a shield, and remove it if not
154 # If this is too fast the player will have their shield disappear before they're able to block again causing a slight delay
155 # If this is too slow players will have a shield in their hand well after they've stopped blocking
156 # 20 ticks = 1 second
157 restoreDelay: 40
158 # List of items that holding in the offhand while right-clicking with a sword doesn't trigger blocking e.g. bow
159 noBlockingItems: []
160 # Whether the above list should act as a blacklist (i.e. only items listed stop the blocking mechanic)
161 blacklist: true
162 # Whether to require players to have oldcombatmechanics.swordblock permission to block with a sword
163 use-permission: false
164
165shield-damage-reduction:
166 # This module allows changing the damage reduction behaviour of shields
167 enabled: true
168 # How much damage blocking should reduce
169 # This can either be a number in half-hearts (e.g 2) or a percentage (e.g. 20%)
170 # 1.8 default: (damage - 1) * 50% 1.9 default: 33%
171 # Damage reduction = (damage - damageReductionAmount) * damageReductionPercentage
172 generalDamageReductionAmount: 1
173 generalDamageReductionPercentage: 50
174 # This value works the same but is exclusively for projectile damage
175 projectileDamageReductionAmount: 1
176 projectileDamageReductionPercentage: 50
177
178old-golden-apples:
179 # This is to change the behaviour / crafting of golden apples to how it was in pre-1.9
180 # WARNING: If on 1.12 or above and you disable this module you must reload the server for the recipe to disappear
181 enabled: true
182 worlds: [Survival]
183 # Cooldown between eating the apples, in seconds
184 cooldown:
185 # The cooldown for normal golden apples
186 normal: 0
187 # Message when user tries to eat golden apple during cooldown. Leave empty to disable.
188 message-normal: "&ePlease wait %seconds%s before eating another golden apple."
189 # The cooldown for enchanted golden apples
190 enchanted: 0
191 # Message when user tries to eat enchanted golden apple during cooldown. Leave empty to disable.
192 message-enchanted: "&ePlease wait %seconds%s before eating another enchanted golden apple."
193 # Whether the two apple types share a cooldown.
194 # If this is true:
195 # 1. Eating any apple resets both cooldowns
196 # 2. Each apple type can only be eaten when its cooldown time is over
197 # This means that when you eat *any* apple you start two parallel cooldowns: One for enchanted and one
198 # for normal apples. Each type can only be eaten when its cooldown is over.
199 # Once any apple is eaten, both cooldowns are restarted, so you can not eat either type again
200 # before its full cooldown is over.
201 # 3. To have the plugin treat normal and enchanted golden apples as having the same cooldown,
202 # then set the same cooldown time and enable shared mode. (This was the old mode)
203 # If this is false:
204 # Eating an enchanted apple will prevent any *enchanted* apple type from being eaten before the cooldown is over
205 # Eating a normal apple will prevent any *normal* apple type from being eaten before the normal cooldown is over
206 is-shared: false
207 # If you want to allow enchanted golden apple crafting
208 enchanted-golden-apple-crafting: true
209 # Enabling this makes the potion effects gained by eating golden apples
210 # and enchanted golden apples the same as it was in pre-1.9
211 old-potion-effects: true
212 # Potion effects golden apples should apply
213 # Duration is in ticks (20 ticks = 1 second)
214 # Amplifier is the potion level - 1, so Regeneration IV would be amplifier 3
215 gapple-effects:
216 regeneration:
217 duration: 100
218 amplifier: 1
219 absorption:
220 duration: 2400
221 amplifier: 0
222 # Potion effects enchanted golden apples should apply
223 napple-effects:
224 regeneration:
225 duration: 600
226 amplifier: 4
227 damage_resistance:
228 duration: 6000
229 amplifier: 0
230 fire_resistance:
231 duration: 6000
232 amplifier: 0
233 absorption:
234 duration: 2400
235 amplifier: 0
236 # Enable this if you have another plugin which adds a crafting recipe for
237 # enchanted golden apples (requires server restart)
238 no-conflict-mode: false
239
240old-fishing-knockback:
241 # This is to make the knockback of players when they get hit by a fishing bobber the same as it was in pre-1.9
242 enabled: true
243 worlds: [Survival]
244 # This makes OCM check if other plugins are stopping the rod damage and follow their choice
245 # Set to false to always have rod damage
246 checkCancelled: false
247 # This is the damage done by the fishing rod attack
248 damage: 0.0001
249 # Whether the EntityDamageEvent should be used instead of the EntityDamageByEntityEvent
250 # Set to true when using plugins like NCP that check range
251 useEntityDamageEvent: false
252 # This is to cancel dragging in the entity attached to the fishing rod when reeling in, like in 1.8
253 # Options: all, players, mobs, none. players allows compatibility with WorldGuard pvp-deny regions
254 cancelDraggingIn: players
255 # Whether to also give knockback on non-player living entities (e.g. mobs)
256 knockbackNonPlayerEntities: false
257 # This is the delay in milliseconds in-between rod damage, so the player hit has time to fall back down
258 hitCooldown: 1000
259
260fishing-rod-velocity:
261 # In 1.9+ fishing rods go 8 blocks instead of 12 blocks
262 # This is due to both gravity and initial launch speed
263 # Set to true to revert back to the old calculations and gravity
264 enabled: true
265 worlds: [Survival]
266projectile-knockback:
267 # This adds knockback and/or damage to players when they get hit by snowballs, eggs & enderpearls
268 # This has been a Bukkit bug for so long people thought it was vanilla when it was recently patched
269 enabled: true
270 worlds: [Survival]
271 # This is the damage done by each projectile
272 damage:
273 snowball: 0.0001
274 egg: 0.0001
275 ender_pearl: 0.0001
276
277old-player-knockback:
278 # This is to change knockback players receive from attacks. Default values are as in 1.8.
279 #
280 # Practice servers tend to use lower knockback, for example:
281 # knockback-horizontal: 0.35
282 # knockback-vertical: 0.35
283 # knockback-vertical-limit: 0.4
284 # knockback-extra-horizontal: 0.425
285 # knockback-extra-vertical: 0.085
286 #
287 # Minigame servers use higher vertical knockback and lower horizontal knockback, exact values are unknown.
288 enabled: true
289 worlds: [Survival]
290 # Horizontal knockback is reduced by 40% for every successful attack by the player, with no limit
291 # Increase to make clicking more important, decrease to make it less important
292 knockback-horizontal: 0.4
293 # Vertical knockback is not reduced by clicking faster
294 # Increase to make clicking less important, decrease to make clicking more important
295 knockback-vertical: 0.4
296 # Vertical knockback limit is applied after base vertical knockback
297 # This limit can be exceeded by sprint hitting or knockback enchantments, from the extra vertical knockback
298 knockback-vertical-limit: 0.4
299 # Extra horizontal knockback is applied for each level of knockback enchant, and for sprinting
300 # Increase to make sprint resetting (w-tapping) more important, decrease to make it less important
301 # Increase to make clicking more important, decrease to make clicking less important
302 knockback-extra-horizontal: 0.4
303 # Extra vertical knockback is applied for each level of knockback enchant, and for sprinting
304 # Increase to make sprint resetting (w-tapping) more important, decrease to make it less important
305 # Increase to make clicking less important, decrease to make clicking more important
306 knockback-extra-vertical: 0.2
307 # Should knockback resistance be enabled? (e.g. netherite armour knockback resistance)
308 enable-knockback-resistance: false
309
310old-player-regen:
311 # This is to make players' regeneration act mostly like it did in pre-1.9
312 # Based on https://minecraft.gamepedia.com/Hunger?oldid=948685
313 enabled: true
314 worlds: [Survival]
315 # How often a player should regenerate health, in milliseconds (In 1.8: 4 seconds)
316 # The foodTickerTimer might not be perfectly accurate so we give it ~10ms of leeway
317 interval: 3990
318 # How many half-hearts the player should heal by, every seconds specified above
319 amount: 1
320 # How much exhaustion the player should get from healing. In 1.8: 3 In 1.9: 4 In 1.11: 6
321 # If, after adding this, Minecraft finds the value is above 4, it subtracts 4
322 # and either reduces saturation or, if saturation is 0, reduces food level by 1 (1/2 a stick)
323 exhaustion: 3
324
325old-armour-strength:
326 # This is to make armour calculations like in 1.8
327 # Based on this: https://minecraft.gamepedia.com/index.php?title=Armor&oldid=909187
328 enabled: true
329 worlds: [Survival]
330 old-armour-durability:
331 # This makes armour take a constant amount of durability damage (except for explosions)
332 enabled: true
333 worlds: [Survival]
334 # By how much to reduce durability every attack. 1.8 default is 1
335 reduction: 1
336
337disable-projectile-randomness:
338 # This is to remove projectile randomness while firing arrows with a bow
339 # This is actually a very old feature and has been in the game for quite some time
340 enabled: false
341 worlds: []
342 # This is the threshold between projectiles' (X,Z) values before they're considered the same and straightened
343 # This value is only useful for multishot. The default of 0.1 works at all but extremely shallow angles,
344 # where arrows end up bunched together. Set to 1 if you want multishots to all follow the same path.
345 epsilon: 0.1
346
347disable-bow-boost:
348 # This is to stop players from boosting themselves forward by hitting themselves
349 # while running with a punch II arrow from their bow
350 # This module simply stops them from hitting themselves with arrows entirely
351 enabled: false
352 worlds: []
353
354old-potion-effects:
355 # This is to restore the 1.8 potion effects and duration
356 enabled: true
357 worlds: [Survival]
358 ### DURATION: (in seconds)
359 potion-durations:
360 regen: # Regeneration
361 drinkable:
362 base: 45
363 II: 22
364 extended: 120
365 splash:
366 base: 33
367 II: 16
368 extended: 90
369
370 speed: # Swiftness
371 drinkable:
372 base: 180
373 II: 90
374 extended: 480
375 splash:
376 base: 135
377 II: 67
378 extended: 360
379
380 fire_resistance:
381 drinkable:
382 base: 180
383 extended: 480
384 splash:
385 base: 135
386 extended: 360
387
388 poison:
389 drinkable:
390 base: 45
391 II: 22
392 extended: 120
393 splash:
394 base: 33
395 II: 16
396 extended: 90
397
398 night_vision:
399 drinkable:
400 base: 180
401 extended: 480
402 splash:
403 base: 180
404 extended: 480
405
406 weakness:
407 drinkable:
408 base: 90
409 extended: 240
410 splash:
411 base: 90
412 extended: 240
413
414 strength:
415 drinkable:
416 base: 180
417 II: 90
418 extended: 480
419 splash:
420 base: 135
421 II: 67
422 extended: 360
423
424 slowness:
425 drinkable:
426 base: 90
427 extended: 240
428 splash:
429 base: 67
430 extended: 180
431
432 jump: # Leaping
433 drinkable:
434 base: 180
435 II: 90
436 extended: 480
437 splash:
438 base: 135
439 II: 67
440 extended: 360
441
442 water_breathing:
443 drinkable:
444 base: 180
445 extended: 480
446 splash:
447 base: 135
448 extended: 360
449
450 invisibility:
451 drinkable:
452 base: 180
453 extended: 480
454 splash:
455 base: 135
456 extended: 360
457
458 # 1.9+ potions
459 # Turtle Master potion currently incompatible, will just work like default
460 luck:
461 drinkable:
462 base: 300
463 splash:
464 base: 300
465
466 slow_falling:
467 drinkable:
468 base: 90
469 extended: 240
470 splash:
471 base: 90
472 extended: 240
473
474 # EFFECTS
475 # If 'multiplier' is true value is multiplied by base tool damage. If false it is added.
476 # If both true it is first increased by 1 then multiplied (same as +xx%)
477 # Strength potion
478 # 1.9: I = +3; II = +6; 1.8: I = +130%; II = +260%
479 strength:
480 modifier: 1.3
481 multiplier: true
482 addend: true
483 # Weakness potion
484 # 1.9 value: -4 1.8 value: -0.5
485 weakness:
486 modifier: -0.5
487 multiplier: false
488
489chorus-fruit:
490 # This makes the chorus fruit behaviour configurable
491 enabled: false
492 worlds: []
493 # The maximum distance the fruit can teleport the player. This a PER AXIS value, so this outlines a cube with
494 # 2 * max-teleportation-distance as the side length
495 # Vanilla default is 8.
496 # Setting this to 0 disables chorus fruit teleport.
497 # Setting this to a value greater than 8 MIGHT CAUSE CONFLICTS with bukkit's internal anti cheat
498 # and *potentially* any other anti-cheat you use. Please make sure this is not an issue before increasing
499 # this value.
500 max-teleportation-distance: 8
501 # Whether to prevent eating the fruit completely. This also prevents the teleportation.
502 prevent-eating: false
503 # The saturation value of the chorus fruit.
504 # Vanilla default is 2.4
505 saturation-value: 2.4
506 # The hunger value of the chorus fruit.
507 # Vanilla default is 4 (2 bars)
508 hunger-value: 4
509
510old-burn-delay:
511 # This makes it so entities will immediately start to burn when entering fire
512 enabled: false
513 worlds: []
514 # How long, in ticks, entities should be on fire for after not being in direct contact anymore
515 fire-ticks: 120
516
517attack-frequency:
518 # Allows changing the player invulnerability between hits
519 enabled: true
520 worlds: [Survival]
521 # The hit delay to apply. Default for 1.9+ is 20 ticks (1 second)
522 playerDelay: 18
523 mobDelay: 16
524
525old-critical-hits:
526 # Makes critical hits work like in 1.8
527 # In 1.8 damage would be increased by 0% to 50%, rounded down, plus one heart
528 # In 1.9 critical hits are always +50%
529 enabled: true
530 world: [Survival]
531 # What the damage, after applying potions effects, is multiplied by
532 multiplier: 1.5
533 # Whether the multiplier is a random decimal between 1 and multiplier
534 is-multiplier-random: true
535 # What is added to the damage, after applying potions effects and multiplying
536 addend: 1
537 # Whether to round damage down to nearest integer (1.8 default: true)
538 round-down: true
539 # Whether to allow crits while sprinting. 1.8: true, 1.9: false
540 allow-sprinting: true
541
542################################
543#### SUPPORT SETTINGS BELOW ####
544################################
545support:
546 spartan-cancel-ticks: 1
547
548################################
549#### SPECIAL SETTINGS BELOW ####
550################################
551
552# This is to toggle the update checker
553update-checker:
554 enabled: true
555
556# This enables command argument completion when pressing tab
557command-completer:
558 enabled: true
559
560# This enables debug messages, only enable when troubleshooting
561debug:
562 enabled: false
563
564# DO NOT CHANGE THIS NUMBER AS IT WILL RESET YOUR CONFIG
565config-version: 54
This log will be saved for 90 days from their last view.
Report abuse