Filipw05

Untitled

Apr 10th, 2019
506
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.86 KB | None | 0 0
  1. command /premiumcase [<player>]:
  2. permission: premium.case
  3. permission message: &cBrak permisji
  4. trigger:
  5. if player has permission "premium.case":
  6. if arg 1 is set:
  7. send "&aPremiumCase dodany do ekwipunku gracza %arg 1%" to player
  8. send "&8&7Otrzymales &9&lPremiumCase" to arg 1
  9. give 1 chest named "&9&lPremiumCase" with lore "&4&l» &cSet 4/3 &8(&730%%&||&4&l» &cKilof 7/3/3, Miecz 7/2, Luk 5/1/1 &8(&720%%&||&4&l» &cEmeraldy, Zloto, Diamenty &8(&720%%&||&4&l» &cKoxy, Perly, TnT &8(&720%%&||&4&l» &9&lB&e&lE&2&lA&c&lC&6&lO&e&lN &8(&71%%&" to arg 1
  10. if arg 1 is not set:
  11. send "&cPoprawne uzycie: /premiumcase <gracz>" to player
  12. command /premiumadm:
  13. permission: premium.adm
  14. permission message: &cBrak permisji
  15. trigger:
  16. give 64 chest named "&9&lPremiumCase" with lore "&4&l» &cSet 4/3 &8(&730%%&8)||&4&l» &cKilof 7/3/3, Miecz 7/2, Luk 5/1/1 &8(&720%%&8)||&4&l» &cEmeraldy, Zloto, Diamenty &8(&720%%&8)||&4&l» &cKoxy, Perly, TnT &8(&720%%&8)||&4&l» &9&lB&e&lE&2&lA&c&lC&6&lO&e&lN &8(&71%%&8)" to player
  17. command /premiumall:
  18. permission: premium.all
  19. permission message: &cBrak permisji
  20. trigger:
  21. broadcast ""
  22. broadcast ""
  23. broadcast "&4&l» &f&lCALY SERWER OTRZYMAL: &9&lPremiumCase &4&lx3"
  24. broadcast ""
  25. broadcast ""
  26. give 3 chest named "&9&lPremiumCase" with lore "&4&l» &cSet 4/3 &8(&730%%&8)||&4&l» &cKilof 7/3/3, Miecz 7/2, Luk 5/1/1 &8(&720%%&8)||&4&l» &cEmeraldy, Zloto, Diamenty &8(&720%%&8)||&4&l» &cKoxy, Perly, TnT &8(&720%%&8)||&4&l» &9&lB&e&lE&2&lA&c&lC&6&lO&e&lN &8(&71%%&8)" to all players
  27. on rightclick:
  28. if player's tool is chest named "&9&lPremiumCase" with lore "&4&l» &cSet 4/3 &8(&730%%&8)||&4&l» &cKilof 7/3/3, Miecz 7/2, Luk 5/1/1 &8(&720%%&8)||&4&l» &cEmeraldy, Zloto, Diamenty &8(&720%%&8)||&4&l» &cKoxy, Perly, TnT &8(&720%%&8)||&4&l» &9&lB&e&lE&2&lA&c&lC&6&lO&e&lN &8(&71%%&8)":
  29. cancel event
  30. remove chest from player
  31. broadcast "&4&l» &c%player% &7otworzyl &9&lPremiumCase &7i otrzymal&8:"
  32. chance of 50%:
  33. drop 1 311 of protection 4 and unbreaking 3
  34. broadcast "&f&l» &c&oKlate 4/3"
  35. chance of 50%:
  36. drop 1 310 of protection 4 and unbreaking 3
  37. broadcast "&f&l» &c&oHelm 4/3"
  38. chance of 50%:
  39. drop 1 312 of protection 4 and unbreaking 3
  40. broadcast "&f&l» &c&oSpodnie 4/3"
  41. chance of 50%:
  42. drop 1 313 of protection 4 and unbreaking 3
  43. broadcast "&f&l» &c&oButy 4/3"
  44. chance of 50%:
  45. drop 1 276 of sharpness 7 and fire aspect 2
  46. broadcast "&f&l» &c&oMiecz 7/2"
  47. chance of 50%:
  48. drop 1 261 of power 5 and flame 1 and infinity 1
  49. broadcast "&f&l» &c&oLuk 5/1/1"
  50. chance of 50%:
  51. drop 1 278 of efficiency 7 and unbreaking 3 and fortune 3
  52. broadcast "&f&l» &c&oKilof 7/3/3"
  53. chance of 50%:
  54. drop 32 emerald
  55. broadcast "&f&l» &c&o32&8x &cEmerald"
  56. chance of 50%:
  57. drop 64 emerald
  58. broadcast "&f&l» &c&o64&8x &cEmerald"
  59. chance of 50%:
  60. drop 64 diamond
  61. broadcast "&f&l» &c&o64&8x &cDiamenty"
  62. chance of 50%:
  63. drop 64 gold ingot
  64. broadcast "&f&l» &c&o64&8x &cZloto"
  65. chance of 50%:
  66. drop 5 enchanted golden apple
  67. broadcast "&f&l» &c&o5&8x &cZlote Jablko"
  68. chance of 50%:
  69. drop 7 enchanted golden apple
  70. broadcast "&f&l» &c&o7&8x &cZlote Jablko"
  71. chance of 5%:
  72. drop 1 beacon
  73. broadcast "&f&l» &c&o&71&8x &9&lB&e&lE&2&lA&c&lC&6&lO&e&lN"
  74. chance of 20%:
  75. drop 64 tnt
  76. broadcast "&f&l» &c&o64&8x &cTnT"
Add Comment
Please, Sign In to add comment