options: pandoraname: &8&l>> &4&lPUSZKA PANDORY &8&l<< pandoralore: ||&8» &ePostaw Na Ziemi Aby Otrzymac Item||&8» &eMozna Kupic Na Stronie Serwera /sklep item11: diamond sword of sharpness 5 and fire aspect 2 item21: diamond pickaxe of efficiency 5 and unbreaking 3 and fortune 3 item31: diamond helmet of protection 4 and unbreaking 3 item41: Diamond Chestplate of protection 4 and unbreaking 3 item51: Diamond Leggings of protection 4 and unbreaking 3 item61: Diamond Boots of protection 4 and unbreaking 3 item71: emerald block item81: enchanted golden apple item91: golden apple item101: ender pearl command /8stronapierozek []: permission: Itachi.skrzynki trigger: if arg is set: broadcast "&7&lGracz &6&l%player-arg% &7&lZakupil: &6&lx8 Pierozkow" loop 8 times: give player-arg Dragon Egg named "{@pandoraname}" with lore "{@pandoralore}" if arg is not set: send "nick?" command /16stronapierozek []: permission: Itachi.skrzynki trigger: if arg is set: broadcast "&7&lGracz &6&l%player-arg% &7&lZakupil: &6&lx16 Pierozkow" loop 16 times: give player-arg Dragon Egg named "{@pandoraname}" with lore "{@pandoralore}" if arg is not set: send "nick?" command /ipandora []: permission: Itachi.skrzynki trigger: if arg 1 is "daj": give player Dragon Egg named "{@pandoraname}" with lore "{@pandoralore}" send "&eDostales pandorke" stop if arg 1 is "all": broadcast "&4Za 30 sek kazdy dostanie Puszke Pandory &8(&6Mususz Miec 1 Wolne Miejsce W EQ&8)" wait 600 ticks set {pierozekall} to false loop all players: loop 2 times: give loop-player Dragon Egg named "{@pandoraname}" with lore "{@pandoralore}" stop if arg 1 is "on": broadcast "&ePuszki pandory zostaly &awlaczone&e." clear {puszki.kithc.on} stop if arg 1 is "off": broadcast "&ePuszki pandory zostaly &cwylaczone&e." set {puszki.kithc.on} to false stop else: send "&cPoprawne uzycie: /ipandora daj|all|on|off" stop on place Dragon Egg: cancel event if player is holding a Dragon Egg named "{@pandoraname}" with lore "{@pandoralore}": if {puszki.kithc.on} is not set: remove 1 Dragon Egg named "{@pandoraname}" with lore "{@pandoralore}" from the player chance of 15%: if player can hold diamond sword: give player {@item11} broadcast "&a&l*** &6Gracz &e%player% &6Wylosowal: &cDiax Miecz 5/2 &a&l***" stop else: drop {@item11} broadcast "&a&l*** &6Gracz &e%player% &6Wylosowal: &cDiax Miecz 5/2 &a&l***" stop chance of 10%: broadcast "&a&l*** &6Gracz &e%player% &6Wylosowal: &c24x Kopacz fosy &a&l***" loop 24 times: if player can hold 1 enchantment table of infinity 1 named "&cKOPACZ FOSY" with lore "&5-&7Poloz Na Ziemi A Wykopie Dziure Do &8Bedroka": give player enchantment table of infinity 1 named "&cKOPACZ FOSY" with lore "&5-&7Poloz Na Ziemi A Wykopie Dziure Do &8Bedroka" else: drop enchantment table of infinity 1 named "&cKOPACZ FOSY" with lore "&5-&7Poloz Na Ziemi A Wykopie Dziure Do &8Bedroka" stop chance of 30%: if player can hold diamond pickaxe: give player {@item21} broadcast "&a&l*** &6Gracz &e%player% &6Wylosowal: &cDiax Kilof 5/3/3 &a&l***" stop else: drop {@item21} broadcast "&a&l*** &6Gracz &e%player% &6Wylosowal: &cDiax Kilof 5/3/3 &a&l***" stop chance of 30%: if player can hold diamond helmet: give player {@item31} broadcast "&a&l*** &6Gracz &e%player% &6Wylosowal: &cDiax Helm 4/3 &a&l***" stop else: drop {@item31} broadcast "&a&l*** &6Gracz &e%player% &6Wylosowal: &cDiax Helm 4/3 &a&l***" stop chance of 30%: if player can hold diamond chestplate: give player {@item41} broadcast "&a&l*** &6Gracz &e%player% &6Wylosowal: &cDiax Klate 4/3 &a&l***" stop else: drop {@item41} broadcast "&a&l*** &6Gracz &e%player% &6Wylosowal: &cDiax Klate 4/3 &a&l***" stop chance of 30%: if player can hold diamond Leggings: give player {@item51} broadcast "&a&l*** &6Gracz &e%player% &6Wylosowal: &cDiax Spodnie 4/3 &a&l***" stop else: drop {@item51} broadcast "&a&l*** &6Gracz &e%player% &6Wylosowal: &cDiax Spodnie 4/3 &a&l***" stop chance of 30%: if player can hold diamond boots: give player {@item61} broadcast "&a&l*** &6Gracz &e%player% &6Wylosowal: &cDiax Buty 4/3 &a&l***" stop else: drop {@item61} broadcast "&a&l*** &6Gracz &e%player% &6Wylosowal: &cDiax Buty 4/3 &a&l***" stop chance of 30%: broadcast "&a&l*** &6Gracz &e%player% &6Wylosowal: &c16x Bloki Szmaragdow &a&l***" loop 16 times: if player can hold emerald block: give player {@item71} else: drop {@item71} stop chance of 25%: broadcast "&a&l*** &6Gracz &e%player% &6Wylosowal: &c3x Kox &a&l***" loop 3 times: if player can hold enchanted golden apple: give player {@item81} else: drop {@item81} stop chance of 25%: broadcast "&a&l*** &6Gracz &e%player% &6Wylosowal: &c15x Refow &a&l***" loop 15 times: if player can hold golden apple: give player {@item91} else: drop {@item91} stop chance of 10%: broadcast "&a&l*** &6Gracz &e%player% &6Wylosowal: &c3x Enderpearl &a&l***" loop 3 times: if player can hold ender pearl: give player {@item101} else: drop {@item101} stop chance of 100%: if player can hold Dragon Egg named "{@pandoraname}" with lore "{@pandoralore}": give player Dragon Egg named "{@pandoraname}" with lore "{@pandoralore}" broadcast "&a&l*** &6Gracz &e%player% &6Wylosowal: &c Puszke Pandory &a&l***" stop else: drop Dragon Egg named "{@pandoraname}" with lore "{@pandoralore}" broadcast "&a&l*** &6Gracz &e%player% &6Wylosowal: &c Puszke Pandory &a&l***" stop if {puszki.kithc.on} is set: send "&cBLAD: &4puszki pandory sa wylaczone." to player chance of 10%: broadcast "&a&l*** &6Gracz &e%player% &6Wylosowal: &c1x &6&lStoniarka***" loop 2 times: if player can hold 1 Sponge named "&6&lStoniarka" with lore "&5-&7Poloz Na Ziemi A Bedziesz mial nieskonczonego &8Stona": give player 19 named "&6&lStoniarka" with lore "&5-&7Poloz Na Ziemi A Bedziesz mial nieskonczonego &8Stona": else: drop Sponge named "&6&lStoniarka" with lore "&5-&7Poloz Na Ziemi A Bedziesz mial nieskonczonego &8Stona" stop