options: emerald: 1 ksiazka: 1 jabko: 1 zloto: 1 zelazo: 1 diament: 1 emerald.event: 2 ksiazka.event: 2 jabko.event: 2 zloto.event: 2 zelazo.event: 2 diament.event: 2 on break of stone: if {event::status} is not set: chance of {@emerald}%: if player can hold 1 emerald: give 1 emerald to player stop else: drop 1 emerald stop chance of {@ksiazka}%: if player can hold 1 book: give 1 book to player stop else: drop 1 book stop chance of {@jabko}%: if player can hold 1 apple: give 1 apple to player stop else: drop 1 apple stop chance of {@zelazo}%: if player can hold 1 iron ore: give 1 iron ore to player stop else: drop 1 iron ore stop chance of {@zloto}%: if player can hold 1 gold ore: give 1 gold ore to player stop else: drop 1 gold ore stop chance of {@diament}%: if player can hold 1 diamond: give 1 diamond to player stop else: drop 1 diamond stop command /drop: trigger: if player does not have permission "admin.drop": open chest with 4 rows named "&cDrop" to player format slot 0 of player with 1 of emerald named "&aEmerald" with lore "&cAktualna szansa: &6{@emerald}||&cSzansa podczas eventu: &6{@emerald.event}||&cEvent: &c%{event::status}%" to close format slot 1 of player with 1 of book named "&9Ksiazka" with lore "&cAktualna szansa: &6{@ksiazka}||&cSzansa podczas eventu: &6{@ksiazka.event}||&cEvent: &c%{event::status}%" to close format slot 2 of player with 1 of apple named "&cJablko" with lore "&cAktualna szansa: &6{@jabko}||&cSzansa podczas eventu: &6{@jabko.event}||&cEvent: &c%{event::status}%" to close format slot 3 of player with 1 of iron ingot named "&7Zelazo" with lore "&cAktualna szansa: &6{@zelazo}||&cSzansa podczas eventu: &6{@zelazo.event}||&cEvent: &c%{event::status}%" to close format slot 4 of player with 1 of gold ingot named "&6Zloto" with lore "&cAktualna szansa: &6{@zloto}||&cSzansa podczas eventu: &6{@zloto.event}||&cEvent: &c%{event::status}%" to close format slot 5 of player with 1 of diamond named "&bDiament" with lore "&cAktualna szansa: &6{@diament}||&cSzansa podczas eventu: &6{@diament.event}||&cEvent: &c%{event::status}%" to close