Advertisement
maozou

oldcombat....config

Nov 16th, 2018
1,385
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.98 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: true
  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: [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]
  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: false
  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: true
  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: true
  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: true
  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. # List of items that holding in the offhand while right-clicking with a sword doesn't trigger blocking e.g. bow
  153. noBlockingItems: []
  154. # Whether the above list should act as a blacklist (i.e. only items in it stop the blocking mechanic)
  155. blacklist: true
  156.  
  157. old-golden-apples:
  158. # This is to change the behaviour / crafting of golden apples to how it was in pre-1.9
  159. # WARNING: If on 1.12 or above and you disable this module you must reload the server for the recipe to disappear
  160. enabled: true
  161. worlds: []
  162. # If you want to allow enchanted golden apple crafting
  163. enchanted-golden-apple-crafting: true
  164. # Enabling this makes the potion effects gained by eating golden apples
  165. # and enchanted golden apples the same as it was in pre-1.9
  166. old-potion-effects: true
  167. # Potion effects golden apples should apply
  168. # Duration is in ticks (20 ticks = 1 second)
  169. # Amplifier is potion level -1, so Regeneration IV would be amplifier 3
  170. gapple-effects:
  171. regeneration:
  172. duration: 100
  173. amplifier: 1
  174. absorption:
  175. duration: 2400
  176. amplifier: 0
  177. # Potion effects enchanted golden apples should apply
  178. napple-effects:
  179. regeneration:
  180. duration: 600
  181. amplifier: 10
  182. damage_resistance:
  183. duration: 6000
  184. amplifier: 0
  185. fire_resistance:
  186. duration: 6000
  187. amplifier: 0
  188. absorption:
  189. duration: 2400
  190. amplifier: 0
  191. # Enable this if you have another plugin which adds a crafting recipe for
  192. # enchanted golden apples (requires server restart)
  193. no-conflict-mode: false
  194.  
  195. old-fishing-knockback:
  196. # 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
  197. # Credit to HyKurtis for the original code, optimised by Rayzr522
  198. enabled: true
  199. worlds: []
  200. # This makes OCM check if other plugins are stopping the rod damage and follow their choice
  201. # Set to false to always have rod damage
  202. checkCancelled: false
  203. # This is the damage done by the fishing rod attack
  204. damage: 0.2
  205. # Whether the EntityDamageEvent should be used instead of the EntityDamageByEntityEvent
  206. # Set to true when using plugins like NCP that check range
  207. useEntityDamageEvent: false
  208. # This is to cancel dragging in the entity attached to the fishing rod when reeling in, like in 1.8
  209. cancelDraggingIn: true
  210.  
  211. projectile-knockback:
  212. # This adds knockback and/or damage to players when they get hit by snowballs, eggs & enderpearls
  213. # This has been a Bukkit bug for so long people thought it was vanilla when it was recently patched
  214. enabled: true
  215. worlds: []
  216. # This is the damage done by each projectile
  217. damage:
  218. snowball: 0.1
  219. egg: 0.1
  220. ender_pearl: 0.1
  221.  
  222. old-player-regen:
  223. # This is to make players' regeneration act mostly like it did in pre-1.9
  224. # It's hard to make it behave exactly like before, but in general this makes it work like in pre-1.9
  225. enabled: true
  226. worlds: []
  227. # How often, in seconds, a player should regenerate health
  228. frequency: 3
  229. # How many half-hearts the player should heal by, every seconds specified above
  230. amount: 1
  231. # How much exhaustion healing should give to the player. In 1.8: 3 In 1.9: 4 in 1.11: 6
  232. # If, after adding this, Minecraft finds the value is above 4, it subtracts 4
  233. # and either reduces saturation or, if saturation is 0, reduces food level by 1 (1/2 a stick)
  234. exhaustion: 3
  235.  
  236. old-armour-strength:
  237. # This is to set armour strength values as in pre-1.9
  238. enabled: true
  239. worlds: []
  240. # The higher the armour toughness value the closer the damage done while wearing armour is to pre-1.9 values
  241. toughness: 9999
  242. # This is to change the armour strength values if you so wish
  243. strength:
  244. # Leather armour
  245. LEATHER_HELMET: 1
  246. LEATHER_CHESTPLATE: 3
  247. LEATHER_LEGGINGS: 2
  248. LEATHER_BOOTS: 1
  249. # Chainmail armour
  250. CHAINMAIL_HELMET: 2
  251. CHAINMAIL_CHESTPLATE: 5
  252. CHAINMAIL_LEGGINGS: 4
  253. CHAINMAIL_BOOTS: 1
  254. # Golden armour
  255. GOLD_HELMET: 2
  256. GOLD_CHESTPLATE: 5
  257. GOLD_LEGGINGS: 3
  258. GOLD_BOOTS: 1
  259. # Iron armour
  260. IRON_HELMET: 2
  261. IRON_CHESTPLATE: 6
  262. IRON_LEGGINGS: 5
  263. IRON_BOOTS: 2
  264. # Diamond armour
  265. DIAMOND_HELMET: 3
  266. DIAMOND_CHESTPLATE: 8
  267. DIAMOND_LEGGINGS: 6
  268. DIAMOND_BOOTS: 3
  269.  
  270. old-potion-effects:
  271. # This is to restore the 1.8 potion effects before they were nerfed
  272. enabled: true
  273. # Strength potion
  274. 8228:
  275. poison:
  276. duration: 440
  277. amplifier: 1????
  278.  
  279. disable-projectile-randomness:
  280. # This is to remove projectile randomness while firing arrows with a bow
  281. # This is actually a very old feature and has been in the game for quite some time
  282. enabled: false
  283. worlds: []
  284.  
  285. disable-bow-boost:
  286. # This is to stop players from boosting themselves forward by hitting themselves
  287. # while running with a punch II arrow from their bow
  288. # This module just stops them from hitting themselves with arrows entirely
  289. enabled: false
  290. worlds: []
  291.  
  292. ################################
  293. #### SPECIAL SETTINGS BELOW ####
  294. ################################
  295.  
  296. # This enables debug messages, only enable when troubleshooting
  297. debug:
  298. enabled: false
  299.  
  300. # DO NOT CHANGE THIS NUMBER AS IT WILL RESET YOUR CONFIG
  301. config-version: 25
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement