options: name: &5&lPremiumCase item: chest site: www.twojastrona.pl on script load: register new shaped recipe for tnt of unbreaking 10 named "&4RzucaneTNT" using tnt, tnt, tnt, tnt, tnt, tnt, tnt, tnt, tnt on rightclick: if player's tool is tnt of unbreaking 10 named "&4RzucaneTNT": remove tnt of unbreaking 10 named "&4RzucaneTNT" from player shoot tnt with speed 1 on any move: if player's boots is a diamond boots of protection 4 and unbreaking 3 named "&aButy szybkosci I": apply potion of speed of tier 1 to the player for 5 seconds stop if player's boots is a diamond boots of protection 5 and unbreaking 4 named "&aButy szybkosci II": apply potion of speed of tier 2 to the player for 5 seconds command /pcase [] [] []: permission: tCore.pcase trigger: if arg 1 is "all": if arg 2 is set: set {_ilosc} to "%arg-2%" parsed as number loop all players: give {_ilosc} of {@item} named "{@name}" to loop-player if arg-2 is 1: broadcast "&c&lA&e&lC &7» &cKazdy otrzymal %{_ilosc}% {@name}&7!" stop if arg-2 is 2 or 3 or 4: broadcast "&c&lA&e&lC &7» &cKazdy otrzymal %{_ilosc}% {@name}'y&c!" stop if arg-2 is bigger than 4: broadcast "&c&lA&e&lC &7» &cKazdy otrzymal %{_ilosc}% {@name}'ow&c!" stop if arg 1 is "give": if arg 2 is set: if arg 3 is online: set {_ilosc} to "%arg-2%" parsed as number give {_ilosc} of {@item} named "{@name}" to arg-3 if arg-2 is 1: send "&c&lA&e&lC &7» &cOtrzymales %{_ilosc}% {@name}&7!" to arg-3 stop if arg-2 is 2 or 3 or 4: send "&c&lA&e&lC &7» &cOtrzymales %{_ilosc}% {@name}'y&c!" to arg-3 stop if arg-2 is bigger than 4: send "&c&lA&e&lC &7» &cOtrzymales %{_ilosc}% {@name}'ow&c!" to arg-3 stop else: send "&c&lA&e&lC &7» &cPoprawne uzycie: /pcase " to player stop on place: if player's tool is {@item} named "{@name}": set block to air broadcast "&7Gracz &c%player% &7otworzyl {@name} &7i otrzymal:" set {drop::%player%::1} to random integer from 0 to 15 set {drop::%player%::2} to random integer from 0 to 15 set {drop::%player%::3} to random integer from 0 to 15 set {drop::%player%::4} to random integer from 0 to 15 set {drop::%player%::5} to random integer from 0 to 15 if {drop::%player%::1} or {drop::%player%::2} or {drop::%player%::3} or {drop::%player%::4} or {drop::%player%::5} is 1: drop 1 diamond helmet of protection 4 and unbreaking 3 broadcast "&7- &cHelm 4/3" if {drop::%player%::1} or {drop::%player%::2} or {drop::%player%::3} or {drop::%player%::4} or {drop::%player%::5} is 2: drop 1 diamond chestplate of protection 4 and unbreaking 3 broadcast "&7- &cKlata 4/3" if {drop::%player%::1} or {drop::%player%::2} or {drop::%player%::3} or {drop::%player%::4} or {drop::%player%::5} is 3: drop 1 diamond leggings of protection 4 and unbreaking 3 broadcast "&7- &cSpodnie 4/3" if {drop::%player%::1} or {drop::%player%::2} or {drop::%player%::3} or {drop::%player%::4} or {drop::%player%::5} is 4: drop 1 diamond boots of protection 4 and unbreaking 3 broadcast "&7- &cButy 4/3" if {drop::%player%::1} or {drop::%player%::2} or {drop::%player%::3} or {drop::%player%::4} or {drop::%player%::5} is 5: drop 1 diamond sword of sharpness 5 and fire aspect 2 broadcast "&7- &cMiecz 5/2" if {drop::%player%::1} or {drop::%player%::2} or {drop::%player%::3} or {drop::%player%::4} or {drop::%player%::5} is 5: drop 1 diamond sword of sharpness 6 and fire aspect 3 broadcast "&7- &cMiecz 6/3" if {drop::%player%::1} or {drop::%player%::2} or {drop::%player%::3} or {drop::%player%::4} or {drop::%player%::5} is 6: chance of 35%: drop 1 diamond pickaxe of efficiency 6 and unbreaking 5 and fortune 3 named "&aKilof Szybkosci I" broadcast "&7- &aKilof Szybkosci I" if {drop::%player%::1} or {drop::%player%::2} or {drop::%player%::3} or {drop::%player%::4} or {drop::%player%::5} is 7: chance of 25%: drop 1 diamond pickaxe of efficiency 7 and unbreaking 5 and fortune 3 named "&aKilof Szybkosci II" broadcast "&7- &aKilof Szybkosci II" if {drop::%player%::1} or {drop::%player%::2} or {drop::%player%::3} or {drop::%player%::4} or {drop::%player%::5} is 8: chance of 35%: drop 1 diamond boots of protection 4 and unbreaking 3 named "&aButy Szybkosci I" broadcast "&7- &aButy Szybkosci I" if {drop::%player%::1} or {drop::%player%::2} or {drop::%player%::3} or {drop::%player%::4} or {drop::%player%::5} is 9: chance of 25%: drop 1 diamond boots of protection 5 and unbreaking 4 named "&aButy Szybkosci II" broadcast "&7- &aButy Szybkosci II" if {drop::%player%::1} or {drop::%player%::2} or {drop::%player%::3} or {drop::%player%::4} or {drop::%player%::5} is 10: chance of 50%: drop 64 diamond block broadcast "&7- &b64x Blok Diamentu" if {drop::%player%::1} or {drop::%player%::2} or {drop::%player%::3} or {drop::%player%::4} or {drop::%player%::5} is 11: chance of 50%: drop 64 emerald block broadcast "&7- &a64x Blok Szmaragdu " if {drop::%player%::1} or {drop::%player%::2} or {drop::%player%::3} or {drop::%player%::4} or {drop::%player%::5} is 12: chance of 50%: drop 64 tnt broadcast "&7- &c64x TNT" if {drop::%player%::1} or {drop::%player%::2} or {drop::%player%::3} or {drop::%player%::4} or {drop::%player%::5} is 13: chance of 50%: drop 16 enchanted golden apple broadcast "&7- &616x Kox" if {drop::%player%::1} or {drop::%player%::2} or {drop::%player%::3} or {drop::%player%::4} or {drop::%player%::5} is 14: chance of 50%: drop 32 golden apple broadcast "&7- &e32x Refile" if {drop::%player%::1} or {drop::%player%::2} or {drop::%player%::3} or {drop::%player%::4} or {drop::%player%::5} is 15: drop 16 bookshelf broadcast "&7- &c16x Biblioteczka" if {drop::%player%::1} or {drop::%player%::2} or {drop::%player%::3} or {drop::%player%::4} or {drop::%player%::5} is 15: chance of 25%: drop 1 tnt of unbreaking 10 named "&4RzucaneTNT" broadcast "&7- &4RzucaneTNT" broadcast "&7Tez chcesz? Zakup je na &c{@site}"