#Skrypt by: HotAngel2K17 (Dla skript.pl Ever) #Wersja v1.0 #Tutorial #W prosty sposob mozna usunac nazwe oraz lore. Wystarczy usunac [named ""] a przy lore: [With lore ""]. Usuwamy je w calosci. #slot 0 = miejce w skrzynki #pierwszy kwadracik = slot 0. #drugi kwadracik = slot 1 itd. #@item1 = Item ktory ustawilismy przy item:1, w moim przypadku to 1x, diaxowy miecz. #@item1.enchant = Dodajemy enchant np, sharpness 5. Jezeli chesz dodac 2enchanty zrob tak. ... of sharpness 5 and unbreaking 3 #lub ..Of {@item1.enchant} and {@item1.enchant2} #@item1.named = Nazwa naszego itemu. #@item1.lore = Opis naszego itemu #To be unstealable = Nie mozna wyjmowac przedmiotu #Generalnie wystarczy popatrzec na linie od 130, tam jest wszystko wyraznie zrobione, mozna od tego sie wzorowac. #Polecam takze poradnik od Norbi z gui, https://skript.pl/temat/3009-gui/ <---- Polecam. #Polecam takze poradnik od Norbi z gui, https://skript.pl/temat/3009-gui/ <---- Polecam. #Polecam takze poradnik od Norbi z gui, https://skript.pl/temat/3009-gui/ <---- Polecam. #Prosty config################################### options: permission: pandora.give permissionMessage: &8#&cBrak uprawnien noOnline: &cTakiego gracza nie ma online! noArguments: &7Poprawne uzycie: &c/pandora &a[gracz(online)] [ilosc] noArguments.all: &7Poprawne uzycie: &c/pandoraall &a[ilosc] Pandora.named: &5&lPANDORA Pandora.lore1: &c» &7Postaw aby otrzymac losowy item Pandora.lore2: &c» &7Drop mozesz zobaczyc na &5&l/drop chestName: &6Odbierz swoj przedmiot #Itemy ktore mozna zdobyc #W prosty sposob mozna dodac enchanty, lore i nazwy, zrobcie to tak: z enchantem: [item] of [enchant] and [enchant] (nie musi byc of, wtedy bedzie tylko 1enchant) #Z nazwa [item] named "[nazwa]" #Z lore [item] named "[nazwa]" with lore "[lore1]||[lore2]" <--- Jezeli nie dacie || bedzie tylko jedna linia lore #Jak chcecie to laczyc zrobcie cos takiego ---> [item] of [enchant1] and [enchant2] named "[nazwa]" with lore "[lore]||[lore2]" Items1: 1 diamond sword of sharpness 5 and unbreaking 3 Items2: 64 diamonds Items3: 8 ender pearl Items4: 1 diamond pickaxe of efficiency 5 and unbreaking 3 and fortune 3 Items5: 1 beacon Items6: 1 ender chest Items7: 1 iron sword Items8: 1 diamond helmet of protection 4 and unbreaking 3 Items9: 1 diamond chestplate of protection 4 and unbreaking 3 Items10: 1 diamond leggings of protection 4 and unbreaking 3 Items11: 1 diamond boots of protection 4 and unbreaking 3 Items12: 3 dragon egg named "&5&lPANDORA" with lore "&c» &7Postaw aby otrzymac losowy item||&c» &7Drop mozesz zobaczyc na &5&l/drop" Items13: 1 bow of punch 2 Items14: 64 emeralds #Mozna dodawac wszedzie linie. Np. item2.lore, item2.enchant itd itd. #Ale trzeba je tez dodac do samego dzialania gui :/ #Na przykladzie tego mozna robic lore i enchanty w itemach. item1: 1 diamond sword item1.name: &3&oDiaxowy miecz item1.lore: &6Diaxowy miecz 5/2 item1.enchant: sharpness 5 item1.enchant2: fire aspect 2 item2: 64 diamonds item2.name: &8&ox64 &b&odiamenty item3: 8 ender pearl item3.name: &8&ox8 &3&operelki endermana item4: 1 diamond pickaxe item4.name: &3&oDiaxowy kilof item4.lore: &6Diaxowy kilof 5/3/3 item4.enchant: efficiency 5 item4.enchant2: unbreaking 3 item4.enchant3: fortune 3 item5: 1 beacon item5.name: &b&l&oBeacon item6: 1 ender chest item6.name: &5&oEnderchest item7: 1 iron sword item7.name: &7Zelazny miecz item8: 1 diamond helmet item8.name: &b&oDiaxowy helm item8.enchant: protection 4 item8.enchant2: unbreaking 3 item9: 1 diamond chestplate item9.name: &b&oDiaxowa klata item9.enchant: protection 4 item9.enchant2: unbreaking 3 item10: 1 diamond leggings item10.name: &b&oDiaxowe spodnie item10.enchant: protection 4 item10.enchant2: unbreaking 3 item11: 1 diamond boots item11.name: &b&oDiaxowe buty item11.enchant: protection 4 item11.enchant2: unbreaking 3 item12: 3 dragon egg item12.name: &8&o3x &5&l&oPandora item13: 1 bow item13.name: &8&oLuk &d&opunch 2 item13.enchant: punch 2 item14: 64 emeralds item14.name: &8&ox64 &2&oEmeraldy command /pandora [] []: permission: {@permission} permission message: {@permissionMessage} trigger: if arg 1 is set: if arg 2 is set: if arg 1 is online: loop arg 2 times: give 1 dragon egg named "{@Pandora.named}" with lore "{@Pandora.lore1}||{@Pandora.lore2}" to the argument 1 else: send "{@noOnline}" else: send "{@noArguments}" else: send "{@noArguments}" command /pandoraall []: trigger: if arg 1 is set: loop arg 1 times: give 1 dragon egg named "{@Pandora.named}" with lore "{@Pandora.lore1}||{@Pandora.lore2}" to all players else: send "{@noArguments.all}" on place dragon egg: if player's tool is dragon egg named "{@Pandora.named}" with lore "{@Pandora.lore1}||{@Pandora.lore2}": remove 1 dragon egg from player's inventory set block to air add {@Items1} to {items::*} add {@Items2} to {items::*} add {@Items3} to {items::*} add {@Items4} to {items::*} add {@Items5} to {items::*} add {@Items6} to {items::*} add {@Items7} to {items::*} add {@Items8} to {items::*} add {@Items9} to {items::*} add {@Items10} to {items::*} add {@Items11} to {items::*} add {@Items12} to {items::*} add {@Items13} to {items::*} add {@Items14} to {items::*} set {_item} to a random item out of {items::*} wait 1 tick open chest with 6 row named "{@chestName}" to player format slot 0 of player with purple glass named "&5##" to be unstealable format slot 1 of player with magenta glass named "&d##" to be unstealable format slot 2 of player with purple glass named "&5##" to be unstealable format slot 3 of player with magenta glass named "&d##" to be unstealable format slot 4 of player with purple glass named "&5##" to be unstealable format slot 5 of player with magenta glass named "&d##" to be unstealable format slot 6 of player with purple glass named "&5##" to be unstealable format slot 7 of player with magenta glass named "&d##" to be unstealable format slot 8 of player with purple glass named "&5##" to be unstealable format slot 9 of player with magenta glass named "&d##" to be unstealable format slot 10 of player with purple glass named "&5##" to be unstealable format slot 11 of player with magenta glass named "&d##" to be unstealable format slot 12 of player with purple glass named "&5##" to be unstealable format slot 14 of player with purple glass named "&5##" to be unstealable format slot 15 of player with magenta glass named "&d##" to be unstealable format slot 16 of player with purple glass named "&5##" to be unstealable format slot 17 of player with magenta glass named "&d##" to be unstealable format slot 18 of player with purple glass named "&5##" to be unstealable format slot 19 of player with magenta glass named "&d##" to be unstealable format slot 20 of player with purple glass named "&5##" to be unstealable format slot 21 of player with magenta glass named "&d##" to be unstealable format slot 22 of player with purple glass named "&5##" to be unstealable format slot 23 of player with magenta glass named "&d##" to be unstealable format slot 24 of player with purple glass named "&5##" to be unstealable format slot 25 of player with magenta glass named "&d##" to be unstealable format slot 26 of player with purple glass named "&5##" to be unstealable format slot 27 of player with purple glass named "&5##" to be unstealable format slot 35 of player with purple glass named "&5##" to be unstealable format slot 36 of player with purple glass named "&5##" to be unstealable format slot 44 of player with purple glass named "&5##" to be unstealable format slot 45 of player with purple glass named "&5##" to be unstealable format slot 46 of player with purple glass named "&5##" to be unstealable format slot 47 of player with purple glass named "&5##" to be unstealable format slot 48 of player with purple glass named "&5##" to be unstealable format slot 49 of player with purple glass named "&5##" to be unstealable format slot 50 of player with purple glass named "&5##" to be unstealable format slot 51 of player with purple glass named "&5##" to be unstealable format slot 52 of player with purple glass named "&5##" to be unstealable format slot 53 of player with purple glass named "&5##" to be unstealable #Teraz itemy ktore mozna zdobyc format slot 28 of player with {@item1} of {@item1.enchant} and {@item1.enchant2} named "{@item1.name}" with lore "{@item1.lore}" to be unstealable format slot 29 of player with {@item2} named "{@item2.name}" to be unstealable format slot 30 of player with {@item3} named "{@item3.name}" to be unstealable format slot 31 of player with {@item4} of {@item4.enchant} and {@item4.enchant2} and {@item4.enchant3} named "{@item4.name}" with lore "{@item4.lore}" to be unstealable format slot 32 of player with {@item5} named "{@item5.name}" to be unstealable format slot 33 of player with {@item6} named "{@item6.name}" to be unstealable format slot 34 of player with {@item7} named "{@item7.name}" to be unstealable format slot 37 of player with {@item8} of {@item8.enchant} and {@item8.enchant2} named "{@item8.name}" to be unstealable format slot 38 of player with {@item9} of {@item9.enchant} and {@item9.enchant2} named "{@item9.name}" to be unstealable format slot 39 of player with {@item10} of {@item10.enchant} and {@item10.enchant2} named "{@item10.name}" to be unstealable format slot 40 of player with {@item11} of {@item11.enchant} and {@item11.enchant2} named "{@item11.name}" to be unstealable format slot 41 of player with {@item12} named "{@item12.name}" to be unstealable format slot 42 of player with {@item13} of {@item13.enchant} named "{@item13.name}" to be unstealable format slot 43 of player with {@item14} named "{@item14.name}" to be unstealable wait 1 tick set slot 13 of player's current inventory to {_item}