# skChestFinder options: item1: diamond item2: dirt item3: wood item4: diamond sword item5: enchanted golden apple item6: 5 diamond item7: 8 diamond item8: 11 diamond item9: diamond of infinity 10 item10: apple of sharpness 5 named "omg" item11: 2 bedrock named "hehe" item12: diamond pickaxe of efficiency 200 item13: 5 dirt named "siema" item14: wood of unbreaking 1 item15: 7 golden sword command /skcf [] [] []: permission: skcf.* permission message: &4Nie masz do tego uprawnien! aliases: skchestfinder, skchestf, skcfinder trigger: if arg 1 is not set: send "&2*******************" send "&b/skcf daj [gracz]" send "&b/skcf drop" send "&b/skcf dajklucz [gracz]" send "&b/skcf czysc" send "&2*******************" if arg 1 is "give" or "daj" or "dodaj" or "g" or "d": if arg 2 is set: give chest named "&6Tajemnicza Skrzynka" to the arg 2 send "&2Gracz %arg 2% otrzymal tajemnicza skrzynie!" else: give 1 chest named "&6Tajemnicza Skrzynka" to the player send "&2Otrzymales Tajemnicza Skrzynke!" if arg 1 is "drop": send "&2Drop ze skrzynek:" send "&a%{drop::*}%" if arg 1 is "clear" or "czysc" or "wyczysc": clear {drop::*} send "&cZresetowales drop!" if arg 1 is "dajklucz": if arg 2 is set: give 1 tripwire hook of unbreaking 10 named "&6Klucz" to the arg 2 send "&2Gracz %arg 2% otrzymal 1 klucz!" else: give 1 tripwire hook of unbreaking 10 named "&6Klucz" to the player send "&2Otrzymales 1 klucz!" on load: add {@item1} to {drop::*} add {@item2} to {drop::*} add {@item3} to {drop::*} add {@item4} to {drop::*} add {@item5} to {drop::*} add {@item6} to {drop::*} add {@item7} to {drop::*} add {@item8} to {drop::*} add {@item9} to {drop::*} add {@item10} to {drop::*} add {@item11} to {drop::*} add {@item12} to {drop::*} add {@item13} to {drop::*} add {@item14} to {drop::*} add {@item15} to {drop::*} stop on place a chest: if player's tool is chest named "&6Tajemnicza Skrzynka": cancel event set event-block to air if player has tripwire hook of unbreaking 10 named "&6Klucz": remove 1 chest named "&6Tajemnicza Skrzynka" from the player remove 1 tripwire hook named "&6Klucz" from the player drop a random item out of {drop::*} show mob spawner flames at event-block else: send "&cMusisz miec klucz w ekwipunku!" on place a tripwire hook: if player's tool is a tripwire hook named "&6Klucz": cancel event send "&cNie mozesz postawic klucza!" on death: if victim is zombie or spider or skeleton or slime or ghast or horse or silverfish: chance of 0.1%: drop 1 chest named "&6Tajemnicza Skrzynka" at the victim send "&aUdalo ci sie wydropic Tajemnicza Skrzynke!" to attacker chance of 0.01%: drop 1 tripwire hook of unbreaking 10 named "&6Klucz" at the victim send "&aUdalo ci sie wydropic Klucz do Tajemniczej Skrzynki!" to attacker