#KONFIGURACJA SKRYPTU options: server: &2&lCREW&f&lHARD skript-name: wimeeq-spr #wpisz tu nazwe pliku on script load: broadcast "&8» &7Plugin: &a{@skript-name} &7zostal zaladowany!" #NA DOLE ZMIENIASZ NA WLASNÄ„ ODPOWIEDZIALNOĹšC variables: {spr.%player%} = false command /spr [] []: trigger: if executor has permission "wmq.spr": if arg 1 is not set: send "&8&l&m------ &8[ &7KOMENDY &8] &8&l&m------" to executor send "&a/spr gracz &8- &7Sprawdza gracza" to executor send "&a/spr czysty &8- &7Uznaje gracza za czystego" to executor send "&a/spr cheater &8- &7Uznaje gracza za cheatera" to executor send "&a/spr klatka &8- &7Ustawia klatke do sprawdzania" to executor send "&a/spr spawn &8- &7Ustawia miejsce po sprawdzeniu" to executor send "&a/spr logout &8- &7Banuje za wylogowanie" to executor send "&a/spr brakwsp &8- &7Banuje za brak wspolpracy" to executor send "&8&l&m------ &8[ &7KOMENDY &8] &8&l&m------" to executor if arg 1 is "gracz" or "czysty" or "cheater" or "klatka" or "spawn" or "logout" or "brakwsp": if arg 1 is "gracz": if arg 2 is set: if {spr.%arg 2%} is false: broadcast "&8[ {@server} &8] &7Gracz &c%arg 2%&r &7jest sprawdzany!" teleport the arg player to {klatka} teleport the player to {klatka} set {spr.%arg 2%} to true else: send "&8» &cGracz jest juz sprawdzany!" to executor else: send "&8» &cPodaj nazwe gracza!" to executor if arg 1 is "czysty": if arg 2 is set: if {spr.%arg 2%} is true: broadcast "&8[ {@server} &8] &7Gracz &c%arg 2%&r &7jest czysty!" teleport the arg player to {czysty} teleport the player to {czysty} set {spr.%arg 2%} to false else: send "&8» &cGracz nie jest sprawdzany!" to executor else: send "&8» &cPodaj nazwe gracza!" to executor if arg 1 is "cheater": if arg 2 is set: broadcast "&8[ {@server} &8] &7Gracz &c%arg 2%&r &7jest cheaterem!" set {spr.%arg 2%} to false ban the arg player due to "&8&l## &7Zostales zbanowany za cheaty! &c~%executor% &8&l##" kick the arg player due to "&8&l## &7Zostales zbanowany za cheaty! &c~%executor% &8&l##" else: send "&8» &cPodaj nazwe gracza!" to executor if arg 1 is "klatka": set {klatka} to location of player send "&7Ustawiles klatke!" to executor if arg 1 is "spawn": set {czysty} to location of player send "&7Ustawiles spawna!" to executor if arg 1 is "logout": if arg 2 is set: broadcast "&8[ {@server} &8] &7Gracz &c%arg 2%&r &7wylogowal sie podczas sprawdzania!" ban the arg player due to "&8&l## &7Wylogowales sie podczas sprawdzania! &8&l##" kick the arg player due to "&8&l## &7Wylogowales sie podczas sprawdzania! &8&l##" set {spr.%arg 2%} to false else: send "&8» &cPodaj nazwe gracza!" to executor if arg 1 is "brakwsp": if arg 2 is set: broadcast "&8[ {@server} &8] &7Gracz &c%arg 2% &7zostal zbanowany za brak wspolpracy &c~%executor%" ban the arg player due to "&8&l## &7Brak wspolpracy &c~%executor%" kick the arg player due to "&8&l## &7Brak wspolpracy &c~%executor%" else: send "&8» &cPodaj nazwe gracza!" to executor else: send "&8» &cNie masz uprawnien!" to executor on quit: if {spr.%player%} is false: stop if {spr.%player%} is true: execute console command "/spr logout %player%" command /wmq-spr []: trigger: if arg 1 is set: if arg 1 is "info" or "rl": if arg 1 is "info": send "&8» &aWiMeeqSprawdzanie &8- &7Skrypt na sprawdzanie" send "&a" send "&8✖ &7Version: &a1.0" send "&8✖ &7Author: &a_wimeeq" if arg 1 is "rl": send executor title "&a&l✔" with subtitle "&7Przeladowano!" execute console command "/sk reload {@skript-name}" else: send executor title "&C&l✖" with subtitle "&7Wpisz /wmq-spr info" for 1 seconds else: send executor title "&C&l✖" with subtitle "&7Wpisz /wmq-spr info" for 1 seconds