Advertisement
iSach

Throwing Weapons example.

Jul 12th, 2016
370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.33 KB | None | 0 0
  1. # ----------------------------- #
  2. # #
  3. # Example Weapon. #
  4. # #
  5. # Just Copy Paste this file to #
  6. # make other weapons #
  7. # #
  8. # ----------------------------- #
  9.  
  10. # Item Settings.
  11. item:
  12. # Item ID.
  13. id: 267
  14.  
  15. # Item Data.
  16. data: 0
  17.  
  18. # Item display name.
  19. display-name: '&7&lThrowing Knife'
  20.  
  21. # Item Lore. Use of & for colors.
  22. lore:
  23. - ' '
  24. - '&7Drop to throw!'
  25.  
  26. # Damage entities get when getting hit by that.
  27. damage: 6
  28.  
  29. # Cooldown, in ticks. (1 second = 20 ticks, 1 tick = 0.05s)
  30. cooldown: 40
  31.  
  32. # Speed of the weapon.
  33. speed: 2.35
  34.  
  35. # Permission to throw the weapon.
  36. permission: throwingweapons.knife
  37.  
  38. # Trail Settings.
  39. trail:
  40. # Trail enabled or not?
  41. enabled: true
  42.  
  43. # Trail Particle.
  44. # List: http://pastebin.com/CVKkufck
  45. particle: CRIT
  46.  
  47. # Actions executed when Throwing Weapon hits an entity.
  48. on-hit:
  49. # Potion Effects to give.
  50. # Format:
  51. # NAME, duration(in ticks), strength
  52. # List for NAME: http://bit.ly/28MDLG2
  53. potion-effects:
  54. - 'POISON, 60, 1'
  55. - 'BLINDNESS, 60, 1'
  56.  
  57. # Commands to execute when the weapon hits an entity.
  58. # Commands executed as console!
  59. #
  60. # %thrower% -> The name of the player who threw the weapon.
  61. # %hit% -> Player: his/her name.
  62. # Entity without name: Type of entity. (e.g. "Pig", "Villager").
  63. # Entity w/ custom name: Its custom name.
  64. # %item% -> The name of this weapon. (of the item).
  65. #
  66. commands:
  67. - 'say %thrower% hit %hit% with %item%!'
  68.  
  69. # Crafting Settings.
  70. crafting:
  71. # Should the item be craftable?
  72. enabled: true
  73.  
  74. # Shaped Craft?
  75. # If yes, you can dispose how you want the items in the grid. Like a torch.
  76. # If not, you have the follow the exact crafting.
  77. shaped-craft: true
  78.  
  79. # Ingredients.
  80. # Pattern:
  81. # a,b,c,d,e,f,g,h,i
  82. #
  83. # It corresponds to that in Minecraft:
  84. # a b c
  85. # d e f
  86. # g h i
  87. #
  88. # Use Items IDs.
  89. ingredients: '265,280,265,0,262,0,0,0,0'
  90.  
  91. #
  92. # Amount of throwing weapons created when crafting.
  93. #
  94. amount: 5
  95.  
  96. # Should the item rotate?
  97. rotation-animation: true
  98.  
  99. # Does the weapon drops when it hits the ground?
  100. drops-when-hits-ground: true
  101.  
  102. # Does the weapon drops when it hits an entity?
  103. drops-when-hits-entity: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement