Advertisement
Guest User

Untitled

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