command /pandora: permissions: pandora.perm.bew trigger: open chest with 1 rows named "&7&l• &a&lPandora &7&l•" to player wait 2 tick format slot 1 of player with 1 of dragon egg named "&a&lPandora Daj" to close then run "puszka daj" format slot 3 of player with 1 of dragon egg named "&a&lPandora all" to close then run "puszka all" format slot 5 of player with 1 of Diamond named "&a&lPandora On" to close then run "puszka on" format slot 0 of player with 1 of 160:14 named "&2&lA&7&lM &9Szklo" to close format slot 4 of player with 1 of 160:14 named "&2&lA&7&lM &9Szklo" to close format slot 2 of player with 1 of 160:14 named "&2&lA&7&lM &9Szklo" to close format slot 6 of player with 1 of 160:14 named "&2&lA&7&lM &9Szklo" to close format slot 7 of player with 1 of Diamond named "&a&lPandora Off" to close then run "puszka off" format slot 8 of player with 1 of 160:14 named "&2&lA&7&lM &9Szklo" to close format slot 8 of player with 1 of 160:14 named "&2&lA&7&lM &9Szklo" to close options: pandoraname: &8&l✾ &b&lPuszka Pandory &8&l✾ pandoralore: ||&8» &ePostaw Na Ziemi Aby Otrzymac Item||&8» &eMozna Kupic Na Stronie Serwera www.xbcmc.pl 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: pandora.perm trigger: if arg is set: broadcast "&7>> &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: pandora.perm trigger: if arg is set: broadcast "&7>> &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 /puszka []: permission: pandora.perm trigger: if arg 1 is "daj": give player Dragon Egg named "{@pandoraname}" with lore "{@pandoralore}" send "&2&lA&7&lM &eDostales pandorke" stop if arg 1 is "all": broadcast "&8>> &aZa 30 sek kazdy dostanie Puszke Pandory &8( &9Mususz 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 "&8>> &3Puszka Pandory Zostala &aWlaczona &8!" clear {pandora.perm.on} stop if arg 1 is "off": broadcast "&2&lA&7&lM &3Puszka Pandory Zostala &4Wylaczona &8!" set {pandora.perm.on} to false stop else: send "&8>> &cPoprawne uzycie: /puszka daj|all|on|off" stop on place Dragon Egg: cancel event if player is holding a Dragon Egg named "{@pandoraname}" with lore "{@pandoralore}": if {pandora.perm.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 "&8[&aPUSZKA PANDORY&8] &8&l✔ &6Gracz &e%player% &6Wylosowal: &cDiax Miecz 5/2 &8&l✔ &8( &a15 PROCENT SZANSY &8)" stop else: drop {@item11} broadcast "&8[&aPUSZKA PANDORY&8] &8&l✔ &6Gracz &e%player% &6Wylosowal: &cDiax Miecz 5/2 &8&l✔ &8( &a15 PROCENT SZANSY &8)" stop stop chance of 30%: if player can hold diamond pickaxe: give player {@item21} broadcast "&8[&aPUSZKA PANDORY&8] &8&l✔ &6Gracz &e%player% &6Wylosowal: &cDiax Kilof 5/3/3 &8&l✔ &8( &b30 PROCENT SZANSY &8)" stop else: drop {@item21} broadcast "&8[&aPUSZKA PANDORY&8] &8&l✔ &6Gracz &e%player% &6Wylosowal: &cDiax Kilof 5/3/3 &8&l✔ &8( &b30 PROCENT SZANSY &8)" stop chance of 25%: if player can hold diamond helmet: give player {@item31} broadcast "&8[&aPUSZKA PANDORY&8] &8&l✔ &6Gracz &e%player% &6Wylosowal: &cDiax Helm 4/3 &8&l✔ &8( &a25 PROCENT SZANSY &8)" stop else: drop {@item31} broadcast "&8[&aPUSZKA PANDORY&8] &8&l✔ &6Gracz &e%player% &6Wylosowal: &cDiax Helm 4/3 &8&l✔ &8( &a25 PROCENT SZANSY &8)" stop chance of 32%: if player can hold diamond chestplate: give player {@item41} broadcast "&8[&aPUSZKA PANDORY&8] &8&l✔ &6Gracz &e%player% &6Wylosowal: &cDiax Klate 4/3 &8&l✔ &8( &a32 PROCENT SZANSY &8)" stop else: drop {@item41} broadcast "&8[&aPUSZKA PANDORY&8] &8&l✔ &6Gracz &e%player% &6Wylosowal: &cDiax Klate 4/3 &8&l✔ &8( &a32 PROCENT SZANSY &8)" stop chance of 27%: if player can hold diamond Leggings: give player {@item51} broadcast "&8[&aPUSZKA PANDORY&8] &8&l✔ &6Gracz &e%player% &6Wylosowal: &cDiax Spodnie 4/3 &8&l✔ &8( &727 PROCENT SZANSY &8)" stop else: drop {@item51} broadcast "&8[&aPUSZKA PANDORY&8] &8&l✔ &6Gracz &e%player% &6Wylosowal: &cDiax Spodnie 4/3 &8&l✔ &8( &727 PROCENT SZANSY &8)" stop chance of 25%: if player can hold diamond boots: give player {@item61} broadcast "&8[&aPUSZKA PANDORY&8] &8&l✔ &6Gracz &e%player% &6Wylosowal: &cDiax Buty 4/3 &8&l✔ &8( &125 PROCENT SZANSY &8)" stop else: drop {@item61} broadcast "&8[&aPUSZKA PANDORY&8] &8&l✔ &6Gracz &e%player% &6Wylosowal: &cDiax Buty 4/3 &8&l✔ &8( &125 PROCENT SZANSY &8)" stop chance of 30%: broadcast "&8[&aPUSZKA PANDORY&8] &8&l✔ &6Gracz &e%player% &6Wylosowal: &c16x Bloki Szmaragdow &8&l✔ &8( &930 PROCENT SZANSY &8)" loop 16 times: if player can hold emerald block: give player {@item71} else: drop {@item71} stop chance of 90%: broadcast "&8[&aPUSZKA PANDORY&8] &8&l✔ &6Gracz &e%player% &6Wylosowal: &b&lB&aE&4A&dC&eO&6N&2A &8&l✔ &8( &4&l10 PROCENT SZANSY &8)" loop 1 times: if player can hold beacon: give player beacon else: drop beacon stop chance of 90%: broadcast "&8[&aPUSZKA PANDORY&8] &8&l✔ &6Gracz &e%player% &6Wylosowal: &2&lJajka Crepera &8&l✔ &8( &3&l15 PROCENT SZANSY &8)" loop 1 times: if player can hold 383:50: give player 2 383:50 else: drop 2 383:50 stop chance of 20%: broadcast "&8[&aPUSZKA PANDORY&8] &8&l✔ &6Gracz &e%player% &6Wylosowal: &c3x Kox &8&l✔ &8( &620 PROCENT SZANSY &8)" loop 3 times: if player can hold enchanted golden apple: give player {@item81} else: drop {@item81} stop chance of 35%: broadcast "&8[&aPUSZKA PANDORY&8] &8&l✔ &6Gracz &e%player% &6Wylosowal: &c15x Refow &8&l✔ &8( &635 PROCENT SZANSY &8)" loop 15 times: if player can hold golden apple: give player {@item91} else: drop {@item91} stop chance of 10%: broadcast "&8[&aPUSZKA PANDORY&8] &8&l✔ &6Gracz &e%player% &6Wylosowal: &c3x Enderpearl &8&l✔ &8( &310 PROCENT SZANSY &8)" loop 3 times: if player can hold ender pearl: give player {@item101} else: drop {@item101} if {pandora.perm.on} is set: send "&8>> &3Puszka Pandory Jest &4Wylaczona !" to player