Advertisement
Guest User

bruhp

a guest
Oct 15th, 2019
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.55 KB | None | 0 0
  1. ############# OldCombatMechanics Plugin by gvlfm78 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/gvlfm78/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: [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]
  20.  
  21.  
  22. # To use the per-world feature you must specify a list of worlds in square brackets []
  23. # For example (names are case sensitive):
  24. # worlds: [world,survival,creative,SkyWars]
  25. # Another example (for 1 world):
  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: false
  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-crafting:
  48. # Disable the crafting of specified items
  49. enabled: true
  50. worlds: []
  51. # List of denied items
  52. denied: [shield]
  53.  
  54. disable-offhand:
  55. # Disable the usage of the offhand
  56. # Won't affect sword-blocking module
  57. enabled: false
  58. worlds: []
  59. # Whether the following list allows items or blocks them
  60. whitelist: true
  61. # List of items that should be allowed/blocked
  62. # Example: [diamond_sword,BOW]
  63. items: []
  64.  
  65. old-brewing-stand:
  66. # Automatically refuels brewing stands
  67. enabled: true
  68. worlds: []
  69.  
  70. no-lapis-enchantments:
  71. # Automatically adds lapis to enchantment tables upon opening
  72. enabled: false
  73. worlds: []
  74. # Whether to only allow this for players with oldcombatmechanics.nolapis permission
  75. usePermission: false
  76.  
  77. disable-elytra:
  78. # Do not allow players to wear elytra
  79. enabled: false
  80. worlds: []
  81.  
  82. disable-enderpearl-cooldown:
  83. # Disables enderpearl cooldown
  84. enabled: true
  85. worlds: []
  86.  
  87. old-tool-damage:
  88. # This is to set the tool damage as in pre-1.9
  89. # IMPORTANT: Also enable disable-sword-sweep module or sweeps will have the damage value of the weapon in hand
  90. # NOTE: this will modify the damage, however on the item tooltip it will still show the 1.9+ damage
  91. enabled: true
  92. worlds: []
  93. # Damage values shown in 1.9 representation (actual damage)
  94. # In 1.8 the damage tooltip value would be added to 1 'base damage', yielding the values below
  95. damages:
  96. # Axe damages
  97. GOLD_AXE: 4
  98. WOOD_AXE: 4
  99. STONE_AXE: 5
  100. IRON_AXE: 6
  101. DIAMOND_AXE: 7
  102. # Shovel damages
  103. GOLD_SPADE: 2
  104. WOOD_SPADE: 2
  105. STONE_SPADE: 3
  106. IRON_SPADE: 4
  107. DIAMOND_SPADE: 5
  108. # Sword damages
  109. GOLD_SWORD: 5
  110. WOOD_SWORD: 5
  111. STONE_SWORD: 6
  112. IRON_SWORD: 7
  113. DIAMOND_SWORD: 8
  114. # Pickaxe damages
  115. GOLD_PICKAXE: 3
  116. WOOD_PICKAXE: 3
  117. STONE_PICKAXE: 4
  118. IRON_PICKAXE: 5
  119. DIAMOND_PICKAXE: 6
  120. # Hoe damages
  121. GOLD_HOE: 1
  122. WOOD_HOE: 1
  123. STONE_HOE: 1
  124. IRON_HOE: 1
  125. DIAMOND_HOE: 1
  126.  
  127. sword-blocking:
  128. # This is to allow players to block with swords again, by getting a shield while they hold right click with a sword
  129. enabled: true
  130. worlds: []
  131. # How often, in ticks, OCM should check if the player is still blocking with a shield, and remove it if not
  132. # If this is too fast the player will have their shield disappear before they're able to block again causing a slight delay
  133. # If this is too slow players will have a shield in their hand well after they've stopped blocking
  134. # 20 ticks = 1 second
  135. restoreDelay: 40
  136. # List of items that holding in the offhand while right-clicking with a sword doesn't trigger blocking e.g. bow
  137. noBlockingItems: []
  138. # Whether the above list should act as a blacklist (i.e. only items listed stop the blocking mechanic)
  139. blacklist: true
  140.  
  141. shield-damage-reduction:
  142. # This module allows changing the damage reduction behaviour of shields
  143. enabled: true
  144. # How much damage blocking should reduce
  145. # This can either be a number in half-hearts (e.g 2) or a percentage (e.g. 20%)
  146. # 1.8 default: 50% 1.9 default: 33%
  147. # Before either is applied the plugin subtracts 1 as that is how it worked in 1.8
  148. generalDamageReduction: 50%
  149. # This value works the same but is exclusively for projectile damage
  150. projectileDamageReduction: 50%
  151.  
  152. old-golden-apples:
  153. # This is to change the behaviour / crafting of golden apples to how it was in pre-1.9
  154. # WARNING: If on 1.12 or above and you disable this module you must reload the server for the recipe to disappear
  155. enabled: true
  156. worlds: []
  157. # If you want to allow enchanted golden apple crafting
  158. enchanted-golden-apple-crafting: true
  159. # Enabling this makes the potion effects gained by eating golden apples
  160. # and enchanted golden apples the same as it was in pre-1.9
  161. old-potion-effects: true
  162. # Potion effects golden apples should apply
  163. # Duration is in ticks (20 ticks = 1 second)
  164. # Amplifier is potion level -1, so Regeneration IV would be amplifier 3
  165. gapple-effects:
  166. regeneration:
  167. duration: 100
  168. amplifier: 1
  169. absorption:
  170. duration: 2400
  171. amplifier: 0
  172. # Potion effects enchanted golden apples should apply
  173. napple-effects:
  174. regeneration:
  175. duration: 600
  176. amplifier: 4
  177. damage_resistance:
  178. duration: 6000
  179. amplifier: 0
  180. fire_resistance:
  181. duration: 6000
  182. amplifier: 0
  183. absorption:
  184. duration: 2400
  185. amplifier: 0
  186. # Enable this if you have another plugin which adds a crafting recipe for
  187. # enchanted golden apples (requires server restart)
  188. no-conflict-mode: false
  189.  
  190. old-fishing-knockback:
  191. # 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
  192. # Credit to HyKurtis for the original code, optimised by Rayzr522
  193. enabled: true
  194. worlds: []
  195. # This makes OCM check if other plugins are stopping the rod damage and follow their choice
  196. # Set to false to always have rod damage
  197. checkCancelled: false
  198. # This is the damage done by the fishing rod attack
  199. damage: 0.2
  200. # Whether the EntityDamageEvent should be used instead of the EntityDamageByEntityEvent
  201. # Set to true when using plugins like NCP that check range
  202. useEntityDamageEvent: false
  203. # This is to cancel dragging in the entity attached to the fishing rod when reeling in, like in 1.8
  204. cancelDraggingIn: true
  205. # This is the delay in milliseconds in-between rod damage, so the player hit has time to fall back down
  206. hitCooldown: 1000
  207.  
  208. projectile-knockback:
  209. # This adds knockback and/or damage to players when they get hit by snowballs, eggs & enderpearls
  210. # This has been a Bukkit bug for so long people thought it was vanilla when it was recently patched
  211. enabled: true
  212. worlds: []
  213. # This is the damage done by each projectile
  214. damage:
  215. snowball: 0.1
  216. egg: 0.1
  217. ender_pearl: 0.1
  218.  
  219. old-player-regen:
  220. # This is to make players' regeneration act mostly like it did in pre-1.9
  221. # It's hard to make it behave exactly like before, but in general this makes it work like in pre-1.9
  222. enabled: true
  223. worlds: []
  224. # How often, in seconds, a player should regenerate health
  225. frequency: 3
  226. # How many half-hearts the player should heal by, every seconds specified above
  227. amount: 1
  228. # How much exhaustion healing should give to the player. In 1.8: 3 In 1.9: 4 In 1.11: 6
  229. # If, after adding this, Minecraft finds the value is above 4, it subtracts 4
  230. # and either reduces saturation or, if saturation is 0, reduces food level by 1 (1/2 a stick)
  231. exhaustion: 3
  232.  
  233. old-armour-strength:
  234. # This is to make armour calculations like in 1.8
  235. # Based on this: https://minecraft.gamepedia.com/index.php?title=Armor&oldid=909187
  236. enabled: true
  237. worlds: []
  238.  
  239. disable-projectile-randomness:
  240. # This is to remove projectile randomness while firing arrows with a bow
  241. # This is actually a very old feature and has been in the game for quite some time
  242. enabled: false
  243. worlds: []
  244.  
  245. disable-bow-boost:
  246. # This is to stop players from boosting themselves forward by hitting themselves
  247. # while running with a punch II arrow from their bow
  248. # This module simply stops them from hitting themselves with arrows entirely
  249. enabled: false
  250. worlds: []
  251.  
  252. old-potion-effects:
  253. # This is to restore the 1.8 potion effects and duration
  254. enabled: true
  255.  
  256. ### DURATION: (in seconds)
  257. potion-durations:
  258. regen: # Regeneration
  259. drinkable:
  260. base: 45
  261. II: 22
  262. extended: 120
  263. splash:
  264. base: 33
  265. II: 16
  266. extended: 90
  267.  
  268. speed: # Swiftness
  269. drinkable:
  270. base: 180
  271. II: 90
  272. extended: 480
  273. splash:
  274. base: 135
  275. II: 67
  276. extended: 360
  277.  
  278. fire_resistance:
  279. drinkable:
  280. base: 180
  281. extended: 480
  282. splash:
  283. base: 135
  284. extended: 360
  285.  
  286. poison:
  287. drinkable:
  288. base: 45
  289. II: 22
  290. extended: 120
  291. splash:
  292. base: 33
  293. II: 16
  294. extended: 90
  295.  
  296. night_vision:
  297. drinkable:
  298. base: 180
  299. extended: 480
  300. splash:
  301. base: 180
  302. extended: 480
  303.  
  304. weakness:
  305. drinkable:
  306. base: 90
  307. extended: 240
  308. splash:
  309. base: 90
  310. extended: 240
  311.  
  312. strength:
  313. drinkable:
  314. base: 180
  315. II: 90
  316. extended: 480
  317. splash:
  318. base: 135
  319. II: 67
  320. extended: 360
  321.  
  322. slowness:
  323. drinkable:
  324. base: 90
  325. extended: 240
  326. splash:
  327. base: 67
  328. extended: 180
  329.  
  330. jump: # Leaping
  331. drinkable:
  332. base: 180
  333. II: 90
  334. extended: 480
  335. splash:
  336. base: 135
  337. II: 67
  338. extended: 360
  339.  
  340. water_breathing:
  341. drinkable:
  342. base: 180
  343. extended: 480
  344. splash:
  345. base: 135
  346. extended: 360
  347.  
  348. invisibility:
  349. drinkable:
  350. base: 180
  351. extended: 480
  352. splash:
  353. base: 135
  354. extended: 360
  355.  
  356. # 1.9+ potions
  357. # Turtle Master potion currently incompatible, will just work like default
  358. luck:
  359. drinkable:
  360. base: 300
  361. splash:
  362. base: 300
  363.  
  364. slow_falling:
  365. drinkable:
  366. base: 90
  367. extended: 240
  368. splash:
  369. base: 90
  370. extended: 240
  371.  
  372. # EFFECTS
  373. # If 'multiplier' is true value is multiplied by base tool damage. If false it is added.
  374. # If both true it is first increased by 1 then multiplied (same as +xx%)
  375. # Strength potion
  376. # 1.9: I = +3; II = +6; 1.8: I = +130%; II = +260%
  377. strength:
  378. modifier: 1.3
  379. multiplier: true
  380. addend: true
  381. # Weakness potion
  382. # 1.9 value: -4 1.8 value: -0.5
  383. weakness:
  384. modifier: -0.5
  385. multiplier: false
  386.  
  387. chorus-fruit:
  388. # This makes the chorus fruit behaviour configurable
  389. enabled: true
  390. worlds: []
  391. # The maximum distance the fruit can teleport the player. This a PER AXIS value, so this outlines a cube with
  392. # 2 * max-teleportation-distance as the side length
  393. # Vanilla default is 8.
  394. # Setting this to 0 disables chorus fruit teleport.
  395. # Setting this to a value greater than 8 MIGHT CAUSE CONFLICTS with bukkit's internal anti cheat
  396. # and *potentially* any other anti-cheat you use. Please make sure this is not an issue before increasing
  397. # this value.
  398. max-teleportation-distance: 8
  399. # Whether to prevent eating the fruit completely. This also prevents the teleportation.
  400. prevent-eating: false
  401. # The saturation value of the chorus fruit.
  402. # Vanilla default is 2.4
  403. saturation-value: 2.4
  404. # The hunger value of the chorus fruit.
  405. # Vanilla default is 4 (2 bars)
  406. hunger-value: 4
  407.  
  408. ################################
  409. #### SUPPORT SETTINGS BELOW ####
  410. ################################
  411. support:
  412. spartan-cancel-ticks: 1
  413.  
  414. ################################
  415. #### SPECIAL SETTINGS BELOW ####
  416. ################################
  417.  
  418. # This enables debug messages, only enable when troubleshooting
  419. debug:
  420. enabled: false
  421.  
  422. # DO NOT CHANGE THIS NUMBER AS IT WILL RESET YOUR CONFIG
  423. config-version: 38
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement