options: tag: &6PremiumCase on place: if player's tool is chest: if name of player's tool is "&8[&6*&8] &7PremiumCase &8[&6*&8]": cancel event on right click: if player's tool is chest: if name of player's tool is "&8[&6*&8] &7PremiumCase &8[&6*&8]": broadcast "&8[&6*&8]----------------&8[&6*&8]" broadcast "&6%player% &7Otworzyl Premium Case &7i wydropil:" chance of 70%: drop 64 diamond broadcast "&7- &664x Diaxy" chance of 40%: drop 1 311 of protection 10 and unbreaking 10 named "&3Klata Allacha" broadcast "&7- &61x Klata 10/10" chance of 50%: drop 64 emerald broadcast "&7- &664x Emeraldy" chance of 50%: drop 1 310 of protection 7 and unbreaking 7 named "&3Bania Ogrodnika" broadcast "&7- &61x Helm 7/7" chance of 80%: drop 64 gold ingot broadcast "&7- &664x Zelazo" chance of 40%: drop 1 312 of protection 7 and unbreaking 7 named "&3Spodnie Cygana" broadcast "&7- &61x Spodnie 7/7" chance of 90%: drop 64 gold ingot broadcast "&7- &664x Zloto" chance of 40%: drop 1 276 of sharpness 6 and fire aspect 2 named "&5Obieracz Swinek" broadcast "&7- &61x Miecz 6/2" chance of 90%: drop 64 TNT broadcast "&7- &664x TNT" chance of 40%: drop 1 278 of efficiency 7 and unbreaking 5 and fortune 5 named "&4Kilov Szybkosci" broadcast "&7- &61x Kilof 7/5/5" broadcast "&8| &7PremiumCase zakupisz na: &6WWW.SHOP-SMS.PL" broadcast "&8| &7Za &6PSC &7i &6PRZELEW &7kupisz na: &6WWW.SHOP-SMS.PL" broadcast "&8[&6*&8]----------------&8[&6*&8]" remove 1 chest named "&8[&6*&8] &7PremiumCase &8[&6*&8]" from player's inventory command /pcase [] []: permission: rex.premiumcase trigger: if arg 1 is not set: if arg 2 is not set: send "{@tag} &7/pcase [Nick] [Ilosc]" else if arg 1 is set: else if arg 2 is set: execute console command "give %arg 1% chest %arg 2% name:&8[&6*&8]_&7PremiumCase_&8[&6*&8]" send "{@tag} &7Otrzymales Premium Case x%arg 2% !" to player-arg