Advertisement
ALPHADOIDE

Untitled

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