Advertisement
JeSuisMister

OldVombatMechanics Config

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