options: tag: &8&l[ &c&lPremiumCase &8&l] &6&l-> &f&l on place: if player's tool is chest: if name of player's tool is "&8[ &c&lPremium Case&8 ]": cancel event on right click: if player's tool is chest: if name of player's tool is "&8[ &c&lPremium Case&8 ]": broadcast "&8&l&m-----&8&l<&c*&8&l>&m-----" broadcast "&8[ &c%player% &8] &6Otworzyl &c&lPremium Case &6I wydropil&8:" chance of 25%: drop 1 313 of protection 4 and unbreaking 3 broadcast "&6&l-> &b&lButki &8[ &c4/3 &8]" chance of 25%: drop 1 311 of protection 4 and unbreaking 3 broadcast "&6&l-> &b&lKlata &8[ &c4/3 &8]" chance of 30%: drop 32 emerald broadcast "&6&l-> &2&lEmeraldy &8[ &c32 &8]" chance of 25%: drop 1 310 of protection 4 and unbreaking 3 broadcast "&6&l-> &6&lBania &8[ &c4/3 &8]" chance of 18%: drop 6 322:1 broadcast "&6&l-> &e&lKoxy &8[ &c6 &8]" chance of 20%: drop 1 312 of protection 4 and unbreaking 3 broadcast "&6&l-> &6&lSpodnie &8[ &c4/3 &8]" chance of 35%: drop 4 322:0 broadcast "&6&l-> &e&lRefile &8[ &c4 &8]" chance of 25%: drop 1 276 of sharpness 5 and fire aspect 2 broadcast "&6&l-> &b&lMiecz &8[ &c5/2 &8]" chance of 6%: drop 16 133 broadcast "&6&l-> &a&lEmerald Bloki &8[ &c16 &8]" chance of 22%: drop 2 322:1 broadcast "&6&l-> &e&lKoxy &8[ &c2 &8]" chance of 1%: drop 1 beacon of lure 10 named "&c&lB&a&lE&6&lA&f&lC&d&lO&9&lN" broadcast "&6&l-> &4&lBEACON&c&l! &8[ &cGZ! &8]" chance of 22%: drop 1 278 of efficiency 6 and unbreaking 3 and fortune 3 broadcast "&6&l-> &b&lKilof &8[ &c6/3/3 &8]" broadcast "&8| &c&lPremium Case &8Zakupisz na &8[ &cWWW &8]" broadcast "&8| &c&lPremium Case &8Zakupisz na &8[ &cWWW &8]" broadcast "&8&l&m-----&8&l<&c*&8&l>&m-----" remove 1 chest named "&8[_&c&lPremium_Case&8_]" from player's inventory command /case [] []: permission: vipeq.premiumcase permission message: Nie masz dostepu do rozdawania case! trigger: if arg 1 is not set: if arg 2 is not set: send "{@tag} &6&l/&e&lcase &8&l[ &cNICK &8&l] [ &cILOSC &8&l]" if arg 1 is set: if arg 2 is set: execute console command "give %arg 1% chest %arg 2% name:&8[_&c&lPremium_Case&8_]" send "{@tag} &a&lOtrzymales &c&lPremium Case &c&l%arg 2% &a&l!" to player-arg