open chest with 6 rows named "&a&lSKLEP" to player
wait 1 tick
format slot 0 of player with 1 of diamond named "&8» &bDiament" with lore "&6Cena&7: &2170 &6Ilosc&7: &232" to run [make player execute "sklepitem kupdiament"]
format slot 1 of player with 1 of emerald named "&8» &bEmerald" with lore "&6Cena&7: &2240 &6Ilosc&7: &232" to run [make player execute "/sklepitem kupemerald"]
format slot 2 of player with 1 of log named "&8» &bDrewno" with lore "&6Cena&7: &260 &6Ilosc&7: &232" to run [make player execute "/sklepitem kupdrewno"]
format slot 3 of player with 1 of glass named "&8» &bSzklo" with lore "&6Cena&7: &230 &6Ilosc&7: &232" to run [make player execute "/sklepitem kupszklo"]
format slot 4 of player with 1 of nether quartz named "&8» &bBlok Kwarcu" with lore "&6Cena&7: &2200 &6Ilosc&7: &232" to run [make player execute "/sklepitem kupblokkwarcu"]
format slot 5 of player with 1 of ender chest named "&8» &bEnderChest" with lore "&6Cena&7: &2100 &6Ilosc&7: &21" to run [make player execute "/sklepitem kupenderchest"]
format slot 6 of player with 1 of anvil named "&8» &bKowadlo" with lore "&6Cena&7: &22000 &6Ilosc&7: &216" to run [make player execute "/sklepitem kupkowadlo"]
format slot 7 of player with 1 of redstone named "&8» &bRedStone" with lore "&6Cena&7: &230 &6Ilosc&7: &264" to run [make player execute "/sklepitem kupredstone"]
format slot 8 of player with 1 of obsidian named "&8» &bObsydian" with lore "&6Cena&7: &230 &6Ilosc&7: &264" to run [make player execute "/sklepitem kupobsydian"]
format slot 9 of player with 1 of end portal frame named "&8» &bBoyFarmer" with lore "&6Cena&7: &21500 &6Ilosc&7: &216" to run [make player execute "/sklepitem kupboyfarmer"]
format slot 10 of player with 1 of iron ingot named "&8» &bZelazo" with lore "&6Cena&7: &246 &6Ilosc&7: &264" to run [make player execute "/sklepitem kupzelazo"]
format slot 11 of player with 1 of end stone named "&8» &bSandFarmer" with lore "&6Cena&7: &21500 &6Ilosc&7: &216" to run [make player execute "/sklepitem kupsandfarmer"]
format slot 12 of player with 1 of nether brick block named "&8» &bNetherowa Cegla" with lore "&6Cena&7: &272 &6Ilosc&7: &232" to run [make player execute "/sklepitem kupnetherbrick"]
format slot 13 of player with 1 of nether star named "&8» &4Netherowa Gwiazda" with lore "&6Cena&7: &222500 &6Ilosc&7: &232" to run [make player execute "/sklepitem kupnetherstar"]
format slot 14 of player with 1 of blaze rod named "&8» &bBlaze Rod" with lore "&6Cena&7: &21000 &6Ilosc&7: &232" to run [make player execute "/sklepitem kupblazerod"]
format slot 15 of player with 1 of book named "&8» &bKsiazka" with lore "&6Cena&7: &230 &6Ilosc&7: &232" to run [make player execute "/sklepitem kupksiazke"]
format slot 16 of player with 1 of tnt named "&8» &bTnT" with lore "&6Cena&7: &2500 &6Ilosc&7: &264" to run [make player execute "/sklepitem kuptnt"]
format slot 17 of player with 1 of sand named "&8» &bPiasek" with lore "&6Cena&7: &230 &6Ilosc&7: &264" to run [make player execute "/sklepitem kuppiasek"]
format slot 18 of player with 1 of book named "&b↑↑↑ Kupowanie ↑↑↑" with lore "&b↓↓↓ Sprzedawanie ↓↓↓" to close
format slot 19 of player with 1 of book named "&b↑↑↑ Kupowanie ↑↑↑" with lore "&b↓↓↓ Sprzedawanie ↓↓↓" to close
format slot 20 of player with 1 of book named "&b↑↑↑ Kupowanie ↑↑↑" with lore "&b↓↓↓ Sprzedawanie ↓↓↓" to close
format slot 21 of player with 1 of glowstone named "&8» &bGlowStone" with lore "&6Cena&7: &2100 &6Ilosc&7: &232" to run [make player execute "/sklepitem kupglowstone"]
format slot 22 of player with 1 of nether wart item named "&8» &bNetherowa Brodawka" with lore "&6Cena&7: &21000 &6Ilosc&7: &216" to run [make player execute "/sklepitem kupnetherwart"]
format slot 23 of player with 1 of 95:15 named "&8» &0NIC" with lore "&0NIC" to close
format slot 24 of player with 1 of book named "&b↑↑↑ Kupowanie ↑↑↑" with lore "&b↓↓↓ Sprzedawanie ↓↓↓" to close
format slot 25 of player with 1 of book named "&b↑↑↑ Kupowanie ↑↑↑" with lore "&b↓↓↓ Sprzedawanie ↓↓↓" to close
format slot 26 of player with 1 of book named "&b↑↑↑ Kupowanie ↑↑↑" with lore "&b↓↓↓ Sprzedawanie ↓↓↓" to close
format slot 27 of player with 1 of stone named "&8» &bStone" with lore "&6Cena&7: &235 &6Ilosc&7: &264" to run [make player execute "/sklepitem sprzedajstone"]
format slot 28 of player with 1 of cobblestone named "&8» &bCobbleStone" with lore "&6Cena&7: &230 &6Ilosc&7: &264" to run [make player execute "/sklepitem sprzedajcobblestone"]
format slot 29 of player with 1 of dirt named "&8» &bDirt" with lore "&6Cena&7: &220 &6Ilosc&7: &232" to run [make player execute "/sklepitem sprzedajdirt"]
format slot 30 of player with 1 of book named "&b↑↑↑ Kupowanie ↑↑↑" with lore "&b↓↓↓ Sprzedawanie ↓↓↓" to close
format slot 31 of player with 1 of book named "&b↑↑↑ Kupowanie ↑↑↑" with lore "&b↓↓↓ Sprzedawanie ↓↓↓" to close
format slot 32 of player with 1 of book named "&b↑↑↑ Kupowanie ↑↑↑" with lore "&b↓↓↓ Sprzedawanie ↓↓↓" to close
format slot 33 of player with 1 of coal named "&8» &bWegiel" with lore "&6Cena&7: &216 &6Ilosc&7: &232" to run [make player execute "/sklepitem sprzedajwegiel"]
format slot 34 of player with 1 of redstone named "&8» &bRedStone" with lore "&6Cena&7: &213 &6Ilosc&7: &264" to run [make player execute "/sklepitem sprzedajredstone"]
format slot 35 of player with 1 of diamond named "&8» &bDiament" with lore "&6Cena&7: &280 &6Ilosc&7: &232" to run [make player execute "/sklepitem sprzedajdiament"]
format slot 36 of player with 1 of emerald named "&8» &bEmerald" with lore "&6Cena&7: &2120 &6Ilosc&7: &232" to run [make player execute "/sklepitem sprzedajemerald"]
format slot 37 of player with 1 of iron ingot named "&8» &bZelazo" with lore "&6Cena&7: &223 &6Ilosc&7: &264" to run [make player execute "/sklepitem sprzedajzelazo"]
format slot 38 of player with 1 of book named "&8» &bKsiazka" with lore "&6Cena&7: &215 &6Ilosc&7: &232" to run [make player execute "/sklepitem sprzedajksiazke"]
format slot 39 of player with 1 of sand named "&8» &bPiasek" with lore "&6Cena&7: &215 &6Ilosc&7: &264" to run [make player execute "/sklepitem sprzedajpiasek"]
format slot 40 of player with 1 of nether star named "&8» &4Netherowa Gwiazda" with lore "&6Cena&7: &215000 &6Ilosc&7: &21" to run [make player execute "/sklepitem sprzedajnetherstar"]
format slot 41 of player with 1 of 155 named "&8» &bBlok Kwarcu" with lore "&6Cena&7: &2100 &6Ilosc&7: &232" to run [make player execute "/sklepitem sprzedajblokkwarcu"]
format slot 42 of player with 1 of ender chest named "&8» &bEnderChest" with lore "&6Cena&7: &245 &6Ilosc&7: &21" to run [make player execute "/sklepitem sprzedajenderchest"]
format slot 43 of player with 1 of anvil named "&8» &bKowadlo" with lore "&6Cena&7: &21000 &6Ilosc&7: &216" to run [make player execute "/sklepitem sprzedajkowadlo"]
format slot 44 of player with 1 of piston base named "&8» &bPiston" with lore "&6Cena&7: &220 &6Ilosc&7: &21" to run [make player execute "/sklepitem sprzedajpiasek"]
format slot 45 of player with 1 of water bucket named "&8» &bWiadro z Woda" with lore "&6Cena&7: &250 &6Ilosc&7: &21" to run [make player execute "/sklepitem sprzedajwode"]
format slot 46 of player with 1 of lava bucket named "&8» &bWiadro z Lava" with lore "&6Cena&7: &280 &6Ilosc&7: &21" to run [make player execute "/sklepitem sprzedajlave"]
format slot 47 of player with 1 of blaze rod named "&8» &bBlaze Rod" with lore "&6Cena&7: &2150 &6Ilosc&7: &21" to run [make player execute "/sklepitem sprzedajblazerod"]
format slot 48 of player with 1 of sugar cane item named "&8» &bCzcina" with lore "&6Cena&7: &230 &6Ilosc&7: &232" to run [make player execute "/sklepitem sprzedajczcine"]
format slot 49 of player with 1 of nether brick block named "&8» &bNetherowa Cegla" with lore "&6Cena&7: &236 &6Ilosc&7: &232" to run [make player execute "/sklepitem sprzedajnetherbrick"]
format slot 50 of player with 1 of obsidian named "&8» &bObsydian" with lore "&6Cena&7: &215 &6Ilosc&7: &264" to run [make player execute "/sklepitem sprzedajobsydian"]
format slot 51 of player with 1 of 17 named "&8» &bDrewno" with lore "&6Cena&7: &230 &6Ilosc&7: &232" to run [make player execute "/sklepitem sprzedajdrewno"]
format slot 52 of player with 1 of ender pearl named "&8» &bPerla" with lore "&6Cena&7: &230 &6Ilosc&7: &28" to run [make player execute "/sklepitem sprzedajperle"]
format slot 53 of player with 1 of glowstone named "&8» &bGlowStone" with lore "&6Cena&7: &250 &6Ilosc&7: &232" to run [make player execute "/sklepitem sprzedajglowstone"]
Pytanie
Nieaktywny
Mam skript KSklep i proszę o dopisanie aby komęde /sklep mogło się używać tylko na regionie z nazwą "sklep"
Kod KSklep:
Odnośnik do komentarza
https://skript.pl/temat/12406-sklep-na-regionie/Udostępnij na innych stronach
3 odpowiedzi na to pytanie
Rekomendowane odpowiedzi