variables: {skrzynka.lhcpvp::%player%} = 0 {skrzynia1wlaczoneklucze} = false options: kluczskrzynia1: &8>> &aKLUCZ DO SKRZYNI: &cDragon Chest &8<< skrzynia1: DragonChest skrzynia1nazwa: &8DragonChest klucz1nazwaogolna: EnderDragon skrzynia1nazwaogolna: EnderDragon skrzynia1lore: &8Postaw permisjaklucz: klucz.lhc gracz: %player% liczba1: 1 errorwiadomosc-arg1: &4&lBLAD: &cTen Klucz Nie Istnieje! errorwiadomosc-arg2: &4&lBLAD: &cTen gracz nie istnieje lub nie jest online! errorwiadomosc-arg3: &4&lBLAD: &cZbyt duza, lub zbyt mala ilosc kluczy! on rightclick on 120: cancel event if {skrzynia1wlaczoneklucze} is not set: if player's tool is 131 named "&7> &eEnderDragon KLUCZ &7<": open chest with 6 rows named "&e&lEnderDragon Chest" to player send "&a&lOtwieranie Skrzynki: &bEnderDragon Chest" wait 1 tick format slot 0 of player with 1 of 160:15 named "&0" to be unstealable format slot 1 of player with 1 of 160:5 named "&0" to be unstealable format slot 2 of player with 1 of 160:15 named "&0" to be unstealable format slot 3 of player with 1 of 66 named "&8>&a>&8> &4&lWYLACZ MENU &8<&a<&8<" to close format slot 4 of player with 1 of 160:15 named "&0" to be unstealable format slot 5 of player with 1 of activator rail named "&8>&a>&8> &4&lNASTEPNA STRONA &8<&a<&8<" to run [make player execute command "/otwieranie-skrzynka-nastepna-strona-wwk-lhc dawdawdsawdsa"] format slot 6 of player with 1 of 160:15 named "&0" to be unstealable format slot 7 of player with 1 of 160:5 named "&0" to be unstealable format slot 8 of player with 1 of 160:15 named "&0" to be unstealable format slot 9 of player with 1 of 160:5 named "&0" to be unstealable format slot 17 of player with 1 of 160:5 named "&0" to be unstealable format slot 18 of player with 1 of 160:15 named "&0" to be unstealable format slot 27 of player with 1 of 160:5 named "&0" to be unstealable format slot 36 of player with 1 of 160:15 named "&0" to be unstealable format slot 26 of player with 1 of 160:15 named "&0" to be unstealable format slot 35 of player with 1 of 160:5 named "&0" to be unstealable format slot 44 of player with 1 of 160:15 named "&0" to be unstealable format slot 45 of player with 1 of 160:5 named "&0" to be unstealable format slot 36 of player with 1 of 160:15 named "&0" to be unstealable format slot 10 of player with 1 of 160:15 named "&0" to be unstealable format slot 11 of player with 1 of 160:5 named "&0" to be unstealable format slot 14 of player with 1 of 160:15 named "&0" to be unstealable format slot 16 of player with 1 of 160:15 named "&0" to be unstealable format slot 46 of player with 1 of 160:15 named "&0" to be unstealable format slot 47 of player with 1 of 160:5 named "&0" to be unstealable format slot 48 of player with 1 of 160:15 named "&0" to be unstealable format slot 49 of player with 1 of 160:15 named "&0" to be unstealable format slot 50 of player with 1 of 160:15 named "&0" to be unstealable format slot 51 of player with 1 of 160:5 named "&0" to be unstealable format slot 52 of player with 1 of 160:15 named "&0" to be unstealable format slot 53 of player with 1 of 160:5 named "&0" to be unstealable format slot 12 of player with 1 of 160:15 named "&0" to be unstealable format slot 13 of player with 1 of 160:15 named "&0" to be unstealable format slot 15 of player with 1 of 160:5 named "&0" to be unstealable format slot 19 of player with 1 of vines named "&0" to be unstealable format slot 20 of player with 1 of vines named "&0" to be unstealable format slot 21 of player with 1 of vines named "&0" to be unstealable format slot 22 of player with 1 of 154 named "&f&l&k:: &0 &cWYBIERZ SKRZYNKE DO OTWARCIA &f&l&k:: " to be unstealable format slot 23 of player with 1 of vines named "&0" to be unstealable format slot 24 of player with 1 of vines named "&0" to be unstealable format slot 25 of player with 1 of vines named "&0" to be unstealable format slot 28 of player with 1 of vines named "&0" to be unstealable format slot 29 of player with 1 of chest named "&8>&a>&8> &bEnderDragon &eCHEST &8<&a<&8<" with lore "&4&l> &cKliknij aby otworzyc! ||&4&l> &cPotrzeba: &ex1 &cKlucz Do &bEnderDragon &eCHEST" to run [make player execute command "/otwieranie-skrzynki-lhc-wwk-lhc-wwk-1 dadasdawda-a"] format slot 30 of player with 1 of 166 named "&4&lERROR: &cBRAK SKRZYNKI" to be unstealable format slot 31 of player with 1 of 166 named "&4&lERROR: &cBRAK SKRZYNKI" to be unstealable format slot 32 of player with 1 of 166 named "&4&lERROR: &cBRAK SKRZYNKI" to be unstealable format slot 33 of player with 1 of 166 named "&4&lERROR: &cBRAK SKRZYNKI" to be unstealable format slot 34 of player with 1 of vines named "&0" to be unstealable format slot 37 of player with 1 of vines named "&0" to be unstealable format slot 38 of player with 1 of vines named "&0" to be unstealable format slot 39 of player with 1 of vines named "&0" to be unstealable format slot 40 of player with 1 of vines named "&0" to be unstealable format slot 41 of player with 1 of vines named "&0" to be unstealable format slot 42 of player with 1 of vines named "&0" to be unstealable format slot 43 of player with 1 of vines named "&0" to be unstealable else: send "&4&lBLAD: &cSkrzynki sa wylaczone!" command /dajklucz [] [] []: permission: {@permisjaklucz} permission message: &4&lBLAD: &cBrak uprawnien do &8[&e{@permisjaklucz}&8] trigger: if arg 1 is not set: send "&0" send "&0" send "&0" send "&0" send "&0" send "&0" send "&0" send "&0" send "&0" send "&0" send "&0" send "&e&lPoprawnie uzycie:" send "&c/dajklucz [nazwa] [gracz] [ilosc]" send "&0" send "&e&lLista Kluczy Pod: &a/dajklucz lista [klucze/skrzynie]" if arg 1 is "{@klucz1nazwaogolna}": if arg 2 is "{@gracz}": if arg 3 is "{@liczba1}": give {@liczba1} 131 named "&7> &eEnderDragon KLUCZ &7<" to player send "&6&lOtrzymales klucz: &bEnderDragon &6x{@liczba1}" else: if arg 2 is not set: send "&4&lBLAD: &cNie wpisales gracza, lub ten gracz nie istnieje lub nie jest online!" if arg 1 is "{@klucz1nazwaogolna}": if arg 2 is "{@gracz}": if arg 3 is not "1": send "&4&lBLAD: &cNie poprawna liczba! MAX: 1/1 Dozwolone liczby: &8[&91&8]" if arg 1 is "lista": if arg 2 is "klucze": send "&8>>&a>&8>> &c&lLista Kluczy: &8<<&a<&8<<" send "&a>&c>&a> &9[&e1&9] &b{@klucz1nazwaogolna}" if arg 1 is "lista": if arg 2 is "skrzynie": send "&8>>&a>&8>> &c&lLista Skrzyn: &8<<&a<&8<<" send "&a>&c>&a> &9[&e1&9] &b{@skrzynia1nazwaogolna}" if arg 1 is "lista": if arg 2 is not set: send "&4&lBLAD: &cNie wpisales odpowiednich argumentow!" send "&4&l/dajklucz lista &8[&eklucze/skrzynie&8]" command /dajskrzynia [] [] [] []: permission: lhc.core.skrzynia.info.admin permission message: &4&lBLAD: &cBrak permisji do &8[&elhc.core.skrzynia.info.admin&8] trigger: if arg 1 is not set: send "&0" send "&0" send "&0" send "&0" send "&0" send "&0" send "&0" send "&0" send "&0" send "&0" send "&0" send "&e&lPoprawnie uzycie:" send "&c/dajskrzynia [nazwa] [gracz] [ilosc]" send "&0" send "&c/dajskrzynia [on/off] [nazwa skrzyni]" send "&0" send "&e&lLista Skrzyn Pod: &a/dajklucz lista [klucze/skrzynie]" if arg 1 is "info": if arg 2 is "pokaz": send "&0" send "&0" send "&0" send "&0" send "&0" send "&0" send "&0" send "&0" send "&0" send "&0" send "&0" send "&cInfo Skrzynie:" send "&0" send "&8- &cEnderDragon" send "&8&l• &cDo skrzyni jest potrzebny klucz. " send "&0" if arg 1 is "on": if arg 2 is "{@skrzynia1}": broadcast "&eSkrzynka zostala &awlaczona&e." clear {skrzynia1wlaczoneklucze} stop if arg 1 is "off": if arg 2 is "{@skrzynia1}": broadcast "&eSkrzynka zostala &cwylaczona&e." set {skrzynia1wlaczoneklucze} to false stop if arg 1 is "DragonChest": if arg 2 is "%player%": if arg 3 is "1": give player 1 120 named "&8> &eDragonChest &8<" send "&cPoprawnie dales skrzynie!" command /otwieranie-skrzynki-lhc-wwk-lhc-wwk-1 []: trigger: if arg 1 is "dadasdawda-a": if player has 1 131 named "&7> &eEnderDragon KLUCZ &7<": remove 1 131 named "&7> &eEnderDragon KLUCZ &7<" from player open chest with 6 rows named "&7&lSLABE ITEMY" to player wait 2 tick format slot 31 of player with 1 of chest named "&8>&a>&8> &bEnderDragon &eCHEST &8<&a<&8<" with lore "&4&l> &cKliknij aby otworzyc! ||&4&l> &cPotrzeba: &ex1 &cKlucz Do &bEnderDragon &eCHEST" to run [make player execute command "/skrzynkaotworz-numer-pierwszy-xd-xd-xd"] command /skrzynkaotworz-numer-pierwszy-xd-xd-xd: trigger: wait 1 tick close player's inventory if player has 64 cobblestone: send "&f&l&k:|: &0 &cOTWIERASZ SKRZYNIE: &f&l&k:|:" send "&9Otwieranie Potrwa: &e10 sekund" send "&8" send "&bOtwieranie Startuje, skonczy sie za 10 sekund" send "" send "" send "" wait 100 ticks send "&bOtwieranie Zakonczy Sie Za:" send "&c5" wait 20 tick send "&c4" wait 20 tick send "&a3" wait 20 tick send "&a2" wait 20 tick send "&a1" wait 40 ticks broadcast "&8» &6%player% &7Otworzyl &6PremiumCase&7 i otrzymal&8:" chance of 30%: drop 1 311 of protection 4 and unbreaking 3 broadcast "&8- &cKlate 4/3" chance of 30%: drop 1 310 of protection 4 and unbreaking 3 broadcast "&8- &cHelm 4/3" chance of 30%: drop 1 312 of protection 4 and unbreaking 3 broadcast "&8- &cSpodnie 4/3" chance of 30%: drop 1 313 of protection 4 and unbreaking 3 broadcast "&8- &cButy 4/3" chance of 20%: drop 1 276 of sharpness 5 and fire aspect 2 broadcast "&8- &cMiecz 5/2" chance of 20%: drop 1 261 of power 5 and flame 1 and infinity 1 broadcast "&8- &cLuk 5/1/1" chance of 20%: drop 1 278 of efficiency 5 and unbreaking 3 and fortune 3 broadcast "&8- &cKilof 5/3/3" chance of 20%: drop 32 emerald broadcast "&8- &732&8x &cEmerald" chance of 20%: drop 64 emerald broadcast "&8- &764&8x &cEmerald" chance of 20%: drop 64 diamond broadcast "&8- &764&8x &cDiamenty" chance of 20%: drop 64 gold ingot broadcast "&8- &764&8x &cZloto" chance of 20%: drop 5 enchanted golden apple broadcast "&8- &75&8x &cZlote Jablko" chance of 20%: drop 7 enchanted golden apple broadcast "&8- &77&8x &cZlote Jablko" chance of 1%: drop 1 beacon broadcast "&8- &71&8x &9&lB&e&lE&2&lA&c&lC&6&lO&e&lN" chance of 20%: drop 64 tnt broadcast "&8- &764&8x &cTnT" chance of 20%: drop 4 ender pearl broadcast "&8- &74&8x &cPerly" chance of 25%: drop 16 ender portal frame named "&4&lBoyFarmer" broadcast "&8- &716&8x &cBoyFarmer" chance of 25%: drop 16 ender portal frame named "&4&lSandFarmer" broadcast "&8- &716&8x &cSandFarmer" chance of 25%: drop 8 sponge named "&6&lAuto-Kopacz" broadcast "&8- &78&8x &cAuto-Kopacz" chance of 25%: drop 8 emerald ore named "&aGenerator Stone" broadcast "&8- &78&8x &cGenerator Stone" broadcast "&7Kup &6PREMIUM CASE &7NA &6L-HC.PL" command /otwieranie-skrzynka-nastepna-strona-wwk-lhc []: permission: lhc.core.skrzyneczki permission message: &4&lBLAD: &cBrak permisji do &8[&elhc.core.skrzyneczki&8] trigger: if arg 1 is not set: send "&4&lBLAD: Brak permisji do &8[&elhc.core.skrzyneczki&8]" if arg 1 is "dawdawdsawdsa": open chest with 1 rows named "&e&lEnderDragon Chest" to player wait 2 tick format slot 0 of player with 1 of 166 named "&8>&a>&8> &c&lZAMKNIJ MENU &8<&a<&8<" with lore "&4&l> &cKliknij aby zamknac!" to close