on place: if player's tool is chest: if name of player's tool is "&7[&4&lPremium&f&lCase&7]": cancel event on right click: if player's tool is chest: if name of player's tool is "&4&lPremium &f&lCase": broadcast "&7######################################################################################################" 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 "&4&lKLATA &f&lWPIERDOLU" broadcast "&7- &61x &4&lKLATA WPIERDOLU" chance of 50%: drop 64 emerald broadcast "&7- &664x Emeraldy" chance of 50%: drop 1 310 of protection 7 and unbreaking 7 named "&4&lCZAPKA &f&lWPIERDOLKA" 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 "&4&lLEGGINSY &F&LSEXMASTERKI" 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 "&4&LWKURWIONA MARZENKA" 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 "&4&lENERDZI &f&lJANEK" broadcast "&7- &61x Kilof 7/5/5" broadcast "&8| &7PremiumCase zakupisz na: &6www.sklep-sms.pl" broadcast "&8| &7Za &6PSC &7i &6PRZELEW &7kupisz na: &6www.sklep-sms.pl" broadcast "&7######################################################################################################" remove 1 chest named "&7[&4&lPremium&f&lCase&7]" from player's inventory command /premiumcase [] []: permission: mchard.premiumcase permission message: &4&lBLAD&c: &c&lNie masz permisji &7(mchard.premiumcase) trigger: if arg 1 is not set: send "&7[&4&lPremium&f&lCase&7] &c " if arg 2 is not set: give 1 54 named "&4&lPremium &f&lCase" to player send "&7[&4&lPremium&f&lCase&7] &cOtrzymales Premium Case &x%arg 2% !" if arg 2 is "all": give 1 54 named "&4&lPremium &f&lCase" to all players broadcast "&7[&4&lUWAGA&7]&cCaly serwer otrzymal &4&lPREMIUM &F&LCASE &3X%arg 1% &cod &5&l%player%" send "&7[&4&lPremium&f&lCase&7] &cOtrzymales Premium Case &x%arg 2% !" to all players command /5pcase []: trigger: if sender is console: give 5 54 named "&4&lPremium &f&lCase" to %the argument 1% broadcast "&7######################################################################################################" broadcast "&6" broadcast "&3Gracz &5%player-arg% &3zakupil &65x &4&lPREMIUM &f&lCASE" broadcast "&4&lDZIEKUJEMY ZA WSPARCIE SERWERA!" broadcast "&4&lPREMIUM &f&lCASE &3mozesz zakupic na naszej stronie &7www.sklep-sms.pl" broadcast "&6" broadcast "&7######################################################################################################"