Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /sklep:
- trigger:
- open chest with 1 rows named "&8» &7Menu Sklep" to player
- wait 1 ticks
- format slot 3 of player with 1 of 351:2 named "&aKupowanie Przedmiotow" to run [make player execute "isklep5"]
- format slot 5 of player with 1 of 351:1 named "&cSprzedawanie Przedmiotow" to run [make player execute "isklep6"]
- command /isklep5:
- trigger:
- open chest with 3 rows named "&8» &7Kupowanie Przedmiotow" to player
- wait 1 ticks
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- command /isklep [<text>]:
- trigger:
- if arg-1 is "kupokox":
- if player's balance is less than 170:
- send "&cBLAD: &4nie posiadasz wystarczajaco pieniedzy !!" to player
- stop
- else:
- give 1 322:1 to player
- remove 170 from player's balance
- send "&8» &7Pomyslnie zakupiono 1 kox" to player
- stop
- if arg-1 is "kupeq":
- if player's balance is less than 1000:
- send "&cBLAD: &4nie posiadasz wystarczajaco pieniedzy !!" to player
- stop
- else:
- give 1 diamond helmet of protection 4 and unbreaking 3 to player
- give 1 diamond chestplate of protection 4 and unbreaking 3 to player
- give 1 diamond leggings of protection 4 and unbreaking 3 to player
- give 1 diamond boots of protection 4 and unbreaking 3 to player
- remove 1000 from player's balance
- send "&8» &7Pomyslnie zakupiono Set 4/3" to player
- stop
- if arg-1 is "kupkilof":
- if player's balance is less than 300:
- send "&cBLAD: &4nie posiadasz wystarczajaco pieniedzy !!" to player
- stop
- else:
- give 1 diamond pickaxe of efficiency 5 and unbreaking 3 and fortune 3 to player
- remove 300 from player's balance
- send "&8» &7Pomyslnie zakupiono Kilof 5/3/3" to player
- stop
- if arg-1 is "kuporef":
- if player's balance is less than 90:
- send "&cBLAD: &4nie posiadasz wystarczajaco pieniedzy !!" to player
- stop
- else:
- give 1 322 to player
- remove 90 from player's balance
- send "&8» &7Pomyslnie zakupiono 1 refil" to player
- stop
- command /isklep6:
- trigger:
- open chest with 3 rows named "&8» &7Sprzedawanie Przedmiotow" to player
- wait 1 ticks
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- command /isklep2 [<text>]:
- trigger:
- if arg 1 is "sellzloto64":
- if player don't have 32 gold ingot:
- send "&8» &7Nie Posiadasz 32 zlota!"
- stop
- else:
- remove 32 gold ingot from player
- add 119 to player's balance
- send "&8» &7Pomyslnie sprzedano&8: &632&8x &7zlota"
- stop
- if arg 1 is "sellzelazo64":
- if player don't have 32 iron ingot:
- send "&8» &7Nie Posiadasz 32 zelaza!"
- stop
- else:
- remove 32 iron ingot from player
- add 93 to player's balance
- send "&8» &7Pomyslnie sprzedano&8: &632&8x &7zelaza"
- stop
- if arg 1 is "sellwegiel64":
- if player don't have 32 coal:
- send "&8» &7Nie Posiadasz 32 wegla!"
- stop
- else:
- remove 32 coal from player
- add 44 to player's balance
- send "&8» &7Pomyslnie sprzedano&8: &632&8x &7wegla"
- stop
- if arg 1 is "sellredstone64":
- if player don't have 32 redstone:
- send "&8» &7Nie Posiadasz 32 redstone!"
- stop
- else:
- remove 32 redstone from player
- add 38 to player's balance
- send "&8» &7Pomyslnie sprzedano&8: &632&8x &7redstone"
- stop
- if arg 1 is "selldiamenty64":
- if player don't have 16 diamond:
- send "&8» &7Nie Posiadasz 16 diamentow!"
- stop
- else:
- remove 16 diamond from player
- add 133 to player's balance
- send "&8» &7Pomyslnie sprzedano&8: &616&8x &7diamentow"
- stop
- if arg 1 is "sellcobblestone64":
- if player don't have 64 cobblestone:
- send "&8» &7Nie Posiadasz 64 cobblestone!"
- stop
- else:
- remove 64 cobblestone from player
- add 19 to player's balance
- send "&8» &7Pomyslnie sprzedano&8: &664&8x &7cobblestone"
- stop
- if arg 1 is "sellstone64":
- if player don't have 64 stone:
- send "&8» &7Nie Posiadasz 64 stone!"
- stop
- else:
- remove 64 stone from player
- add 33 to player's balance
- send "&8» &7Pomyslnie sprzedano&8: &664&8x &7stone"
- stop
- if arg 1 is "isklep2 sellemerald64":
- if player don't have 8 emerald:
- send "&8» &7Nie Posiadasz 8 emeraldow!"
- stop
- else:
- remove 8 emerald from player
- add 235 to player's balance
- send "&8» &7Pomyslnie sprzedano&8: &68&8x &7emeraldow"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement