variables: {coins.%player%} = 0 command /run [] []: permission: run.command.kupisu trigger: if arg 1 is set: if arg 2 is set: execute player command "%arg 2%" command /sklep: trigger: open chest with 1 rows named "&2Menu Sklepu" to player wait 1 ticks format slot 2 of player with 1 of 35:5 named "&2&lSklep" with lore "&8» &7Mozasz tutaj Zakupic wiele Przedmiotow" to run [make player execute "isklep5"] format slot 0 of player with 1 of 160:7 named "&7Puste Pole" to close format slot 1 of player with 1 of 160:7 named "&7Puste Pole" to close format slot 5 of player with 1 of 160:7 named "&7Puste Pole" to close format slot 4 of player with 1 of 160:7 named "&7Puste Pole" to close format slot 7 of player with 1 of 160:7 named "&7Puste Pole" to close format slot 3 of player with 1 of 160:7 named "&7Puste Pole" to close format slot 6 of player with 1 of 160:7 named "&7Puste Pole" to close format slot 8 of player with 1 of 160:7 named "&7Puste Pole" to close format slot 6 of player with 1 of 35:14 named "&2&lSkup" with lore "&8» &7Mozasz tutaj Sprzedac wiele Przedmiotow" to run [make player execute "isklep6"] format slot 4 of player with 1 of 371 named "&2&lPieniadze&8:" with lore "&8» &7%{coins.%player%}% PLN" to run [make player execute "sklep"] command /isklep5: trigger: open chest with 9 rows named "&2Kupowanie Przedmiotow" to player wait 1 ticks format slot 80 of player with 1 of 371 named "&2&lPieniadze&8:" with lore "&8» &7%{coins.%player%}% PLN" to run [make player execute "isklep5"] format slot 2 of player with 1 of diamond sword of sharpness 3 and unbreaking 2 and fire aspect 1 and named "&2Miecz 3/2/1" with lore "&8» &7Koszt Miecza: 250.00 PLN" to run [make player execute "isklep kupmiecz321"] format slot 1 of player with 1 of 397:3 named "&2VIP (30 dni)" with lore "&8» &7Koszt rangi VIP: 1600.00 PLN" to run [make player execute "isklep kuvip2"] format slot 0 of player with 1 of 397:3 named "&2VIP (10 dni)" with lore "&8» &7Koszt rangi VIP: 1000.00 PLN" to run [make player execute "isklep kupvip"] format slot 3 of player with 1 of diamond sword of sharpness 4 and unbreaking 2 and fire aspect 1 named "&2Miecz 4/2/1" with lore "&8» &7Koszt Miecza: 350.00 PLN" to run [make player execute "isklep kupmiecz421"] format slot 4 of player with 1 of diamond sword of sharpness 5 and unbreaking 3 and fire aspect 1 named "&2Miecz 5/3/1" with lore "&8» &7Koszt Miecza: 800.00 PLN" to run [make player execute "isklep kupmiecz531"] format slot 28 of player with 1 of enchanted book of unbreaking 3 named "&2Nieskonczonosc 3" with lore "&8» &7Koszt ksiazki: 300.00 PLN" to run [make player execute "isklep kupun3"] format slot 27 of player with 1 of enchanted book of sharpness 3 named "&2Ostrosc 3" with lore "&8» &7Koszt ksiazki: 320.00 PLN" to run [make player execute "isklep kupsh3"] format slot 21 of player with 1 of enchanted book of knockback 2 named "&2Odrzut 2" with lore "&8» &7Koszt ksiazki: 800.00 PLN" to run [make player execute "isklep kupkn1"] format slot 20 of player with 1 of enchanted book of fire aspect 2 named "&2Zaklety ogien 2" with lore "&8» &7Koszt ksiazki: 850.00 PLN" to run [make player execute "isklep kupfi2"] format slot 19 of player with 1 of enchanted book of unbreaking 2 named "&2Nieskonczonosc 2" with lore "&8» &7Koszt ksiazki: 120.00 PLN" to run [make player execute "isklep kupkn2"] format slot 18 of player with 1 of enchanted book of sharpness 2 named "&2Ostrosc 2" with lore "&8» &7Koszt ksiazki: 210.00 PLN" to run [make player execute "isklep kupsh2"] format slot 14 of player with 1 of enchanted golden apple named "&21 Kox" with lore "&8» &7Koszt koxa: 125.00 PLN" to run [make player execute "isklep kupkox"] format slot 13 of player with 1 of 322 named "&21 Refil" with lore "&8» &7Koszt refila: 75.00 PLN" to run [make player execute "isklep kupref"] format slot 12 of player with 1 of enchanted book of knockback 1 named "&2Odrzut 1" with lore "&8» &7Koszt ksiazki: 500.00 PLN" to run [make player execute "isklep kupkn1"] format slot 11 of player with 1 of enchanted book of fire aspect 1 named "&2Zaklety ogien 1" with lore "&8» &7Koszt ksiazki: 450.00 PLN" to run [make player execute "isklep kupfi1"] format slot 10 of player with 1 of enchanted book of unbreaking 1 named "&2Nieskonczonosc 1" with lore "&8» &7Koszt ksiazki: 90.00 PLN" to run [make player execute "isklep kupun1"] format slot 9 of player with 1 of enchanted book of sharpness 1 named "&2Ostrosc 1" with lore "&8» &7Koszt ksiazki: 100.00 PLN" to run [make player execute "isklep kupsh1"] format slot 8 of player with 1 of diamond chestplate named "&2Set 4/2" with lore "&8» &7Koszt Setu: 1650.00 PLN" to run [make player execute "isklep kupset42"] format slot 7 of player with 1 of diamond chestplate named "&2Set 3/2" with lore "&8» &7Koszt Setu: 1280.00 PLN" to run [make player execute "isklep kupset32"] format slot 6 of player with 1 of diamond chestplate named "&2Set 2/2" with lore "&8» &7Koszt Setu: 780.00 PLN" to run [make player execute "isklep kupset22"] format slot 5 of player with 1 of diamond sword of knockback 1 named "&2Miecz Knock 1" with lore "&8» &7Koszt Miecza: 250.00 PLN" to run [make player execute "isklep kupmiecz1"] format slot 79 of player with 1 of 35:14 named "&2Powrot do Menu" with lore "&8» &7Przenosi do glownego Menu" to run [make player execute "sklep"] command /isklep []: trigger: if arg-1 is "kupkox": if {coins.%player%} is less than 125.00: send "&cBLAD: &4Nie posiadasz wystarczajaco pieniedzy !" to player stop else: give enchanted golden apple to player remove 125.00 from {coins.%player%} send "&8» &7Zakupiles &6Koxa &7!" send "&8» &7Z konta odjeto &6125.00 &7PLN" stop if arg-1 is "kupref": if {coins.%player%} is less than 75.00: send "&cBLAD: &4Nie posiadasz wystarczajaco pieniedzy !" to player stop else: give 1 322 to player remove 75.00 from {coins.%player%} send "&8» &7Zakupiles &6Refila &7!" send "&8» &7Z konta odjeto &675.00 &7PLN" stop if arg-1 is "kupkn2": if {coins.%player%} is less than 800.00: send "&cBLAD: &4Nie posiadasz wystarczajaco pieniedzy !" to player stop else: give enchanted book of knockback 2 to player remove 800.00 from {coins.%player%} send "&8» &7Zakupiles &6Ksiazke &7!" send "&8» &7Z konta odjeto &6800.00 &7PLN" stop if arg-1 is "kupkn1": if {coins.%player%} is less than 500.00: send "&cBLAD: &4Nie posiadasz wystarczajaco pieniedzy !" to player stop else: give enchanted book of knockback 1 to player remove 500.00 from {coins.%player%} send "&8» &7Zakupiles &6Ksiazke &7!" send "&8» &7Z konta odjeto &6500.00 &7PLN" stop if arg-1 is "kupfi1": if {coins.%player%} is less than 850.00: send "&cBLAD: &4Nie posiadasz wystarczajaco pieniedzy !" to player stop else: give enchanted book of fire aspect 2 to player remove 850.00 from {coins.%player%} send "&8» &7Zakupiles &6Ksiazke &7!" send "&8» &7Z konta odjeto &685.00 &7PLN" stop if arg-1 is "kupfi1": if {coins.%player%} is less than 450.00: send "&cBLAD: &4Nie posiadasz wystarczajaco pieniedzy !" to player stop else: give enchanted book of fire aspect 1 to player remove 450.00 from {coins.%player%} send "&8» &7Zakupiles &6Ksiazke &7!" send "&8» &7Z konta odjeto &6450.00 &7PLN" stop if arg-1 is "kupun3": if {coins.%player%} is less than 300.00: send "&cBLAD: &4Nie posiadasz wystarczajaco pieniedzy !" to player stop else: give enchanted book of unbreaking 3 to player remove 300.00 from {coins.%player%} send "&8» &7Zakupiles &6Ksiazke &7!" send "&8» &7Z konta odjeto &6300.00 &7PLN" stop if arg-1 is "kupun2": if {coins.%player%} is less than 120.00: send "&cBLAD: &4Nie posiadasz wystarczajaco pieniedzy !" to player stop else: give enchanted book of unbreaking 2 to player remove 120.00 from {coins.%player%} send "&8» &7Zakupiles &6Ksiazke &7!" send "&8» &7Z konta odjeto &6120.00 &7PLN" stop if arg-1 is "kupun1": if {coins.%player%} is less than 90.00: send "&cBLAD: &4Nie posiadasz wystarczajaco pieniedzy !" to player stop else: give enchanted book of unbreaking 1 to player remove 90.00 from {coins.%player%} send "&8» &7Zakupiles &6Ksiazke &7!" send "&8» &7Z konta odjeto &690.00 &7PLN" stop if arg-1 is "kupsh3": if {coins.%player%} is less than 320.00: send "&cBLAD: &4Nie posiadasz wystarczajaco pieniedzy !" to player stop else: give enchanted book of sharpness 3 to player remove 320.00 from {coins.%player%} send "&8» &7Zakupiles &6Ksiazke &7!" send "&8» &7Z konta odjeto &6320.00 &7PLN" stop if arg-1 is "kupsh2": if {coins.%player%} is less than 210.00: send "&cBLAD: &4Nie posiadasz wystarczajaco pieniedzy !" to player stop else: give enchanted book of sharpness 2 to player remove 210.00 from {coins.%player%} send "&8» &7Zakupiles &6Ksiazke &7!" send "&8» &7Z konta odjeto &6210.00 &7PLN" stop if arg-1 is "kupsh1": if {coins.%player%} is less than 100.00: send "&cBLAD: &4Nie posiadasz wystarczajaco pieniedzy !" to player stop else: give enchanted book of sharpness 1 to player remove 100.00 from {coins.%player%} send "&8» &7Zakupiles &6Ksiazke &7!" send "&8» &7Z konta odjeto &6100.00 &7PLN" stop if arg-1 is "kupset42": if {coins.%player%} is less than 1650.00: send "&cBLAD: &4Nie posiadasz wystarczajaco pieniedzy !" to player stop else: give diamond helmet of unbreaking 2 and protection 4 to player give diamond chestplate of unbreaking 2 and protection 4 to player give diamond leggings of unbreaking 2 and protection 4 to player give diamond boots of unbreaking 2 and protection 4 to player remove 1650.00 from {coins.%player%} send "&8» &7Zakupiles &6Zbroje &7!" send "&8» &7Z konta odjeto &61650.00 &7PLN" stop if arg-1 is "kupset32": if {coins.%player%} is less than 1280.00: send "&cBLAD: &4Nie posiadasz wystarczajaco pieniedzy !" to player stop else: give diamond helmet of unbreaking 2 and protection 3 to player give diamond chestplate of unbreaking 2 and protection 3 to player give diamond leggings of unbreaking 2 and protection 3 to player give diamond boots of unbreaking 2 and protection 3 to player remove 1280.00 from {coins.%player%} send "&8» &7Zakupiles &6Zbroje &7!" send "&8» &7Z konta odjeto &61280.00 &7PLN" stop if arg-1 is "kupset22": if {coins.%player%} is less than 780.00: send "&cBLAD: &4Nie posiadasz wystarczajaco pieniedzy !" to player stop else: give diamond helmet of unbreaking 2 and protection 2 to player give diamond chestplate of unbreaking 2 and protection 2 to player give diamond leggings of unbreaking 2 and protection 2 to player give diamond boots of unbreaking 2 and protection 2 to player remove 780.00 from {coins.%player%} send "&8» &7Zakupiles &6Zbroje &7!" send "&8» &7Z konta odjeto &6780.00 &7PLN" stop if arg-1 is "kupmiecz1": if {coins.%player%} is less than 250.00: send "&cBLAD: &4Nie posiadasz wystarczajaco pieniedzy !" to player stop else: give diamond sword of knockback 1 to player remove 250.00 from {coins.%player%} send "&8» &7Zakupiles &6Miecz &7!" send "&8» &7Z konta odjeto &6250.00 &7PLN" stop if arg-1 is "kupmiecz531": if {coins.%player%} is less than 800.00: send "&cBLAD: &4Nie posiadasz wystarczajaco pieniedzy !" to player stop else: give diamond sword of sharpness 5 and unbreaking 3 and fire aspect 1 to player remove 800.00 from {coins.%player%} send "&8» &7Zakupiles &6Miecz &7!" send "&8» &7Z konta odjeto &6800.00 &7PLN" stop if arg-1 is "kupmiecz421": if {coins.%player%} is less than 350.00: send "&cBLAD: &4Nie posiadasz wystarczajaco pieniedzy !" to player stop else: give diamond sword of sharpness 4 and unbreaking 2 and fire aspect 1 to player remove 350.00 from {coins.%player%} send "&8» &7Zakupiles &6Miecz &7!" send "&8» &7Z konta odjeto &6350.00 &7PLN" stop if arg-1 is "kupvip": if {coins.%player%} is less than 1000.00: send "&cBLAD: &4Nie posiadasz wystarczajaco pieniedzy !" to player stop else: execute console command "setrank %player% vip 10d" remove 7.58 from {coins.%player%} send "&8» &7Zakupiles Range &6VIP &7! !" send "&8» &7Z konta odjeto &61000.00 &7PLN" stop if arg-1 is "kupmiecz321": if {coins.%player%} is less than 250.00: send "&cBLAD: &4Nie posiadasz wystarczajaco pieniedzy !" to player stop else: give diamond sword of sharpness 3 and fire aspect 1 and unbreaking 2 to player remove 250.00 from {coins.%player%} send "&8» &7Zakupiles &6Miecz &7!" send "&8» &7Z konta odjeto &6250.00 &7PLN" stop if arg-1 is "kupvip2": if {coins.%player%} is less than 1600.00: send "&cBLAD: &4Nie posiadasz wystarczajaco pieniedzy !" to player stop else: execute console command "setrank %player% vip 30d" remove 1600.00 from {coins.%player%} send "&8» &7Zakupiles zakupiles &6VIP &! !" send "&8» &7Z konta odjeto &61600.00 &7PLN" stop command /isklep6: trigger: open chest with 4 rows named "&2Sprzedawanie Przedmiotow" to player wait 1 ticks format slot 35 of player with 1 of 371 named "&2&lPieniadze&8:" with lore "&8» &7%{coins.%player%}% PLN" to run [make player execute "isklep6"] format slot 3 of player with 1 of diamond named "&8» &21 Diamen" with lore "&8» &7Za sprzedaz otrzymasz: 5.00 PLN" to run [make player execute "isklep2 selldiamenty1"] format slot 12 of player with 1 of diamond named "&8» &216 Diamentow" with lore "&8» &7Za sprzedaz otrzymasz: 70.00 PLN" to run [make player execute "isklep2 selldiamenty16"] format slot 4 of player with 1 of 266 named "&8» &21 Zloto" with lore "&8» &7Za sprzedaz otrzymasz: 3.00 PLN" to run [make player execute "isklep2 sellzloto1"] format slot 13 of player with 1 of 266 named "&8» &216 Zlota" with lore "&8» &7Za sprzedaz otrzymasz: 40.00 PLN" to run [make player execute "isklep2 sellzloto16"] format slot 5 of player with 1 of 265 named "&8» &21 Zelazo" with lore "&8» &7Za sprzedaz otrzymasz: 2.00 PLN" to run [make player execute "isklep2 sellzelazo1"] format slot 14 of player with 1 of 265 named "&8» &216 Zelaza" with lore "&8» &7Za sprzedaz otrzymasz: 30.00 PLN" to run [make player execute "isklep2 sellzelazo16"] format slot 34 of player with 1 of 35:14 named "&2Powrot do Menu" with lore "&8» &7Przenosi do glownego Menu" to run [make player execute "sklep"] command /isklep2 []: trigger: if arg 1 is "selldiamenty1": if player don't have 1 diamond: send "&cBLAD: &4Nie posiadasz 1 Diamenta !" stop else: remove 1 diamond from player add 5.00 to {coins.%player%} send "&8» &7Sprzedales &61 &7Diament !" send "&8» &7Do twojego Konta dodano &65.00 &7PLN !" stop if arg 1 is "selldiamenty16": if player don't have 1 diamond: send "&cBLAD: &4Nie posiadasz 16 Diamentow !" stop else: remove 16 diamond from player add 70.00 to {coins.%player%} send "&8» &7Sprzedales &616 &7Diamentow !" send "&8» &7Do twojego Konta dodano &670.00 &7PLN !" stop if arg 1 is "sellzloto1": if player don't have 1 266: send "&cBLAD: &4Nie posiadasz 1 Zlota !" stop else: remove 1 266 from player add 3.00 to {coins.%player%} send "&8» &7Sprzedales &61 &7Zloto !" send "&8» &7Do twojego Konta dodano &63.00 &7PLN !" stop if arg 1 is "sellzloto16": if player don't have 16 266: send "&cBLAD: &4Nie posiadasz 16 Zlota !" stop else: remove 16 266 from player add 40.00 to {coins.%player%} send "&8» &7Sprzedales &616 &7Zlota !" send "&8» &7Do twojego Konta dodano &640.00 &7PLN !" stop if arg 1 is "sellzelazo1": if player don't have 1 265: send "&cBLAD: &4Nie posiadasz 1 Zelaza !" stop else: remove 1 265 from player add 2.00 to {coins.%player%} send "&8» &7Sprzedales &61 &7Zelazo !" send "&8» &7Do twojego Konta dodano &2.00 &7PLN !" stop if arg 1 is "sellzelazo16": if player don't have 16 265: send "&cBLAD: &4Nie posiadasz 16 Zelaza !" stop else: remove 16 265 from player add 30.00 to {coins.%player%} send "&8» &7Sprzedales &616 &7Zelaza !" send "&8» &7Do twojego Konta dodano &230.00 &7PLN !" stop