Advertisement
Guest User

Old Combat Mechanics Config

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