Advertisement
Guest User

Untitled

a guest
Sep 11th, 2019
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.68 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 disable-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 must specify a list of worlds in square brackets []
  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: 16
  37.  
  38. disable-player-collisions:
  39. # This is to disable player collisions
  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. # Particle effect is also now removed
  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 allows items or blocks them
  63. whitelist: false
  64. # List of items that should be allowed/blocked
  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. # IMPORTANT: Also enable disable-sword-sweep module or sweeps will have the damage value of the weapon in hand
  93. # NOTE: this will modify the damage, however on the item tooltip it will still show the 1.9+ damage
  94. enabled: true
  95. worlds: []
  96. # Damage values shown in 1.9 representation (actual damage)
  97. # In 1.8 the damage tooltip value would be added to 1 'base damage', yielding the values below
  98. damages:
  99. # Axe damages
  100. GOLD_AXE: 4
  101. WOOD_AXE: 4
  102. STONE_AXE: 5
  103. IRON_AXE: 6
  104. DIAMOND_AXE: 7
  105. # Shovel damages
  106. GOLD_SPADE: 2
  107. WOOD_SPADE: 2
  108. STONE_SPADE: 3
  109. IRON_SPADE: 4
  110. DIAMOND_SPADE: 5
  111. # Sword damages
  112. GOLD_SWORD: 5
  113. WOOD_SWORD: 5
  114. STONE_SWORD: 6
  115. IRON_SWORD: 7
  116. DIAMOND_SWORD: 8
  117. # Pickaxe damages
  118. GOLD_PICKAXE: 3
  119. WOOD_PICKAXE: 3
  120. STONE_PICKAXE: 4
  121. IRON_PICKAXE: 5
  122. DIAMOND_PICKAXE: 6
  123. # Hoe damages
  124. GOLD_HOE: 1
  125. WOOD_HOE: 1
  126. STONE_HOE: 1
  127. IRON_HOE: 1
  128. DIAMOND_HOE: 1
  129.  
  130. sword-blocking:
  131. # This is to allow players to block with swords again, by getting a shield while they hold right click with a sword
  132. enabled: false
  133. worlds: []
  134. # How often, in ticks, OCM should check if the player is still blocking with a shield, and remove it if not
  135. # If this is too fast the player will have their shield disappear before they're able to block again causing a slight delay
  136. # If this is too slow players will have a shield in their hand well after they've stopped blocking
  137. # 20 ticks = 1 second
  138. restoreDelay: 40
  139. # List of items that holding in the offhand while right-clicking with a sword doesn't trigger blocking e.g. bow
  140. noBlockingItems: []
  141. # Whether the above list should act as a blacklist (i.e. only items listed stop the blocking mechanic)
  142. blacklist: true
  143.  
  144. shield-damage-reduction:
  145. # This module allows changing the damage reduction behaviour of shields
  146. enabled: true
  147. # How much damage blocking should reduce
  148. # This can either be a number in half-hearts (e.g 2) or a percentage (e.g. 20%)
  149. # 1.8 default: 50% 1.9 default: 33%
  150. # Before either is applied the plugin subtracts 1 as that is how it worked in 1.8
  151. generalDamageReduction: 50%
  152. # This value works the same but is exclusively for projectile damage
  153. projectileDamageReduction: 50%
  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. # This is the delay in milliseconds in-between rod damage, so the player hit has time to fall back down
  209. hitCooldown: 1000
  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 make armour calculations like in 1.8
  238. # Based on this: https://minecraft.gamepedia.com/index.php?title=Armor&oldid=909187
  239. enabled: true
  240. worlds: []
  241.  
  242. disable-projectile-randomness:
  243. # This is to remove projectile randomness while firing arrows with a bow
  244. # This is actually a very old feature and has been in the game for quite some time
  245. enabled: false
  246. worlds: []
  247.  
  248. disable-bow-boost:
  249. # This is to stop players from boosting themselves forward by hitting themselves
  250. # while running with a punch II arrow from their bow
  251. # This module simply stops them from hitting themselves with arrows entirely
  252. enabled: false
  253. worlds: []
  254.  
  255. old-potion-effects:
  256. # This is to restore the 1.8 potion effects and duration
  257. enabled: true
  258.  
  259. ### DURATION: (in seconds)
  260. potion-durations:
  261. regen: # Regeneration
  262. drinkable:
  263. base: 45
  264. II: 22
  265. extended: 120
  266. splash:
  267. base: 33
  268. II: 16
  269. extended: 90
  270.  
  271. speed: # Swiftness
  272. drinkable:
  273. base: 180
  274. II: 90
  275. extended: 480
  276. splash:
  277. base: 135
  278. II: 67
  279. extended: 360
  280.  
  281. fire_resistance:
  282. drinkable:
  283. base: 180
  284. extended: 480
  285. splash:
  286. base: 135
  287. extended: 360
  288.  
  289. poison:
  290. drinkable:
  291. base: 45
  292. II: 22
  293. extended: 120
  294. splash:
  295. base: 33
  296. II: 16
  297. extended: 90
  298.  
  299. night_vision:
  300. drinkable:
  301. base: 180
  302. extended: 480
  303. splash:
  304. base: 180
  305. extended: 480
  306.  
  307. weakness:
  308. drinkable:
  309. base: 90
  310. extended: 240
  311. splash:
  312. base: 90
  313. extended: 240
  314.  
  315. strength:
  316. drinkable:
  317. base: 180
  318. II: 90
  319. extended: 480
  320. splash:
  321. base: 135
  322. II: 67
  323. extended: 360
  324.  
  325. slowness:
  326. drinkable:
  327. base: 90
  328. extended: 240
  329. splash:
  330. base: 67
  331. extended: 180
  332.  
  333. jump: # Leaping
  334. drinkable:
  335. base: 180
  336. II: 90
  337. extended: 480
  338. splash:
  339. base: 135
  340. II: 67
  341. extended: 360
  342.  
  343. water_breathing:
  344. drinkable:
  345. base: 180
  346. extended: 480
  347. splash:
  348. base: 135
  349. extended: 360
  350.  
  351. invisibility:
  352. drinkable:
  353. base: 180
  354. extended: 480
  355. splash:
  356. base: 135
  357. extended: 360
  358.  
  359. # 1.9+ potions
  360. # Turtle Master potion currently incompatible, will just work like default
  361. luck:
  362. drinkable:
  363. base: 300
  364. splash:
  365. base: 300
  366.  
  367. slow_falling:
  368. drinkable:
  369. base: 90
  370. splash:
  371. base: 90
  372.  
  373. # EFFECTS
  374. # If 'multiplier' is true value is multiplied by base tool damage. If false it is added.
  375. # If both true it is first increased by 1 then multiplied (same as +xx%)
  376. # Strength potion
  377. # 1.9: I = +3; II = +6; 1.8: I = +130%; II = +260%
  378. strength:
  379. modifier: 1.3
  380. multiplier: true
  381. addend: true
  382. # Weakness potion
  383. # 1.9 value: -4 1.8 value: -0.5
  384. weakness:
  385. modifier: -0.5
  386. multiplier: false
  387.  
  388. ################################
  389. #### SUPPORT SETTINGS BELOW ####
  390. ################################
  391. support:
  392. spartan-cancel-ticks: 1
  393.  
  394. ################################
  395. #### SPECIAL SETTINGS BELOW ####
  396. ################################
  397.  
  398. # This enables debug messages, only enable when troubleshooting
  399. debug:
  400. enabled: false
  401.  
  402. # DO NOT CHANGE THIS NUMBER AS IT WILL RESET YOUR CONFIG
  403. config-version: 35
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement