variables: {powiadomienia::%player%} = true {otwieranie3::%player%} = true command /case []: trigger: if arg-1 is not set: open chest with 3 rows named "&8» &9&lDrop z PremiumCase" to player set {otwieranie3::%player%} to false wait 3 ticks # SLOTY NA WLACZENIE POWIADOMIEN # format slot 0 of player with light green glass named "&a&l&oWLACZ POWIADOMIENIA DROPOW Z PREMIUMCASE NA CHACIE" to close then run [make player execute command "/cpow on"] format slot 1 of player with light green glass named "&a&l&oWLACZ POWIADOMIENIA DROPOW Z PREMIUMCASE NA CHACIE" to close then run [make player execute command "/cpow on"] format slot 9 of player with light green glass named "&a&l&oWLACZ POWIADOMIENIA DROPOW Z PREMIUMCASE NA CHACIE" to close then run [make player execute command "/cpow on"] format slot 10 of player with light green glass named "&a&l&oWLACZ POWIADOMIENIA DROPOW Z PREMIUMCASE NA CHACIE" to close then run [make player execute command "/cpow on"] format slot 18 of player with light green glass named "&a&l&oWLACZ POWIADOMIENIA DROPOW Z PREMIUMCASE NA CHACIE" to close then run [make player execute command "/cpow on"] format slot 19 of player with light green glass named "&a&l&oWLACZ POWIADOMIENIA DROPOW Z PREMIUMCASE NA CHACIE" to close then run [make player execute command "/cpow on"] # SLOTY NA WYLACZENIE POWIADOMIEN # format slot 7 of player with red glass named "&c&l&oWYLACZ POWIADOMIENIA DROPOW Z PREMIUMCASE NA CHACIE" to close then run [make player execute command "/cpow off"] format slot 8 of player with red glass named "&c&l&oWYLACZ POWIADOMIENIA DROPOW Z PREMIUMCASE NA CHACIE" to close then run [make player execute command "/cpow off"] format slot 16 of player with red glass named "&c&l&oWYLACZ POWIADOMIENIA DROPOW Z PREMIUMCASE NA CHACIE" to close then run [make player execute command "/cpow off"] format slot 17 of player with red glass named "&c&l&oWYLACZ POWIADOMIENIA DROPOW Z PREMIUMCASE NA CHACIE" to close then run [make player execute command "/cpow off"] format slot 25 of player with red glass named "&c&l&oWYLACZ POWIADOMIENIA DROPOW Z PREMIUMCASE NA CHACIE" to close then run [make player execute command "/cpow off"] format slot 26 of player with red glass named "&c&l&oWYLACZ POWIADOMIENIA DROPOW Z PREMIUMCASE NA CHACIE" to close then run [make player execute command "/cpow off"] # LISTA DROPOW Z PREMIUM CASE # format slot 2 of player with 1 diamond sword of sharpness 5 and fire aspect 2 to be unstealable format slot 3 of player with 1 diamond helmet of protection 4 and unbreaking 3 to be unstealable format slot 4 of player with 1 diamond chestplate of protection 4 and unbreaking 3 to be unstealable format slot 5 of player with 1 312 of protection 4 and unbreaking 3 to be unstealable format slot 6 of player with 1 diamond boots of protection 4 and unbreaking 3 to be unstealable format slot 11 of player with 64 block of emerald to be unstealable format slot 12 of player with diamond pickaxe of efficiency 6 and fortune 3 and unbreaking 3 named "&aKilof szybkosci I" to be unstealable format slot 13 of player with 1 cobblestone of silk touch 10 named "&cCobble&fX" to be unstealable format slot 14 of player with 1 obsidian named "&9BoyFarmer" to be unstealable format slot 15 of player with 1 sand named "&9SandFarmer" to be unstealable format slot 20 of player with 16 ender pearl to be unstealable format slot 21 of player with 64 tnt to be unstealable format slot 22 of player with 64 block of gold to be unstealable format slot 23 of player with 64 block of diamond to be unstealable format slot 24 of player with 1 beacon to be unstealable wait 2 real seconds set {otwieranie3::%player%} to true else: open chest with 3 rows named "&8» &9&lDrop z PremiumCase" to player set {otwieranie3::%player%} to false wait 3 ticks # SLOTY NA WLACZENIE POWIADOMIEN # format slot 0 of player with light green glass named "&a&l&oWLACZ POWIADOMIENIA DROPOW Z PREMIUMCASE NA CHACIE" to close then run [make player execute command "/cpow on"] format slot 1 of player with light green glass named "&a&l&oWLACZ POWIADOMIENIA DROPOW Z PREMIUMCASE NA CHACIE" to close then run [make player execute command "/cpow on"] format slot 9 of player with light green glass named "&a&l&oWLACZ POWIADOMIENIA DROPOW Z PREMIUMCASE NA CHACIE" to close then run [make player execute command "/cpow on"] format slot 10 of player with light green glass named "&a&l&oWLACZ POWIADOMIENIA DROPOW Z PREMIUMCASE NA CHACIE" to close then run [make player execute command "/cpow on"] format slot 18 of player with light green glass named "&a&l&oWLACZ POWIADOMIENIA DROPOW Z PREMIUMCASE NA CHACIE" to close then run [make player execute command "/cpow on"] format slot 19 of player with light green glass named "&a&l&oWLACZ POWIADOMIENIA DROPOW Z PREMIUMCASE NA CHACIE" to close then run [make player execute command "/cpow on"] # SLOTY NA WYLACZENIE POWIADOMIEN # format slot 7 of player with red glass named "&c&l&oWYLACZ POWIADOMIENIA DROPOW Z PREMIUMCASE NA CHACIE" to close then run [make player execute command "/cpow off"] format slot 8 of player with red glass named "&c&l&oWYLACZ POWIADOMIENIA DROPOW Z PREMIUMCASE NA CHACIE" to close then run [make player execute command "/cpow off"] format slot 16 of player with red glass named "&c&l&oWYLACZ POWIADOMIENIA DROPOW Z PREMIUMCASE NA CHACIE" to close then run [make player execute command "/cpow off"] format slot 17 of player with red glass named "&c&l&oWYLACZ POWIADOMIENIA DROPOW Z PREMIUMCASE NA CHACIE" to close then run [make player execute command "/cpow off"] format slot 25 of player with red glass named "&c&l&oWYLACZ POWIADOMIENIA DROPOW Z PREMIUMCASE NA CHACIE" to close then run [make player execute command "/cpow off"] format slot 26 of player with red glass named "&c&l&oWYLACZ POWIADOMIENIA DROPOW Z PREMIUMCASE NA CHACIE" to close then run [make player execute command "/cpow off"] # LISTA DROPOW Z PREMIUM CASE # format slot 2 of player with 1 diamond sword of sharpness 5 and fire aspect 2 to be unstealable format slot 3 of player with 1 diamond helmet of protection 4 and unbreaking 3 to be unstealable format slot 4 of player with 1 diamond chestplate of protection 4 and unbreaking 3 to be unstealable format slot 5 of player with 1 312 of protection 4 and unbreaking 3 to be unstealable format slot 6 of player with 1 diamond boots of protection 4 and unbreaking 3 to be unstealable format slot 11 of player with 64 block of emerald to be unstealable format slot 12 of player with diamond pickaxe of efficiency 6 and fortune 3 and unbreaking 3 named "&aKilof szybkosci I" to be unstealable format slot 13 of player with 1 cobblestone of silk touch 10 named "&cCobble&fX" to be unstealable format slot 14 of player with 1 obsidian named "&9BoyFarmer" to be unstealable format slot 15 of player with 1 sand named "&9SandFarmer" to be unstealable format slot 20 of player with 16 ender pearl to be unstealable format slot 21 of player with 64 tnt to be unstealable format slot 22 of player with 64 block of gold to be unstealable format slot 23 of player with 64 block of diamond to be unstealable format slot 24 of player with 1 beacon to be unstealable wait 2 real seconds set {otwieranie3::%player%} to true command /cpow []: trigger: if arg-1 is "on": if {powiadomienia::%player%} is true: send "&8» &6Powiadomienia sa juz &4&lwlaczone" stop else: set {powiadomienia::%player%} to true send "&8» &6Od teraz widzisz &4&ldropy &6z premiumcase na chacie" stop if arg-1 is "off": if {powiadomienia::%player%} is false: send "&8» &6Powiadomienia sa juz &4&lwylaczone" stop else: set {powiadomienia::%player%} to false send "&8» &6Od teraz nie widzisz &4&ldropow &6z premiumcase na chacie" stop on place: if player is holding a chest named "&9&lPremiumCase": cancel event remove 1 chest named "&9&lPremiumCase" from player loop all players: if {powiadomienia::%loop-player%} is true: send "&c%player% &7otworzy &9&lPremiumCase &7i wylosowal&8:" to loop-players chance of 25%: drop 1 diamond sword of sharpness 5 and fire aspect 2 loop all players: if {powiadomienia::%loop-player%} is true: send "&8- &cMiecz 5/2" chance of 25%: drop 1 diamond helmet of protection 4 and unbreaking 3 loop all players: if {powiadomienia::%loop-player%} is true: send "&8- &cHelm 4/3" chance of 25%: drop 1 diamond chestplate of protection 4 and unbreaking 3 loop all players: if {powiadomienia::%loop-player%} is true: send "&8- &cKlate 4/3" chance of 25%: drop 1 312 of protection 4 and unbreaking 3 loop all players: if {powiadomienia::%loop-player%} is true: send "&8- &cSpodnie 4/3" chance of 25%: drop 1 diamond boots of protection 4 and unbreaking 3 loop all players: if {powiadomienia::%loop-player%} is true: send "&8- &cButy 4/3" chance of 25%: drop 64 block of emerald loop all players: if {powiadomienia::%loop-player%} is true: send "&8- &a64&7x&ablokow emeraldow" chance of 25%: drop 1 diamond pickaxe of efficiency 6 and fortune 3 and unbreaking 3 named "&aKilof szybkosci I" loop all players: if {powiadomienia::%loop-player%} is true: send "&8- &aKilof szybkosci I" chance of 25%: drop 1 cobblestone named "&cCobble&fX" loop all players: if {powiadomienia::%loop-player%} is true: send "&8- &cCobbleX" chance of 25%: drop 1 obsidian named "&9BoyFarmer" loop all players: if {powiadomienia::%loop-player%} is true: send "&8- &cBoyFarmer" chance of 25%: drop 1 sand named "&9SandFarmer" loop all players: if {powiadomienia::%loop-player%} is true: send "&8- &cSandFarmer" chance of 25%: drop 16 ender pearl loop all players: if {powiadomienia::%loop-player%} is true: send "&8- &c16&7x&cPerel" chance of 25%: drop 64 tnt loop all players: if {powiadomienia::%loop-player%} is true: send "&8- &c64&7x&cTnt" chance of 25%: drop 64 block of gold loop all players: if {powiadomienia::%loop-player%} is true: send "&8- &c64&7x&cBlokow zlota" chance of 25%: drop 64 block of diamond loop all players: if {powiadomienia::%loop-player%} is true: send "&8- &c64&7x&cBlokow diamentow" chance of 1%: drop 1 beacon loop all players: if {powiadomienia::%loop-player%} is true: send "&8- &a&lB&b&lE&e&lA&c&lC&9&lO&7&N&5&lA" # prosze nie usuwać # on join: if player's name is "paprotka_": broadcast "&6Na serwer wchodzi autor skryptu" send "&4&lSerwer korzysta z twojego skryptu na premiumcase v.1"