Advertisement
Guest User

Untitled

a guest
Feb 18th, 2018
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 KB | None | 0 0
  1. options:
  2. tag: &6PremiumCase
  3. on place:
  4. if player's tool is chest:
  5. if name of player's tool is "&8[&6*&8] &7Premium&9&lCase &8[&6*&8]":
  6. cancel event
  7.  
  8. on right click:
  9. if player's tool is chest:
  10. if name of player's tool is "&8[&6*&8] &7PremiumCase &8[&6*&8]":
  11. broadcast "&8[&6*&8]----------------&8[&6*&8]"
  12. broadcast "&6%player% &7Otworzyl Premium Case &7i wydropil:"
  13. chance of 70%:
  14. drop 64 diamond
  15. broadcast "&7- &664x Diaxy"
  16. chance of 40%:
  17. drop 1 311 of protection 10 and unbreaking 10 named "&3Klata"
  18. broadcast "&7- &61x Klata 10/10"
  19. chance of 50%:
  20. drop 64 emerald
  21. broadcast "&7- &664x Emeraldy"
  22. chance of 50%:
  23. drop 1 310 of protection 7 and unbreaking 7 named "&3Bania"
  24. broadcast "&7- &61x Helm 7/7"
  25. chance of 80%:
  26. drop 64 gold ingot
  27. broadcast "&7- &664x Zelazo"
  28. chance of 40%:
  29. drop 1 312 of protection 7 and unbreaking 7 named "&3Spodnie
  30. broadcast "&7- &61x Spodnie 7/7"
  31. chance of 90%:
  32. drop 64 gold ingot
  33. broadcast "&7- &664x Zloto"
  34. chance of 40%:
  35. drop 1 276 of sharpness 6 and fire aspect 2 named "&5Obieracz "
  36. broadcast "&7- &61x Miecz 6/2"
  37. chance of 90%:
  38. drop 64 TNT
  39. broadcast "&7- &664x TNT"
  40. chance of 40%:
  41. drop 1 278 of efficiency 7 and unbreaking 5 and fortune 5 named "&4Kilov Szybkosci"
  42. broadcast "&7- &61x Kilof 7/5/5"
  43. broadcast "&8| &7PremiumCase zakupisz na: &6TWOJEIP.PL"
  44. broadcast "&8| &7Za &6PSC &7i &6PRZELEW &7kupisz na: &6WWW.TWOJEIP.PL"
  45. broadcast "&8[&6*&8]----------------&8[&6*&8]"
  46. remove 1 chest named "&8[&6*&8] &7PremiumCase &8[&6*&8]" from player's inventory
  47.  
  48. command /pcase [<player>] [<text>]:
  49. permission: xNeleqx.premiumcase
  50. trigger:
  51. if arg 1 is not set:
  52. if arg 2 is not set:
  53. send "{@tag} &7/pcase [Nick] [Ilosc]"
  54. if arg 1 is set:
  55. if arg 2 is set:
  56. execute console command "give %arg 1% chest %arg 2% name:&8[&6*&8]_&7PremiumCase_&8[&6*&8]"
  57. send "{@tag} &7Otrzymales Premium Case &x%arg 2% !" to player-arg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement