Advertisement
Guest User

skrypt

a guest
Feb 1st, 2015
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.41 KB | None | 0 0
  1. command /sklep [<text>]:
  2. trigger:
  3. give nether star named "&6Sklep" to player
  4. stop
  5.  
  6. command /menu [<text>]:
  7. trigger:
  8. open chest with 1 rows named "&0Sklep" to player
  9. wait 2 tick
  10. format slot 3 of player with 1 of nether quartz item named "&oPrzedmioty jednorazowe" to run "menujednorazowe %player%"
  11. format slot 5 of player with 1 of magma cream named "&oPrzedmioty stale" to run "menustale %player%"
  12.  
  13. command /menujednorazowe [<player>]:
  14. trigger:
  15. open chest with 6 rows named "&0Przedmioty jednorazowe" to arg-player
  16. wait 2 tick
  17. format slot 0 of player with 1 of enchanted golden apple named "&eGolden Apple" with lore "||&7Gracz &aCena: &6120 &7monet||&6VIP &aCena: &680 &7monet||&3SuperVIP &aCena: &660 &7monet||||&cPrzedmiot staly||&c1 szt." to be unstealable
  18.  
  19. command /menujednorazowekox:
  20. trigger:
  21. if player has permission "walls.gracz":
  22. if player's balance is greater than or equal to 120:
  23. give 1 enchanted golden apple to player
  24. send "&7Kupiles GOLDEN_APPLE!"
  25. stop
  26. if player's balance is smaller than 120:
  27. send "&7Nie posiadasz wystarczajacej ilosci monet!"
  28. stop
  29. if player has permission "walls.vip":
  30. if player's balance is greater than or equal to 80:
  31. give 1 enchanted golden apple to player
  32. send "&7Kupiles GOLDEN_APPLE!"
  33. stop
  34. if player's balance is smaller than 80:
  35. send "&7Nie posiadasz wystarczajacej ilosci monet!"
  36. stop
  37. if player has permission "walls.supervip":
  38. if player's balance is greater than or equal to 60:
  39. give 1 enchanted golden apple to player
  40. send "&7Kupiles GOLDEN_APPLE!"
  41. stop
  42. if player's balance is smaller than 60:
  43. send "&7Nie posiadasz wystarczajacej ilosci monet!"
  44. stop
  45.  
  46. command /menustale [<player>]:
  47. trigger:
  48. open chest with 6 rows named "&0Przedmioty stale" to arg-player
  49. wait 2 tick
  50. format slot 0 of player with 1 of enchanted golden apple named "&eGolden Apple" with lore "||&7Gracz &aCena: &63000 &7monet||&6VIP &aCena: &62400 &7monet||&3SuperVIP &aCena: &61800 &7monet||||&cPrzedmiot staly||&c1 szt." to be unstealable
  51.  
  52. command /menustalekox:
  53. trigger:
  54. if {kox-staly.%player%} is false:
  55. if player has permission "walls.gracz":
  56. if player's balance is greater than or equal to 3000:
  57. set {kox-staly.%player%} to true
  58. give 1 enchanted golden apple to player
  59. send "&7Kupiles GOLDEN_APPLE &7na stale!"
  60. stop
  61. if player's balance is smaller than 3000:
  62. send "&7Nie posiadasz wystarczajacej ilosci monet!"
  63. stop
  64. if player has permission "walls.vip":
  65. if player's balance is greater than or equal to 2400:
  66. set {kox-staly.%player%} to true
  67. give 1 enchanted golden apple to player
  68. send "&7Kupiles GOLDEN_APPLE &7na stale!"
  69. stop
  70. if player's balance is smaller than 2400:
  71. send "&7Nie posiadasz wystarczajacej ilosci monet!"
  72. stop
  73. if player has permission "walls.supervip":
  74. if player's balance is greater than or equal to 1800:
  75. set {kox-staly.%player%} to true
  76. give 1 enchanted golden apple to player
  77. send "&7Kupiles GOLDEN_APPLE &7na stale!"
  78. stop
  79. if player's balance is smaller than 1800:
  80. send "&7Nie posiadasz wystarczajacej ilosci monet!"
  81. stop
  82. if {kox-staly.%player%} is true:
  83. send "&7Kupiles juz stalego koxa!"
  84. stop
  85.  
  86. on rightclick holding nether star:
  87. if name of player's tool is "&6Sklep":
  88. open chest with 1 rows named "&0Sklep" to player
  89. wait 2 tick
  90. format slot 3 of player with 1 of nether quartz item named "&oPrzedmioty jednorazowe" to run "menujednorazowe %player%"
  91. format slot 5 of player with 1 of magma cream named "&oPrzedmioty stale" to run "menustale %player%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement