Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2014
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.05 KB | None | 0 0
  1. # Headshot players with arrows if shot from far enough away.
  2. # Copyright (C) 2013 Andrew Stevanus (Hoot215) <hoot893@gmail.com>
  3. #
  4. # Copying and distribution of this file, with or without modification,
  5. # are permitted in any medium without royalty provided the copyright
  6. # notice and this notice are preserved. This file is offered as-is,
  7. # without any warranty.
  8. #
  9. #
  10. # auto-update: Whether or not to automatically update the plugin
  11. # general:
  12. # reload-time: The cooldown time after firing a bow in ticks (1/20th of a second)
  13. # reload-message: The message to be sent to the player if they try to fire their
  14. # bow while still on cooldown
  15. # particle-trail: Whether or not to give arrows a trail of smoke and fire particles
  16. # distance:
  17. # enabled: Whether or not damage accumulation based on distance is enabled
  18. # considered-headshot: Whether or not damage accumulation is considered a headshot
  19. # when it's above 'headshot-damage'
  20. # min-distance: The minimum distance the arrow must travel before it starts
  21. # accumulating extra damage
  22. # extra-damage-per-block: How much extra damage is added to the arrow per block
  23. # after it travels 'min-distance'
  24. # headshot-damage: The minimum total damage (regular + extra) for a hit to be
  25. # classified as a headshot (if 'considered-headshot' is true)
  26. # hitboxes:
  27. # enabled: Whether or not damage multipliers based on hitboxes are enabled
  28. # [body part]:
  29. # above/below: The relative Y distance away from the player's feet the arrow
  30. # has to hit above/below to count as a hit for this body part.
  31. # Raise or lower this, respectively, to have a smaller target
  32. # multiplier: The damage multiplier for this body part
  33. # effects: A list of effects to be applied when this body part is hit
  34. # Syntax: Probability:Type:Type_Options
  35. # Probability is a number from 1–100
  36. # Type is one of the following, listed alongside its options:
  37. # PotionEffect:
  38. # Options: Name:Duration(in ticks, 1/20th of a second):Amplifier
  39. # (Potion names: SPEED, SLOW, FAST_DIGGING, SLOW_DIGGING,
  40. # INCREASE_DAMAGE, HEAL, HARM, JUMP, CONFUSION, REGENERATION,
  41. # DAMAGE_RESISTANCE, FIRE_RESISTANCE, WATER_BREATHING, INVISIBILITY,
  42. # BLINDNESS, NIGHT_VISION, HUNGER, WEAKNESS, POISON, WITHER,
  43. # HEALTH_BOOST, ABSORPTION, SATURATION)
  44. # Example:
  45. # effects: ['50:PotionEffect:HEAL:30:1']
  46. # A healing potion effect with a 50% change to affect the player,
  47. # lasting 1.5 seconds with an amplifier of 1
  48. # armour-damage-divisor:
  49. # [item]: What to divide the total damage by for this item if hit in the hitbox which
  50. # this item is worn in
  51. # strings: Messages sent to the player
  52. # headshot-shooter: The message to be sent to the shooter if they headshot a player
  53. # ('%s' is replaced by the target player's name)
  54. # headshot-player: The message to be sent to the player if they are headshotted
  55. # ('%s' is replaced by the shooter's name)
  56. # headshot-death-message: The replacement for the default death message when a
  57. # player headshots another
  58. # (The first '%s' is replaced by the target player's name,
  59. # the second '%s' is replaced by the shooter's name, and
  60. # the third '%s' is replaced by the distance the
  61. # arrow travelled)
  62.  
  63. auto-update: true
  64. general:
  65. reload-time: 20
  66. reload-message: '&cYou need time to draw your bow'
  67. particle-trail: false
  68. distance:
  69. enabled: false
  70. considered-headshot: false
  71. min-distance: 0.0
  72. extra-damage-per-block: 1.0
  73. headshot-damage: 50.0
  74. hitboxes:
  75. enabled: true
  76. head:
  77. above: 1.5
  78. multiplier: 1.5
  79. effects:
  80. - 100:PotionEffect:BLINDNESS:10:3
  81. - 100:PotionEffect:CONFUSION:10:3
  82. torso:
  83. multiplier: 1.0
  84. effects:
  85. - 100:PotionEffect:WEAKNESS:40:3
  86. - 100:PotionEffect:WITHER:30:3
  87. legs:
  88. below: 0.8
  89. multiplier: 0.7
  90. effects:
  91. - 100:PotionEffect:SLOW:10:3
  92. feet:
  93. below: 0.4
  94. multiplier: 0.5
  95. effects:
  96. - 100:PotionEffect:SLOW:10:3
  97. armour-damage-divisor:
  98. LEATHER_HELMET: 1.5
  99. LEATHER_CHESPLATE: 1.5
  100. LEATHER_LEGGINGS: 1.5
  101. LEATHER_BOOTS: 1.5
  102. GOLD_HELMET: 1.15
  103. GOLD_CHESPLATE: 1.15
  104. GOLD_LEGGINGS: 1.15
  105. GOLD_BOOTS: 1.15
  106. CHAINMAIL_HELMET: 1.5
  107. CHAINMAIL_CHESPLATE: 2.0
  108. CHAINMAIL_LEGGINGS: 2.0
  109. CHAINMAIL_BOOTS: 2.0
  110. IRON_HELMET: 2.5
  111. IRON_CHESPLATE: 2.5
  112. IRON_LEGGINGS: 2.5
  113. IRON_BOOTS: 2.5
  114. DIAMOND_HELMET: 3.0
  115. DIAMOND_CHESPLATE: 3.0
  116. DIAMOND_LEGGINGS: 3.0
  117. DIAMOND_BOOTS: 3.0
  118. strings:
  119. headshot-shooter: '&eYou headshotted %s!'
  120. headshot-player: '&cYou were headshotted by %s!'
  121. headshot-death-message: '&b%s was headshotted by %s from %sm away!'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement