Advertisement
Ravenbvutt

Untitled

Aug 16th, 2017
9,104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.99 KB | None | 0 0
  1.  
  2. ############# OldCombatMechanics Plugin by gvlfm78 and Rayzr522 #############
  3. # #
  4. # Bukkit Page: http://dev.bukkit.org/bukkit-plugins/oldcombatmechanics/ #
  5. # Spigot Page: https://www.spigotmc.org/resources/oldcombatmechanics.19510/ #
  6. # GitHub Page: https://github.com/gvlfm78/BukkitOldCombatMechanics/ #
  7. # #
  8. #############################################################################
  9.  
  10. # This is to toggle the update checker
  11. update-checker:
  12. enabled: false
  13. # Modes: auto, bukkit, spigot
  14. mode: auto
  15.  
  16. # Enable the oldcombatmechanics.toggle permission
  17. # for players to individually /ocm toggle their cooldown
  18. enableIndividualToggle: false
  19.  
  20. # List of interactive blocks that right clicking on will be ignored
  21. # This is for modules such as sword blocking and elytra
  22. interactive: []
  23.  
  24.  
  25. # To use the per-world feature you specify a list of the worlds in the []
  26. # For example: (names are case sensitive)
  27. # worlds: [world,survival,creative,SkyWars]
  28. # Another example (for 1 world):
  29. # worlds: [bestWorld]
  30.  
  31. disable-attack-cooldown:
  32. # This is to disable the attack cooldown
  33. enabled: true
  34. worlds: []
  35. # What to set the attack speed to. Default for 1.9 is 4, at least 16 is needed for no cooldown.
  36. generic-attack-speed: 24
  37.  
  38. disable-player-collisions:
  39. # This is to disable player collision
  40. # This is now compatible with scoreboard and tablist-editing plugins
  41. enabled: true
  42. worlds: []
  43.  
  44. disable-sword-sweep:
  45. # This is to disable the sword sweep attack
  46. # The particle effect will still be present but will not affect surrounding entities
  47. enabled: true
  48. worlds: []
  49.  
  50. disable-crafting:
  51. # Disable the crafting of specified items
  52. enabled: false
  53. worlds: []
  54. # List of denied items
  55. denied: [shield]
  56.  
  57. disable-offhand:
  58. # Disable the usage of the offhand
  59. # Won't affect sword-blocking module
  60. enabled: false
  61. worlds: []
  62. # Whether the following list blocks items or allows them
  63. whitelist: false
  64. # List of items that should be allowed/not
  65. # Example: [diamond_sword,BOW]
  66. items: []
  67.  
  68. old-brewing-stand:
  69. # Automatically refuels brewing stands
  70. enabled: false
  71. worlds: []
  72.  
  73. no-lapis-enchantments:
  74. # Automatically adds lapis to enchantment tables upon opening
  75. enabled: false
  76. worlds: []
  77. # Whether to only allow this for players with oldcombatmechanics.nolapis permission
  78. usePermission: false
  79.  
  80. disable-elytra:
  81. # Do not allow players to wear elytra
  82. enabled: false
  83. worlds: []
  84.  
  85. disable-enderpearl-cooldown:
  86. # Disables enderpearl cooldown
  87. enabled: true
  88. worlds: []
  89.  
  90. old-tool-damage:
  91. # This is to set the tool damage as in pre-1.9
  92. # NOTE: this will modify the damage, however on the item tooltip it will still show the 1.9+ damage
  93. enabled: true
  94. worlds: []
  95. # This will allow you to set the damage divider
  96. # The default values below are obtained by doing (1.8 value)/(1.9 value)
  97. # Only axes and shovel values changed between the versions, so all others here have a divider of 1
  98. # We put them here anyway in case you wished to change them.
  99. # The plugin subtracts the enchantment-added damage,
  100. # divides the damage done while holding the weapon by the following values,
  101. # and adds back on the enchantment-added damage.
  102. damages:
  103. # Axe damages
  104. GOLD_AXE: 2.333333
  105. WOOD_AXE: 2.333333
  106. STONE_AXE: 2.25
  107. IRON_AXE: 1.8
  108. DIAMOND_AXE: 1.5
  109. # Shovel damages
  110. GOLD_SPADE: 2.5
  111. WOOD_SPADE: 2.5
  112. STONE_SPADE: 1.75
  113. IRON_SPADE: 1.5
  114. DIAMOND_SPADE: 1.375
  115. # Sword damages
  116. GOLD_SWORD: 1
  117. WOOD_SWORD: 1
  118. STONE_SWORD: 1
  119. IRON_SWORD: 1
  120. DIAMOND_SWORD: 1
  121. # Pickaxe damages
  122. GOLD_PICKAXE: 1
  123. WOOD_PICKAXE: 1
  124. STONE_PICKAXE: 1
  125. IRON_PICKAXE: 1
  126. DIAMOND_PICKAXE: 1
  127. # Hoe damages
  128. GOLD_HOE: 1
  129. WOOD_HOE: 1
  130. STONE_HOE: 1
  131. IRON_HOE: 1
  132. DIAMOND_HOE: 1
  133.  
  134. sword-blocking:
  135. # This is to allow players to block with swords again by getting a shield while they hold right click with a sword
  136. enabled: true
  137. worlds: []
  138. # How much damage should blocking reduce
  139. # This can either be a number in half-hearts (e.g 2) or a percentage (e.g. 20%)
  140. # 1.8 default: 50% 1.9 default: 33%
  141. blockingDamageReduction: 50%
  142. # Whether shields can block damage entirely
  143. # In 1.8 blocking could only reduce to 1/2 a heart
  144. shieldFullBlock: false
  145. # The minimum amount of damage, in half-hearts, if shieldFullBlock is enabled
  146. minimumDamage: 1.0
  147. # How often, it ticks, should OCM check if the player is still blocking with the shield and remove it if not
  148. # If this is too fast the player will have their shield disappear before they're able to block again causing a slight delay
  149. # If this is too slow players will have a shield in their hand well after they've stopped blocking
  150. # 20 ticks = 1 second
  151. restoreDelay: 40
  152.  
  153. old-golden-apples:
  154. # This is to change the behaviour / crafting of golden apples to how it was in pre-1.9
  155. enabled: true
  156. # If you don't want enchanted golden apples to be craftable, set this to false
  157. enchanted-golden-apple-crafting: true
  158. # Enabling this makes the potion effects gained by eating golden apples
  159. # and enchanted golden apples the same as it was in pre-1.9
  160. old-potion-effects: true
  161. # Potion effects golden apples should apply
  162. # Duration is in ticks (20 ticks = 1 second)
  163. # Amplifier is potion level -1, so Regeneration IV would be amplifier 3
  164. gapple-effects:
  165. regeneration:
  166. duration: 100
  167. amplifier: 1
  168. absorption:
  169. duration: 2400
  170. amplifier: 0
  171. # Potion effects enchanted golden apples should apply
  172. napple-effects:
  173. regeneration:
  174. duration: 600
  175. amplifier: 4
  176. damage_resistance:
  177. duration: 6000
  178. amplifier: 0
  179. fire_resistance:
  180. duration: 6000
  181. amplifier: 0
  182. absorption:
  183. duration: 2400
  184. amplifier: 0
  185. # Enable this if you have another plugin which adds a crafting recipe for
  186. # enchanted golden apples (requires server restart)
  187. no-conflict-mode: false
  188. worlds: []
  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.  
  204. projectile-knockback:
  205. # This adds knockback and/or damage to players when they get hit by snowballs, eggs & enderpearls
  206. # This has been a Bukkit bug for so long people thought it was vanilla when it was recently patched
  207. enabled: true
  208. worlds: []
  209. # This is the damage done by each projectile
  210. damage:
  211. snowball: 0.1
  212. egg: 0.1
  213. ender_pearl: 0.1
  214.  
  215. old-player-regen:
  216. # This is to make players' regeneration act mostly like it did in pre-1.9
  217. # It's hard to make it behave exactly like before, but in general this makes it work like in pre-1.9
  218. enabled: true
  219. worlds: []
  220. # How often, in seconds, a player should regenerate health
  221. frequency: 3
  222. # How many half-hearts the player should heal by, every seconds specified above
  223. amount: 1
  224. # How much exhaustion healing should give to the player. In 1.8: 3 In 1.9: 4 in 1.11: 6
  225. # If, after adding this, Minecraft finds the value is above 4, it subtracts 4
  226. # and either reduces saturation or, if saturation is 0, reduces food level by 1 (1/2 a stick)
  227. exhaustion: 3
  228.  
  229. old-armour-strength:
  230. # This is to set armour strength values as in pre-1.9
  231. enabled: true
  232. worlds: []
  233. # The higher the armour toughness value the closer the damage done while wearing armour is to pre-1.9 values
  234. toughness: 9999
  235. # This is to change the armour strength values if you so wish
  236. strength:
  237. # Leather armour
  238. LEATHER_HELMET: 1
  239. LEATHER_CHESTPLATE: 3
  240. LEATHER_LEGGINGS: 2
  241. LEATHER_BOOTS: 1
  242. # Chainmail armour
  243. CHAINMAIL_HELMET: 2
  244. CHAINMAIL_CHESTPLATE: 5
  245. CHAINMAIL_LEGGINGS: 4
  246. CHAINMAIL_BOOTS: 1
  247. # Golden armour
  248. GOLD_HELMET: 2
  249. GOLD_CHESTPLATE: 5
  250. GOLD_LEGGINGS: 3
  251. GOLD_BOOTS: 1
  252. # Iron armour
  253. IRON_HELMET: 2
  254. IRON_CHESTPLATE: 6
  255. IRON_LEGGINGS: 5
  256. IRON_BOOTS: 2
  257. # Diamond armour
  258. DIAMOND_HELMET: 3
  259. DIAMOND_CHESTPLATE: 8
  260. DIAMOND_LEGGINGS: 6
  261. DIAMOND_BOOTS: 3
  262.  
  263. disable-projectile-randomness:
  264. # This is to remove projectile randomness while firing arrows with a bow
  265. # This is actually a very old feature and has been in the game for quite some time
  266. enabled: false
  267. worlds: []
  268.  
  269. disable-bow-boost:
  270. # This is to stop players from boosting themselves forward by hitting themselves
  271. # while running with a punch II arrow from their bow
  272. # This module just stops them from hitting themselves with arrows entirely
  273. enabled: false
  274. worlds: []
  275.  
  276. ################################
  277. #### SPECIAL SETTINGS BELOW ####
  278. ################################
  279.  
  280. # This enables debug messages, only enable when troubleshooting
  281. debug:
  282. enabled: false
  283.  
  284. # DON'T EVER EVER EVER CHANGE THIS UNLESS YOU KNOW WHAT YOU'RE DOING (It will reset the config if you don't have it at the right number)
  285. config-version: 22
  286.  
  287. # Not added yet
  288. old-potion-effects:
  289. # This is to restore the 1.8 potion effects before they were nerfed
  290. enabled: true
  291. # Poison potion II
  292. 8228:
  293. poison:
  294. duration: 440
  295. amplifier: 1????
  296. # Extended Poison potion
  297. 8260:
  298. poison:
  299. duration: 2400
  300. amplifier: 0????
  301. # Extended Regeneration potion
  302. 8257:
  303. regeneration:
  304. duration: 2400
  305. amplifier: 0????
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement