Advertisement
Kraftowany

Untitled

Oct 13th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.84 KB | None | 0 0
  1. command /sklep:
  2. trigger:
  3. open chest with 1 rows named "&8» &7Menu Sklep" to player
  4. wait 1 ticks
  5. format slot 3 of player with 1 of 351:2 named "&aKupowanie Przedmiotow" to run [make player execute "isklep5"]
  6. format slot 5 of player with 1 of 351:1 named "&cSprzedawanie Przedmiotow" to run [make player execute "isklep6"]
  7. command /isklep5:
  8. trigger:
  9. open chest with 3 rows named "&8» &7Kupowanie Przedmiotow" to player
  10. wait 1 ticks
  11. format slot 0 of player with 1 of 276 named "&8» &aSet 4/3" with lore "&8» &7Koszt&8: &61000 $" to run [make player execute "isklep kupeq"]
  12. format slot 1 of player with 1 of 278 named "&8» &aKilof 5/3/3" with lore "&8» &7Koszt&8: &6300 $" to run [make player execute "isklep kupkilof"]
  13. format slot 2 of player with 1 of 322:1 named "&8» &aKox" with lore "&8» &7Koszt&8: &6170 $" to run [make player execute "isklep kupokox"]
  14. format slot 3 of player with 1 of golden apple named "&8» &aRefil" with lore "&8» &7Koszt&8: &690 $" to run [make player execute "isklep kuporef"]
  15. format slot barrier of player with 1 stone66 named "&cWroc do menu sklepu." with lore "&8» &7Kliknij by wrocic do menu sklepu." to run [make player execute "sklep"]
  16.  
  17. command /isklep [<text>]:
  18. trigger:
  19. if arg-1 is "kupokox":
  20. if player's balance is less than 170:
  21. send "&cBLAD: &4nie posiadasz wystarczajaco pieniedzy !!" to player
  22. stop
  23. else:
  24. give 1 322:1 to player
  25. remove 170 from player's balance
  26. send "&8» &7Pomyslnie zakupiono 1 kox" to player
  27. stop
  28. if arg-1 is "kupeq":
  29. if player's balance is less than 1000:
  30. send "&cBLAD: &4nie posiadasz wystarczajaco pieniedzy !!" to player
  31. stop
  32. else:
  33. give 1 diamond helmet of protection 4 and unbreaking 3 to player
  34. give 1 diamond chestplate of protection 4 and unbreaking 3 to player
  35. give 1 diamond leggings of protection 4 and unbreaking 3 to player
  36. give 1 diamond boots of protection 4 and unbreaking 3 to player
  37. remove 1000 from player's balance
  38. send "&8» &7Pomyslnie zakupiono Set 4/3" to player
  39. stop
  40. if arg-1 is "kupkilof":
  41. if player's balance is less than 300:
  42. send "&cBLAD: &4nie posiadasz wystarczajaco pieniedzy !!" to player
  43. stop
  44. else:
  45. give 1 diamond pickaxe of efficiency 5 and unbreaking 3 and fortune 3 to player
  46. remove 300 from player's balance
  47. send "&8» &7Pomyslnie zakupiono Kilof 5/3/3" to player
  48. stop
  49. if arg-1 is "kuporef":
  50. if player's balance is less than 90:
  51. send "&cBLAD: &4nie posiadasz wystarczajaco pieniedzy !!" to player
  52. stop
  53. else:
  54. give 1 322 to player
  55. remove 90 from player's balance
  56. send "&8» &7Pomyslnie zakupiono 1 refil" to player
  57. stop
  58.  
  59.  
  60.  
  61. command /isklep6:
  62. trigger:
  63. open chest with 3 rows named "&8» &7Sprzedawanie Przedmiotow" to player
  64. wait 1 ticks
  65. format slot 0 of player with 32 of coal named "&8» &cx32 Wegla" with lore "&8» &7Za sprzedasz otrzymasz&8:||&644 $" to run [make player execute "isklep2 sellwegiel64"]
  66. format slot 1 of player with 32 of redstone named "&8» &c32 Redstone" with lore "&8» &7Za sprzedasz otrzymasz&8:||&638 $" to run [make player execute "isklep2 sellredstone64"]
  67. format slot 2 of player with 16 of diamond named "&8» &c16 Diamentow" with lore "&8» &7Za sprzedasz otrzymasz&8:||&6133 $" to run [make player execute "isklep2 selldiamenty64"]
  68. format slot 3 of player with 32 of gold ingot named "&8» &c32 Zlota" with lore "&8» &7Za sprzedasz otrzymasz&8:||&6119 $" to run [make player execute "isklep2 sellzloto64"]
  69. format slot 4 of player with 32 of iron ingot named "&8» &c32 Zelaza" with lore "&8» &7Za sprzedasz otrzymasz&8:||&693 $" to run [make player execute "isklep2 sellzelazo64"]
  70. format slot 5 of player with 8 of emerald named "&8» &c8 Emeraldow" with lore "&8» &7Za sprzedasz otrzymasz&8:||&6235 $" to run [make player execute "isklep2 sellemerald64"]
  71. format slot 6 of player with 64 stone named "&8» &c64 Stone" with lore "&8» &7Za sprzedasz otrzymasz&8:||&633 $" to run [make player execute "isklep2 sellstone64"]
  72. format slot 7 of player with 64 of cobblestone named "&8» &c64 Cobblestone" with lore "&8» &7Za sprzedasz otrzymasz&8:||&619 $" to run [make player execute "isklep2 sellcobblestone64"]
  73. format slot 26 of player with 1 of barrier named "&cWroc do menu sklepu." with lore "&8» &7Kliknij by wrocic do menu sklepu." to run [make player execute "sklep"]
  74.  
  75. command /isklep2 [<text>]:
  76. trigger:
  77. if arg 1 is "sellzloto64":
  78. if player don't have 32 gold ingot:
  79. send "&8» &7Nie Posiadasz 32 zlota!"
  80. stop
  81. else:
  82. remove 32 gold ingot from player
  83. add 119 to player's balance
  84. send "&8» &7Pomyslnie sprzedano&8: &632&8x &7zlota"
  85. stop
  86. if arg 1 is "sellzelazo64":
  87. if player don't have 32 iron ingot:
  88. send "&8» &7Nie Posiadasz 32 zelaza!"
  89. stop
  90. else:
  91. remove 32 iron ingot from player
  92. add 93 to player's balance
  93. send "&8» &7Pomyslnie sprzedano&8: &632&8x &7zelaza"
  94. stop
  95. if arg 1 is "sellwegiel64":
  96. if player don't have 32 coal:
  97. send "&8» &7Nie Posiadasz 32 wegla!"
  98. stop
  99. else:
  100. remove 32 coal from player
  101. add 44 to player's balance
  102. send "&8» &7Pomyslnie sprzedano&8: &632&8x &7wegla"
  103. stop
  104. if arg 1 is "sellredstone64":
  105. if player don't have 32 redstone:
  106. send "&8» &7Nie Posiadasz 32 redstone!"
  107. stop
  108. else:
  109. remove 32 redstone from player
  110. add 38 to player's balance
  111. send "&8» &7Pomyslnie sprzedano&8: &632&8x &7redstone"
  112. stop
  113. if arg 1 is "selldiamenty64":
  114. if player don't have 16 diamond:
  115. send "&8» &7Nie Posiadasz 16 diamentow!"
  116. stop
  117. else:
  118. remove 16 diamond from player
  119. add 133 to player's balance
  120. send "&8» &7Pomyslnie sprzedano&8: &616&8x &7diamentow"
  121. stop
  122. if arg 1 is "sellcobblestone64":
  123. if player don't have 64 cobblestone:
  124. send "&8» &7Nie Posiadasz 64 cobblestone!"
  125. stop
  126. else:
  127. remove 64 cobblestone from player
  128. add 19 to player's balance
  129. send "&8» &7Pomyslnie sprzedano&8: &664&8x &7cobblestone"
  130. stop
  131. if arg 1 is "sellstone64":
  132. if player don't have 64 stone:
  133. send "&8» &7Nie Posiadasz 64 stone!"
  134. stop
  135. else:
  136. remove 64 stone from player
  137. add 33 to player's balance
  138. send "&8» &7Pomyslnie sprzedano&8: &664&8x &7stone"
  139. stop
  140. if arg 1 is "isklep2 sellemerald64":
  141. if player don't have 8 emerald:
  142. send "&8» &7Nie Posiadasz 8 emeraldow!"
  143. stop
  144. else:
  145. remove 8 emerald from player
  146. add 235 to player's balance
  147. send "&8» &7Pomyslnie sprzedano&8: &68&8x &7emeraldow"
  148. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement