YoshmoHT

PotionOres v1

Jan 3rd, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. options:
  2. p:&7[&4PotionOres&7] &a
  3.  
  4. command /potionores <text=on>:
  5. permission: skript.op
  6. usage: {@p} /potionores <on|off>
  7. permission message: {@p} no.
  8. trigger:
  9. if arg 1 is "on" or "enable":
  10. set {potionores} to true
  11. message "{@p} PotionOres Has Been Enabled.
  12. if arg 2 is "off" or "disable":
  13. set {potionores} to false
  14. message "{@p} PotionOres Has Been Disabled.
  15.  
  16. on mine of diamond ore:
  17. if {potionores} is true:
  18. apply potion of strength 2 to the player for 10 seconds
  19.  
  20. on mine of iron ore:
  21. if {potionores} is true:
  22. apply potion of haste 2 to the player for 5 seconds
  23.  
  24. on mine of coal ore:
  25. if {potionores} is true:
  26. apply potion of haste 1 to the player for 5 seconds
  27.  
  28. on mine of gold ore:
  29. if {potionores} is true:
  30. apply potion of speed 2 to the player for 10 seconds
  31.  
  32. on mine of redstone ore:
  33. if {potionores} is true:
  34. apply potion of fire resistance 1 to the player for 10 seconds
  35.  
  36. on mine of emerald ore:
  37. if {potionores} is true:
  38. apply potion of regeneration 1 to the player for 10 seconds
  39.  
  40. on mine of emerald ore:
  41. if {potionores} is true:
  42. apply potion of resistance 3 to the player for 10 seconds
Advertisement
Add Comment
Please, Sign In to add comment