Czy mozecie mi to naprawic, zeby serwer sie nie wylaczyl?
command /sklep [<text>]:
trigger:
open chest with 1 rows named "&5SHARK&6CRAFT&8.PL &6Sklep " to player
wait 4 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 3 rows named "&aKupowanie Przedmiotow" to player
wait 1 ticks
format slot 0 of player with 1 of 311 of protection 4 and unbreaking 3 named "&5Eq" with lore "&aIlosc&8: &61||&aKoszt&8: &61000 &a$" to run [make player execute "isklep kupeq"]
format slot 1 of player with 1 of 311 of protection 5 and unbreaking 3 named "&5Eq" with lore "&aIlosc&8: &61||&aKoszt&8: &65000 &a$" to run [make player execute "isklep kupeq1"]
format slot 2 of player with 1 of 311 of protection 6 and unbreaking 3 named "&5Eq" with lore "&aIlosc&8: &61||&aKoszt&8: &610000 &a$" to run [make player execute "isklep kupeq2"]
format slot 3 of player with 1 of 276 of sharpness 5 and unbreaking 3 and fire aspect 2 named "&5Miecz" with lore "&aIlosc&8: &61||&aKoszt&8: &62000 &a$" to run [make player execute "isklep kupmiecz"]
format slot 4 of player with 1 of 276 of sharpness 6 and unbreaking 3 and fire aspect 2 named "&5Miecz" with lore "&aIlosc&8: &61||&aKoszt&8: &66000 &a$" to run [make player execute "isklep kupmiecz1"]
format slot 5 of player with 1 of 276 of sharpness 7 and unbreaking 3 and fire aspect 2 named "&5Miecz" with lore "&aIlosc&8: &61||&aKoszt&8: &612000 &a$" to run [make player execute "isklep kupmiecz2"]
format slot 6 of player with 1 of 276 of knockback 2 and unbreaking 3 named "&5Miecz" with lore "&aIlosc&8: &61||&aKoszt&8: &6500 &a$" to run [make player execute "isklep kupmiecz3"]
format slot 7 of player with 1 of bow of power 5 and unbreaking 3 and infinity 1 and flame 1 named "&5Luk" with lore "&aIlosc&8: &61||&aKoszt&8: &62000 &a$" to run [make player execute "isklep kupluk"]
format slot 8 of player with 1 of bow of power 6 and unbreaking 3 and infinity 1 and flame 1 named "&5Luk" with lore "&aIlosc&8: &61||&aKoszt&8: &66000 &a$" to run [make player execute "isklep kupluk1"]
format slot 9 of player with 1 of bow of unbreaking 3 and infinity 1 and punch 2 named "&5Luk" with lore "&aIlosc&8: &61||&aKoszt&8: &6500 &a$" to run [make player execute "isklep kupluk2"]
format slot 10 of player with 1 of 278 of efficiency 5 and unbreaking 3 and fortune 3 named "&5Kilof" with lore "&aIlosc&8: &61||&aKoszt&8: &63000 &a$" to run [make player execute "isklep kupkilof"]
format slot 11 of player with 1 of 278 of efficiency 6 and unbreaking 3 and fortune 3 named "&5Kilof" with lore "&aIlosc&8: &61||&aKoszt&8: &66000 &a$" to run [make player execute "isklep kupkilof1"]
format slot 12 of player with 1 of 278 of efficiency 5 and unbreaking 3 and silk touch 1 named "&5Kilof" with lore "&aIlosc&8: &61||&aKoszt&8: &63000 &a$" to run [make player execute "isklep kupkilof2"]
format slot 13 of player with 1 of 278 of efficiency 6 and unbreaking 3 and silk touch 1 named "&5Kilof" with lore "&aIlosc&8: &61||&aKoszt&8: &66000 &a$" to run [make player execute "isklep kupkilof3"]
format slot 14 of player with 1 of 49 named "&5Obsydian" with lore "&aIlosc&8: &6265||&aKoszt&8: &61000 &a$" to run [make player execute "isklep kupobs"]
format slot 26 of player with 1 of 35:14 named "&cPowrot do Menu" with lore "&8» &7Przenosi do Menu" to run [make player execute "sklep"]
command /isklep [<text>]:
trigger:
if arg-1 is "kupobs":
if player's balance is less than 700:
send "&cBLAD: &6Nie posiadasz wystarczajaco coinsow !!" to player
stop
else:
give 64 49 to player
remove 1000 from player's balance
send "&6Pomyslnie zakupiono 64 Obsydianu" to player
stop
if arg-1 is "kupeq":
if player's balance is less than 1000:
send "&cBLAD: &6Nie posiadasz wystarczajaco Money !!" to player
execute player command "money"
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 "&6Pomyslnie zakupiono Set 4/3" to player
stop
if arg-1 is "kupeq1":
if player's balance is less than 5000:
send "&cBLAD: &6Nie posiadasz wystarczajaco Money !!" to player
execute player command "money"
stop
else:
give 1 diamond helmet of protection 5 and unbreaking 3 to player
give 1 diamond chestplate of protection 5 and unbreaking 3 to player
give 1 diamond leggings of protection 5 and unbreaking 3 to player
give 1 diamond boots of protection 5 and unbreaking 3 to player
remove 5000 from player's balance
send "&6Pomyslnie zakupiono Set 5/3" to player
stop
if arg-1 is "kupeq2":
if player's balance is less than 10000:
send "&cBLAD: &6Nie posiadasz wystarczajaco Money !!" to player
execute player command "money"
stop
else:
give 1 diamond helmet of protection 6 and unbreaking 3 to player
give 1 diamond chestplate of protection 6 and unbreaking 3 to player
give 1 diamond leggings of protection 6 and unbreaking 3 to player
give 1 diamond boots of protection 6 and unbreaking 3 to player
remove 10000 from player's balance
send "&6Pomyslnie zakupiono Set 6/3" to player
stop
if arg-1 is "kupkilof":
if player's balance is less than 3000:
send "&cBLAD: &6Nie posiadasz wystarczajaco coinsow !!" to player
stop
else:
give 1 diamond pickaxe of efficiency 5 and unbreaking 3 and fortune 3 to player
remove 3000 from player's balance
send "&6Pomyslnie zakupiono Kilof 5/3/3" to player
stop
if arg-1 is "kupkilof1":
if player's balance is less than 6000:
send "&cBLAD: &6Nie posiadasz wystarczajaco coinsow !!" to player
stop
else:
give 1 diamond pickaxe of efficiency 6 and unbreaking 3 and fortune 3 to player
remove 6000 from player's balance
send "&6Pomyslnie zakupiono Kilof 6/3/3" to player
stop
if arg-1 is "kupkilof2":
if player's balance is less than 3000:
send "&cBLAD: &6Nie posiadasz wystarczajaco coinsow !!" to player
stop
else:
give 1 diamond pickaxe of efficiency 5 and unbreaking 3 and silk touch 1 to player
remove 3000 from player's balance
send "&6Pomyslnie zakupiono Kilof 5/1/3" to player
stop
if arg-1 is "kupkilof3":
if player's balance is less than 6000:
send "&cBLAD: &6Nie posiadasz wystarczajaco coinsow !!" to player
stop
else:
give 1 diamond pickaxe of efficiency 6 and unbreaking 3 and silk touch 1 to player
remove 6000 from player's balance
send "&6Pomyslnie zakupiono Kilof 6/1/3" to player
stop
if arg-1 is "kupmiecz":
if player's balance is less than 2000:
send "&cBLAD: &6Nie posiadasz wystarczajaco coinsow !!" to player
stop
else:
give 1 diamond sword of sharpness 5 and unbreaking 3 and fire aspect 2 to player
remove 2000 from player's balance
send "&6Pomyslnie zakupiono Miecz 5/2/3" to player
stop
if arg-1 is "kupmiecz1":
if player's balance is less than 6000:
send "&cBLAD: &6Nie posiadasz wystarczajaco coinsow !!" to player
stop
else:
give 1 diamond sword of sharpness 6 and unbreaking 3 and fire aspect 2 to player
remove 6000 from player's balance
send "&6Pomyslnie zakupiono Miecz 6/2/3" to player
stop
if arg-1 is "kupmiecz2":
if player's balance is less than 12000:
send "&cBLAD: &6Nie posiadasz wystarczajaco coinsow !!" to player
stop
else:
give 1 diamond sword of sharpness 7 and unbreaking 3 and fire aspect 2 to player
remove 12000 from player's balance
send "&6Pomyslnie zakupiono Miecz 7/2/3" to player
stop
if arg-1 is "kupmiecz3":
if player's balance is less than 500:
send "&cBLAD: &6Nie posiadasz wystarczajaco coinsow !!" to player
stop
else:
give 1 diamond sword of unbreaking 3 and knockback 2 to player
remove 500 from player's balance
send "&6Pomyslnie zakupiono Miecz 2/3" to player
stop
if arg-1 is "kupluk":
if player's balance is less than 2000:
send "&cBLAD: &6Nie posiadasz wystarczajaco coinsow !!" to player
stop
else:
give 1 bow of power 5 and unbreaking 3 and infinity 1 and flame 1 to player
remove 2000 from player's balance
send "&6Pomyslnie zakupiono Luk 5/1/1/3" to player
stop
if arg-1 is "kupluk1":
if player's balance is less than 6000:
send "&cBLAD: &6Nie posiadasz wystarczajaco coinsow !!" to player
stop
else:
give 1 bow of power 6 and unbreaking 3 and infinity 1 and flame 1 to player
remove 6000 from player's balance
send "&6Pomyslnie zakupiono Luk 6/1/1/3" to player
stop
if arg-1 is "kupluk2":
if player's balance is less than 500:
send "&cBLAD: &6Nie posiadasz wystarczajaco coinsow !!" to player
stop
else:
give 1 bow of punch 2 and unbreaking 3 to player
remove 500 from player's balance
send "&6Pomyslnie zakupiono Luk 2/3" 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 173 named "&a64 Blokow Wegla" with lore "&cZa sprzedasz otrzymasz&8:||&615 &a$" to run [make player execute "isklep2 sellwegiel64"]
format slot 1 of player with 1 of 152 named "&a64 Blokow Redstone" with lore "&cZa sprzedasz otrzymasz&8:||&620 &a$" to run [make player execute "isklep2 sellredstone64"]
format slot 2 of player with 1 of 57 named "&a64 Blokow Diamentow" with lore "&cZa sprzedasz otrzymasz&8:||&655 &a$" to run [make player execute "isklep2 selldiamenty64"]
format slot 3 of player with 1 of 41 named "&a64 Blokow Zlota" with lore "&cZa sprzedasz otrzymasz&8:||&660 &a$" to run [make player execute "isklep2 sellzloto64"]
format slot 4 of player with 1 of 42 named "&a64 Blokow Zelaza" with lore "&cZa sprzedasz otrzymasz&8:||&635 &a$" to run [make player execute "isklep2 sellzelazo64"]
format slot 5 of player with 1 of 152 named "&a64 Blokow Redstone" with lore "&cZa sprzedasz otrzymasz&8:||&620 &a$" to run [make player execute "isklep2 sellredstone64"]
command /isklep2 [<text>]:
trigger:
if arg 1 is "sellzloto64":
if player don't have 64 41:
send "&7Nie Posiadasz 64 blokow zlota!"
stop
else:
remove 64 41 from player
add 60 to player's balance
send "&4[&cSKLEP&4] &8>> &aPomyslnie sprzedano&8: &b64&8x &bblokow zlota"
stop
if arg 1 is "sellzelazo64":
if player don't have 64 42:
send "&7Nie Posiadasz 64 blokow zelaza!"
stop
else:
remove 64 42 from player
add 35 to player's balance
send "&4[&cSKLEP&4] &8>> &aPomyslnie sprzedano&8: &b64&8x &bblokow zelaza"
stop
if arg 1 is "sellwegiel64":
if player don't have 64 coal block:
send "&7Nie Posiadasz 64 blokow wegla!"
stop
else:
remove 64 coal block from player
add 15 to player's balance
send "&4[&cSKLEP&4] &8>> &aPomyslnie sprzedano&8: &b64&8x &bblokow wegla"
stop
if arg 1 is "sellredstone64":
if player don't have 64 152:
send "&7Nie Posiadasz 64 blokow redstone!"
stop
else:
remove 64 152 from player
add 20 to player's balance
send "&4[&cSKLEP&4] &8>> &aPomyslnie sprzedano&8: &b64&8x &bblokow redstone"
stop
if arg 1 is "selldiamenty64":
if player don't have 64 57:
send "&7Nie Posiadasz 64 blokow diamentow!"
stop
else:
remove 64 57 from player
add 55 to player's balance
send "&4[&cSKLEP&4] &8>> &aPomyslnie sprzedano&8: &b64&8x &bblokow diamentow"
stop
command /hmoney [<text>]:
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!"
Pytanie
ciamajda25 1
Czy mozecie mi to naprawic, zeby serwer sie nie wylaczyl?
Wstawiono w spoiler
Notatka dodana przez Szifter
Odnośnik do komentarza
Udostępnij na innych stronach
7 odpowiedzi na to pytanie
Rekomendowane odpowiedzi