variables: {wpisznick_spr::%player%} = false {cheaty_spr::%player%} = false {sprawdzany::%player%} = false {czysty::%player%} = false options: spr_x: 0 spr_y: 100 spr_z: 0 command /spr: trigger: if player has permission "spr.cmd": if player has permission "spr.cmd": open chest with 1 rows named "&b&lMENU SPRAWDZANIA GRACZY" to player wait 1 ticks format slot 1 of player with 1 of diamond named "&3Sprawdz gracza" with lore "&6Po kliknieciu wpisz na chacie nazwe gracza" to close then run [execute player command "/wpisz spr"] format slot 3 of player with 1 of stick named "&3Zbanuj gracza za cheaty" with lore "&6Po kliknieciu wpisz na chacie nazwe gracza" to close then run [execute player command "/wpisz cheater"] format slot 5 of player with 1 of emerald named "&3Gracz jest czysty" with lore "&6Po kliknieciu wpisz na chacie nazwe gracza" to close then run [execute player command "/wpisz czysty"] command /wpisz []: trigger: if player has permission "spr.wpisanie": if arg-1 is "spr": set {wpisznick_spr::%player%} to true send "&8 &cWpisz nick gracza na chacie" stop if arg-1 is "cheater": set {cheaty_spr::%player%} to true send "&8 &cWpisz nick gracza na chacie" stop if arg-1 is "czysty": set {czysty::%player%} to true send "&8 &cWpisz nick gracza na chacie" stop on chat: if {wpisznick_spr::%player%} is true: cancel event message is player: set {_sprawdzPlayer} to message {_sprawdzPlayer} parsed as an player is online: player command "sprawdz %{_sprawdzPlayer}%" set {wpisznick_spr::%player%} to false else: send "Gracz jest offline" to player else: send "Twoja wiadomosc to nie gracz" to player stop on chat: if {cheaty_spr::%player%} is true: cancel event message is player: set {_cheatysprPlayer} to message {_cheatysprPlayer} parsed as an player is online: player command "cheater %{_cheatysprPlayer}%" set {cheaty_spr::%player%} to false else: send "Gracz jest offline" to player else: send "Twoja wiadomosc to nie gracz" to player stop on chat: if {czysty::%player%} is true: cancel event message is player: set {_czystyPlayer} to message {_czystyPlayer} parsed as an player is online: player command "czysty %{_czystyPlayer}%" set {czysty::%player%} to false else: send "Gracz jest offline" to player else: send "Twoja wiadomosc to nie gracz" to player stop command /sprawdz []: trigger: if player has permission "spr.sprawdz": if arg-1 is set: broadcast "&8===== &6&lSPRAWDZANIE &8=====" broadcast "&8" broadcast "&6Gracz &2%arg-1% &6jest podejrzany o cheaty" broadcast "&2%arg-1% &6prosimy o podanie nazwy skype na &2/helpop" broadcast "&6Masz &23 &6 minuty na podanie" broadcast "&6Logout = Perm" broadcast "&6Jezeli przyznajesz sie do cheatow napisz na chacie /przyznaje" broadcast "&6Za przyznanie sie jest ban na 4 dni" broadcast "&8" broadcast "&8===== &6&lSPRAWDZANIE &8=====" execute console command "/teleport %arg-1% {@spr_x} {@spr_y} {@spr_z}" set {sprawdzany::%player%} to true clear {_sprawdzPlayer} stop command /cheater []: trigger: if player has permission "spr.cheater": set {sprawdzany::%player%} to false execute console command "ban %arg-1% &cCheatowanie na serwerze" broadcast "&cGracz &6%arg-1% &czostal zbanowany za cheaty" clear {_cheatysprPlayer} stop command /przyznaje: trigger: if {sprawdzany::%player%} is true: broadcast "&8* &6Gracz &2%player% &6przyznaje sie do cheatow" execute console command "tempban %player% 4 d &6Przyznanie sie do cheatow" set {sprawdzany::%player%} to false stop if {sprawdzany::%player%} is false: send "&8* &cNie jestes podczas sprawdzania" stop command /czysty []: trigger: if player has permission "spr.czysty": if {sprawdzany::%player%} is true: broadcast "&6Gracz &2%arg-1% &6jest czysty" execute console command "/spawn %arg-1%" set {sprawdzany::%player%} to false clear {_czystyPlayer} stop on quit: if {sprawdzany::%player%} is true: execute console command "/ban %player% &6LOGOUT PODCZAS SPRAWDZANIA" set {sprawdzany::%player%} to false broadcast "&6Gracz &2%player% &6wylogowal sie podczas sprawdzania" stop