options: tag: &8[&bPremium&3 Case&8] on place: if player's tool is chest: if name of player's tool is "&8[&b&lPremium &3&lCase&8]": cancel event on right click: if player's tool is chest: if name of player's tool is "&8[&b&lPremium &3&lCase&8]": broadcast "&8######################################" broadcast "&c%player% &7Otworzyl &9&lPremium Case &7i wydropil:" chance of 70%: drop 64 diamond broadcast "&7- &c64x Diaxy" chance of 40%: drop 1 311 of protection 10 and unbreaking 10 named "&5&lSet 10/10" broadcast "&7- &c1x Klata 10/10" chance of 50%: drop 64 emerald broadcast "&7- &c64x Emeraldy" chance of 50%: drop 1 310 of protection 10 and unbreaking 10 named "&5&lSet 10/10" broadcast "&7- &c1x Helm 10/10" chance of 80%: drop 64 gold ingot broadcast "&7- &c64x Zelazo" chance of 40%: drop 1 312 of protection 10 and unbreaking 10 named "&5&lSet 10/10" broadcast "&7- &c1x Spodnie 10/10" chance of 90%: drop 64 gold ingot broadcast "&7- &c64x Zloto" chance of 40%: drop 1 276 of sharpness 8 and fire aspect 4 named "&5&lMiecz 8/4" broadcast "&7- &c1x Miecz 8/4" chance of 90%: drop 64 TNT broadcast "&7- &c64x TNT" chance of 40%: drop 1 278 of efficiency 7 and unbreaking 5 and fortune 5 named "&5&lKilof 7/5/5" broadcast "&7- &c1x Kilof 7/5/5" remove 1 chest named "&8[&b&lPremium &3&lCase&8]" from player's inventory command /case [] []: permission: rex.premiumcase trigger: if arg 1 is not set: if arg 2 is not set: send "{@tag} &8/&ecase &8[&eNick&8] [&eIlosc&8]" if arg 1 is set: if arg 2 is set: execute console command "give %arg 1% chest %arg 2% name:&8[&b&lPremium_&3&lCase&8]" send "{@tag} &a&lOtrzymales &b&lPremium &3&lCase &7&lx&c&l%arg 2% &a&l!" to player-arg command /caseall: permission: rex.premiumcase trigger: broadcast "" broadcast "&aCaly serwer otrzymal &c1 &8[&b&lPremium &3&lCase&8]" give 1 chest named "&8[&b&lPremium_&3&lCase&8]" to all players