options: Prefix: &4[&eMonety&4] variables: {monety.%player%} = 0 {kwojownik.%player%} = 0 {kstrzelec.%player%} = 0 {kdrwal.%player%} = 0 {drwal.%player%} = 0 {wojownik.%player%} = 0 {strzelec.%player%} = 0 command /changelog: trigger: if sender has permission "use.changelog": send "&6-------&4[&eChangeLog&4]&6-------" send "&aWersja &c1.0:" send "&a- Publikacja skryptu" send "&aWersja &c2.0:" send "&a- Dodano sklep klas" send "&a- Dodano walute za ktora mozemy kupic klasy" send "&aWersja &c2.1:" send "&a- Dodano ChangeLog" send "&a- Dodano do komendy /klasy cooldown" send "&aWersja &c2.2:" send "&a- Poprawiono bugi z komendami" send "&a- Dodano informacje o zabraniu i odebraniu monet graczowi" send "&6-------&4[&eChangeLog&4]&6-------" command /klasy: trigger: set {czasklasy} to difference between {opoznienieklasy.%player%} and now if {czasklasy} is less than 15 seconds: send "&cNie mozesz jeszcze uzyc komendy!" else: open chest with 1 rows named "&a&lProfesje" to player format slot 0 of player with 1 of white glass pane named "" to be unstealable format slot 1 of player with 1 of white glass pane named "" to be unstealable format slot 2 of player with 1 of white glass pane named "" to be unstealable format slot 3 of player with 1 of stone sword named "&aWojownik" to run [make player execute "wojownik"] format slot 4 of player with 1 of bow named "&aStrzelec" to run [make player execute "strzelec"] format slot 5 of player with 1 of iron axe named "&aDrwal" to run [make player execute "drwal"] format slot 6 of player with 1 of white glass pane named "" to be unstealable format slot 7 of player with 1 of white glass pane named "" to be unstealable format slot 8 of player with 1 of white glass pane named "" to be unstealable set {opoznienieklasy.%player%} to now stop command /wojownik: trigger: if {kwojownik.%player%} is 1: send "&aZostales klasa Wojownik!" execute console command "clear %player%" give 1 iron sword of unbreaking 2 and sharpness 2 named "&aMiecz Wojownika" to player give 1 ghast tear of unbreaking 5 named "&aObrona" to player give 1 iron helmet of unbreaking 2 and protection 2 named "&aHelm Wojownika" to player give 1 iron chestplate of unbreaking 2 and protection 2 named "&aZbroja Wojownika" to player give 1 iron leggings of unbreaking 2 and protection 2 named "&aNogawice Wojownika" to player give 1 iron boots of unbreaking 2 and protection 2 named "&aButy Wojownika" to player set {drwal.%player%} to 0 set {wojownik.%player%} to 1 set {strzelec.%player%} to 0 else: send "&aNie masz wykupionej tej klasy!" stop on rightclick with ghast tear: if name of player's tool is "&aObrona": set {czasobrona} to difference between {opoznienieobrona.%player%} and now if {czasobrona} is less than 30 seconds: send "&aJeszcze nie mozesz uzyc Obrona" else: apply resistance 2 to the player for 5 seconds set {opoznienieobrona.%player%} to now stop on respawn: if {wojownik.%player%} is 1: give 1 iron sword of unbreaking 2 and sharpness 2 named "&aMiecz Wojownika" to player give 1 ghast tear of unbreaking 5 named "&aObrona" to player give 1 iron helmet of unbreaking 2 and protection 2 named "&aHelm Wojownika" to player give 1 iron chestplate of unbreaking 2 and protection 2 named "&aZbroja Wojownika" to player give 1 iron leggings of unbreaking 2 and protection 2 named "&aNogawice Wojownika" to player give 1 iron boots of unbreaking 2 and protection 2 named "&aButy Wojownika" to player command /strzelec: trigger: if {kstrzelec.%player%} is 1: send "&aZostales klasa Strzelec!" execute console command "clear %player%" give 1 bow of unbreaking 5 and power 3 named "&aLuk Strzelca" to player give 1 book of unbreaking 10 named "&aRzut Strzal" to player give 32 arrow to player give 1 leather helmet of unbreaking 2 and protection 2 named "&aCzapka Strzelca" to player give 1 leather chestplate of unbreaking 2 and protection 2 named "&aKurtka Strzelca" to player give 1 leather leggings of unbreaking 2 and protection 2 named "&aSpodnie Strzelca" to player give 1 leather boots of unbreaking 2 and protection 2 named "&aButy Strzelca" to player set {drwal.%player%} to 0 set {wojownik.%player%} to 0 set {strzelec.%player%} to 1 else: send "&aNie masz wykupionej tej klasy!" stop on rightclick with book: if name of player's tool is "&aRzut Strzal": set {czasstrzaly} to difference between {opoznieniestrzaly.%player%} and now if {czasstrzaly} is less than 30 seconds: send "&aNie mozesz jeszcze uzyc Rzut Strzal!" else: give 32 arrow to player set {opoznieniestrzaly.%player%} to now stop on respawn: if {strzelec.%player%} is 1: give 1 bow of unbreaking 5 and power 3 named "&aLuk Strzelca" to player give 1 book of unbreaking 10 named "&aRzut Strzal" to player give 32 arrow to player give 1 leather helmet of unbreaking 2 and protection 2 named "&aCzapka Strzelca" to player give 1 leather chestplate of unbreaking 2 and protection 2 named "&aKurtka Strzelca" to player give 1 leather leggings of unbreaking 2 and protection 2 named "&aSpodnie Strzelca" to player give 1 leather boots of unbreaking 2 and protection 2 named "&aButy Strzelca" to player command /drwal: trigger: if {kdrwal.%player%} is 1: send "&aZostales klasa Drwal!" execute console command "clear %player%" give 1 iron axe of unbreaking 3 and sharpness 2 named "&aTopor Drwala" to player give 1 leather helmet of unbreaking 5 and protection 3 named "&aCzapka Drwala" to player give 1 iron chestplate of unbreaking 5 and protection 3 named "&aZbroja Drwala" to player give 1 iron leggings of unbreaking 5 and protection 3 named "&aNogawice Drwala" to player give 1 leather boots of unbreaking 5 and protection 3 named "&aButy Drwala" to player set {drwal.%player%} to 1 set {wojownik.%player%} to 0 set {strzelec.%player%} to 0 else: send "&aNie masz wykupionej tej klasy!" stop on respawn: if {drwal.%player%} is 1: give 1 iron axe of unbreaking 3 and sharpness 2 named "&aTopor Drwala" to player give 1 leather helmet of unbreaking 5 and protection 3 named "&aCzapka Drwala" to player give 1 iron chestplate of unbreaking 5 and protection 3 named "&aZbroja Drwala" to player give 1 iron leggings of unbreaking 5 and protection 3 named "&aNogawice Drwala" to player give 1 leather boots of unbreaking 5 and protection 3 named "&aButy Drwala" to player command /mrclassshop: trigger: open chest with 1 rows named "&c&lMrClass Shop" to player format slot 0 of player with 1 of white glass pane named "" to be unstealable format slot 1 of player with 1 of white glass pane named "" to be unstealable format slot 2 of player with 1 of white glass pane named "" to be unstealable format slot 3 of player with 1 of stone sword named "&aWojownik" to run [make player execute "kwojownik"] format slot 4 of player with 1 of bow named "&aLucznik" to run [make player execute "kstrzelec"] format slot 5 of player with 1 of iron axe named "&aDrwal" to run [make player execute "kdrwal"] format slot 6 of player with 1 of white glass pane named "" to be unstealable format slot 7 of player with 1 of white glass pane named "" to be unstealable format slot 8 of player with 1 of white glass pane named "" to be unstealable command /kdrwal: trigger: if {monety.%player%} is less than 700: send "&aNie posiadasz tylu monet!" stop else: add 1 to {kdrwal.%player%} send "&aPomyslnie zakupiono klase!" remove 700 from {monety.%player%} command /kstrzelec: trigger: if {monety.%player%} is less than 300: send "&aNie posiadasz tylu monet!" stop else: add 1 to {kstrzelec.%player%} send "&aPomyslnie zakupiono klase!" remove 300 from {monety.%player%} command /kwojownik: trigger: if {monety.%player%} is less than 200: send "&aNie posiadasz tylu monet!" stop else: add 1 to {kwojownik.%player%} send "&aPomyslnie zakupiono klase!" remove 200 from {monety.%player%} command /monety [] [] []: trigger: if arg 1 is not set: send "{@Prefix} &aTwoj obecny stan konta to %{monety.%player%}%$" if arg 1 is "give": if sender has permission "use.MrClass": if arg 2 is not set: send "{@Prefix} &aPoprawne uzycie /monety give/take [number] [player]" if arg 2 is set: if arg 3 is not set: send "{@Prefix} &aPoprawne uzycie /monety give/take [number] [player]" if arg 3 is "%player-arg%": add arg 2 to {monety.%player-arg%} else: send "{@Prefix} &aTakiego gracza nie ma na serwerze!" if arg 1 is "take": if sender has permission "use.MrClass": if arg 2 is not set: send "{@Prefix} &aPoprawne uzycie /monety give/take [number] [player]" if arg 2 is set: if arg 3 is not set: send "{@Prefix} &aPoprawne uzycie /monety give/take [number] [player]" if arg 3 is "%player-arg%": remove arg 2 from {monety.%player-arg%} send "{@Prefix} &aOdebrales temu graczu &c%arg 2%$ z konta" send "{@Prefix} &aZ twojego konta gracz &c%sender% &aodebral tobie &c%arg 2%$" else: send "{@Prefix} &aBrak uprawnien!"