command /premiumcase []: trigger: if arg 1 is not set: open chest with 5 rows named "&cDrop z premium case!" to player format slot 0 of player with 1 of diamond sword named "&6Miecz &c5&6/&c2" with lore "&7Enchant: &cSharpness 5&7, &cFire aspect 2&7.||&7Szansa: &c15%%" to close format slot 1 of player with 1 of diamond helmet named "&6Helm &c4&6/&c3" with lore "&7Enchant: &cProtection 4&7, &cUnbreaking 3&7.||&7Szansa: &c10%%" to close format slot 2 of player with 1 of diamond chestplate named "&6Klata &c4&6/&c3" with lore "&7Enchant: &cProtection 4&7, &cUnbreaking 3&7.||&7Szansa: &c10%%" to close format slot 3 of player with 1 of diamond leggings named "&6Spodnie &c4&6/&c3" with lore "&7Enchant: &cProtection 4&7, &cUnbreaking 3&7.||&7Szansa: &c10%%" to close format slot 4 of player with 1 of diamond boots named "&6Buty &c4&6/&c3" with lore "&7Enchant: &cProtection 4&7, &cUnbreaking 3&7.||&7Szansa: &c10%%" to close format slot 5 of player with 1 of tnt named "&6Rzucane TNT" with lore "&7Enchant: &cBrak&7.||&7Szansa: &c3%%" to close format slot 6 of player with 32 of diamond named "&632 Diamenty" with lore "&7Enchant: &cBrak&7.||&7Szansa: &c6%%" to close format slot 7 of player with 64 of diamond named "&664 Diamenty" with lore "&7Enchant: &cBrak&7.||&7Szansa: &c4%%" to close format slot 8 of player with 32 of gold ingot named "&632 Zlota" with lore "&7Enchant: &cBrak&7.||&7Szansa: &c5%%" to close format slot 9 of player with 64 of gold ingot named "&664 Zlota" with lore "&7Enchant: &cBrak&7.||&7Szansa: &c3%%" to close format slot 10 of player with 32 of emerald named "&632 Emeraldow" with lore "&7Enchant: &cBrak&7.||&7Szansa: &c5%%" to close format slot 11 of player with 64 of emerald named "&664 Emeraldow" with lore "&7Enchant: &cBrak&7.||&7Szansa: &c3%%" to close format slot 12 of player with 32 of stick named "&632 Patyki" with lore "&7Enchant: &cBrak&7.||&7Szansa: &c15%%" to close format slot 13 of player with 64 of stick named "&664 Patyki" with lore "&7Enchant: &cBrak&7.||&7Szansa: &c9%%" to close format slot 14 of player with 32 of dirt named "&632 Ziemii" with lore "&7Enchant: &cBrak&7.||&7Szansa: &c5%%" to close format slot 15 of player with 64 of dirt named "&664 Ziemii" with lore "&7Enchant: &cBrak&7.||&7Szansa: &c3%%" to close format slot 16 of player with 64 of obsidian named "&664 Obsydianu" with lore "&7Enchant: &cBrak&7.||&7Szansa: &c6%%" to close format slot 17 of player with 8 of ender pearl named "&68 Perel" with lore "&7Enchant: &cBrak&7.||&7Szansa: &c3%%" to close format slot 18 of player with 10 of golden apple:0 named "&610 Zlotych jablek" with lore "&7Enchant: &cBrak&7.||&7Szansa: &c2%%" to close format slot 19 of player with 5 of golden apple:0 named "&65 Zlotych jablek" with lore "&7Enchant: &cBrak&7.||&7Szansa: &c4%%" to close format slot 20 of player with 1 of golden apple:1 named "&61 Kox" with lore "&7Enchant: &cBrak&7.||&7Szansa: &c4%%" to close format slot 21 of player with 3 of golden apple:1 named "&63 Koxy" with lore "&7Enchant: &cBrak&7.||&7Szansa: &c2%%" to close format slot 22 of player with 1 of beacon named "&61 &aB&be&ca&dc&eo&fn" with lore "&7Enchant: &cBrak&7.||&7Szansa: &c0.5%%" to close format slot 23 of player with 1 of diamond pickaxe named "&61 Kilof &c5&6/&c3&6/&c3" with lore "&7Enchant: &cEfficiency 5&7, &cUnbreaking 3&7, &cFortune 3&7.||&7Szansa: &c7%%" to close format slot 24 of player with 1 of diamond pickaxe named "&61 Kilof &c6&6/&c3&6/&c3" with lore "&7Enchant: &cEfficiency 6&7, &cUnbreaking 3&7, &cFortune 3&7.||&7Szansa: &c1%%" to close format slot 25 of player with 1 of iron sword named "&61 Miecz &c3&6/&c1" with lore "&7Enchant: &cKnockback 3&7, &cUnbreaking 1&7.||&7Szansa: &c2%%" to close format slot 26 of player with 1 of iron sword named "&61 Miecz &c8&6/&c2&6/&c3" with lore "&7Enchant: &cSharpness 8&7, &cUnbreaking 2&7, &cFire Aspect 3&7.||&7Szansa: &c1.5%%" to close format slot 27 of player with 1 of bow named "&61 Luk &c3&6/&c2&6/&c1" with lore "&7Enchant: &cUnbreaking 3&7, &cPunch 2&7, &cInfinity 1&7.||&7Szansa: &c3%%" to close format slot 28 of player with 1 of bow named "&61 Luk &c5&6/&c3&6/&c1&6/&c1" with lore "&7Enchant: &cPower 5&7, &cUnbreaking 3&7, &cInfinity 1&7, &cFlame 1&7.||&7Szansa: &c2.5%%" to close format slot 29 of player with 1 of diamond sword named "&61 Miecz &c6&6/&c4" with lore "&7Enchant: &cSharpness 6&7, &cFire Aspect 4&7.||&7Szansa: &c1.5%%" to close format slot 30 of player with 1 of diamond helmet named "&6Helm &c5&6/&c4" with lore "&7Enchant: &cProtection 5&7, &cUnbreaking 4&7.||&7Szansa: &c2%%" to close format slot 31 of player with 1 of diamond chestplate named "&6Klata &c5&6/&c4" with lore "&7Enchant: &cProtection 5&7, &cUnbreaking 4&7.||&7Szansa: &c2%%" to close format slot 32 of player with 1 of diamond leggings named "&6Spodnie &c5&6/&c4" with lore "&7Enchant: &cProtection 5&7, &cUnbreaking 4&7.||&7Szansa: &c2%%" to close format slot 33 of player with 1 of diamond boots named "&6Buty &c5&6/&c4" with lore "&7Enchant: &cProtection 5&7, &cUnbreaking 4&7.||&7Szansa: &c2%%" to close format slot 34 of player with 1 of blaze rod named "&62 Blaze Rod" with lore "&7Enchant: &cBrak&7.||&7Szansa: &c5%%" to close format slot 35 of player with 1 of 372 named "&6Brodawka" with lore "&7Enchant: &cBrak&7.||&7Szansa: &c5%%" to close format slot 39 of player with 1 of Light green glass named "&aWlacz drop wiadomosci z Premium Case" to close then run [execute player command "Premiumcase wiadon"] format slot 41 of player with 1 of red glass named "&cWylacz drop wiadomosci z Premium Case" to close then run [execute player command "Premiumcase wiadoff"] if arg 1 is "wiadoff": set {WDW.%player%} to false send "&7Wylaczyles wiadomosci dropu &cPremium Case" if arg 1 is "wiadon": set {WDW.%player%} to true send "&7Wlaczyles wiadomosci dropu &cPremium Case"