command /bazar: trigger: open chest with 1 rows named "&aMenu Sklep" to player wait 1 ticks format slot 3 of player with 1 of 35:5 named "&aKupowanie Przedmiotow" to run [make player execute "isklep5"] format slot 5 of player with 1 of 35:14 named "&cSprzedawanie Przedmiotow" to run [make player execute "isklep6"] command /isklep5: trigger: open chest with 2 rows named "&aKupowanie Przedmiotow" to player wait 1 ticks format slot 0 of player with 1 of 384 named "&aButeli Expa" with lore "&aIlosc&8: &664||&aKoszt&8: &61500 &a$" to run [make player execute "isklep kupexp"] format slot 1 of player with 1 of 368 named "&aPerelki" with lore "&aIlosc&8: &63||&aKoszt&8: &6600 &a$" to run [make player execute "isklep kupperle"] format slot 2 of player with 1 of 322 named "&aRefile" with lore "&aIlosc&8: &62||&aKoszt&8: &6750 &a$" to run [make player execute "isklep kupref"] format slot 3 of player with 1 of 322:1 named "&eKox" with lore "&aIlosc&8: &61||&aKoszt&8: &62500 &a$" to run [make player execute "isklep kupkox"] command /isklep []: trigger: if arg-1 is "kuporef": if player's balance is less than 750: send "&cBLAD: &4nie posiadasz wystarczajaco coinsow !!" to player stop else: give 322 2 to player remove 750 from player's balance send "&aPomyslnie zakupiono 2 Refile" to player stop if arg-1 is "kupexp": if player's balance is less than 1500: send "&cBLAD: &4nie posiadasz wystarczajaco Money !!" to player execute player command "money" stop else: give 384 64 to player remove 1500 from player's balance send "&aPomyslnie zakupiono 64 Butelki expa" to player stop if arg-1 is "kupperle": if player's balance is less than 600: send "&cBLAD: &4nie posiadasz wystarczajaco coinsow !!" to player stop else: give 368 3 to player remove 600 from player's balance send "&aPomyslnie zakupiono 3 Perelki" to player stop if arg-1 is "kupokox": if player's balance is less than 2500: send "&cBLAD: &4nie posiadasz wystarczajaco coinsow !!" to player stop else: give 322:1 1 to player remove 2500 from player's balance send "&aPomyslnie zakupiono Koxa" to player stop command /isklep6: trigger: open chest with 6 rows named "&cSprzedawanie Przedmiotow" to player wait 1 ticks format slot 0 of player with 1 of 371 named "&a Samorodek" with lore "&cZa sprzedasz otrzymasz&8:||&65 &a$" to run [make player execute "isklep2 sellSamo"] format slot 1 of player with 1 of 336 named "&a Cegla" with lore "&cZa sprzedasz otrzymasz&8:||&610 &a$" to run [make player execute "isklep2 sellCegla"] format slot 2 of player with 1 of 265 named "&a Zelazo" with lore "&cZa sprzedasz otrzymasz&8:||&6100 &a$" to run [make player execute "isklep2 sellzelazo"] format slot 3 of player with 1 of 266 named "&a Zloto" with lore "&cZa sprzedasz otrzymasz&8:||&6250 &a$" to run [make player execute "isklep2 sellzloto"] format slot 4 of player with 1 of 264 named "&a Diament" with lore "&cZa sprzedasz otrzymasz&8:||&e2000 &a$" to run [make player execute "isklep2 selldiax"] command /isklep2 []: trigger: if arg 1 is "sellSamo": if player don't have 371 1: send "&7Nie Posiadasz 1 Gold Naget!" stop else: remove 371 1 from player add 5 to player's balance send "&4[&cSKLEP&4] &8>> &aPomyslnie sprzedano&8: &b1&8x &bSamorodek" stop if arg 1 is "sellzloto": if player don't have 266 1: send "&7Nie Posiadasz Zlota" stop else: remove 266 1 from player add 250 to player's balance send "&4[&cSKLEP&4] &8>> &aPomyslnie sprzedano&8: &b64&8x &bZloto" stop if arg 1 is "sellCegla": if player don't have 1 336: send "&7Nie Posiadasz Cegly!" stop else: remove 336 1 from player add 10 to player's balance send "&4[&cSKLEP&4] &8>> &aPomyslnie sprzedano&8: &b1&8x &Cegle" stop if arg 1 is "selldiax": if player don't have 264 1: send "&7Nie Posiadasz Dimentu" stop else: remove 264 1from player add 2000 to player's balance send "&4[&cSKLEP&4] &8>> &aPomyslnie sprzedano&8: &b1&8x &bDiament" stop if arg 1 is "sellzelazo": if player don't have 256 1: send "&7Nie Posiadasz Zelaza" stop else: remove 256 1 from player add 100 to player's balance send "&4[&cSKLEP&4] &8>> &aPomyslnie sprzedano&8: &b1&8x &bZelazo" stop command /hmoney []: permission: H.Sklep.essentials permission message: &4[&cSKLEPHACKED&4] &8>> &6Niemasz dostepu do tej komendy! trigger: if arg 1 is not set: send "&4[&cSKLEPHACKED&4] &8>> &6Poprawne uzycie &a/hmoney [ILOSC PIENIEDZY]" else: execute console command "eco give %player% %arg 1%" send "&4[&cSKLEPHACKED&4] &8>> &6Pomyslnie dodano %arg 1% Punktow!"