command /spr [] []: trigger: if arg 1 is not set: if player has permissions "cheater.*" or "cheater.mod" or "cheater.info": send "&7-------------------------------------------------------------------------" send "&9/spr start (nick) &7- rozpoczynanie sprawdzania" send "&9/spr czysty (nick) &7- gracz nie ma cheatow" send "&9/spr cheater (nick) &7- wykrycie cheatow" send "&9/spr przyznanie (nick) &7- Banuje gracza na 30 dni (jezeli sie przyzna do cheatow)" send "&9/spr lognal (nick) - &7ban za wylogowanie sie" send "&9/spr brakwspolpracy/brakw (nick) - &7ban za brak wspolpracy" send "&9/spr wypusc (nick) - &7wypuszcza gracza z celi" send "&7-------------------------------------------------------------------------" else: send "" stop if arg 1 is "wypusc": if player has permissions "cheater.setklatka" or "cheater.*": execute console command "unjail %arg 2%" execute console command "tp %arg 2% -53 8 60" execute console command "tp %player% -53 8 60" else: send "{@perm}" stop if arg 1 is "start": if player has permissions "cheater.sprawdz" or "cheater.*" or "cheater.mod": if arg 2 is set: if player has permissions "cheater.sprawdz" or "cheater.*" or "cheater.mod": execute console command "jail %arg 2% sprawdzanie" execute console command "tp %player% %arg 2%" send "&b %arg 2%, Administrator %player% podejrzewa cie o uzywanie wspomagaczy! Jezeli chcesz uniknac najwyzszej kary mozesz sie przyznac, a na to masz 30 sekund. Po tym czasie rozpocznie sie sprawdzanie! Jezeli sie przyznajesz to wpisz /przyznajesie " to all players execute console command "pex user %arg 2% add jestem.sprawdzany" wait 10 seconds send "&cMasz jeszcze 20 sekund na przyznanie sie..." wait 10 seconds send "&cMasz jeszcze 10 sekund na przyznanie sie..." wait 5 seconds send "&cMasz 5 sekund na przyznanie sie..." wait 5 seconds send "&4Twój czas na przyznanie sie minal!" execute console command "pex user %arg% remove jestem.sprawdzany" else: send "&7|||||-- &fPodaj nazwe &aGRACZA" stop else: send "" stop if arg 1 is "brakw" or "brakwspolpracy": if player has permissions "cheater.setspawn" or "cheater.*": execute console command "spr wypusc %arg 2%" execute console command "ban %arg 2% Brak wspołpracy z administratorem podczas sprawdzania!" send "&4Gracz %arg 2% nie wspolpracuje z administratorem!" else: send "{@perm}" stop if arg 1 is "czysty": if player has permissions "cheater.czysty" or "cheater.*" or "cheater.mod": if arg 2 is set: if player has permissions "cheater.czysty" or "cheater.*" or "cheater.mod": teleport arg 2 to {cheater.spawn} excecute console command "spr wypusc %arg 2% send "&2Gracz &8%arg 2% &2nie ma cheatow!" execute console command "unjail %arg 2%" send "&2Sprawdzanie zostalo zakonczone. Mozesz dalej grac na tym serwerze." to arg 2 send "&cWpisz /spr wypusc %arg 2% to player else: send "&7|||||-- &fPodaj nazwe &aGRACZA" stop else: send "" stop if arg 1 is "przyznanie" or "przyznaje": if player has permissions "cheater.przyznanie" or "cheater.*" or "cheater.mod": if arg 2 is set: if player has permissions "cheater.przyznanie" or "cheater.*" or "cheater.mod": execute console command "unjail %arg 2%" execute console command "tempban %arg 2% 30 days Przyznanie sie do uzywania cheatow" execute console command "spr wypusc %arg 2%" broadcast "&bGracz &8%arg 2% &bprzyznal sie do uzywania cheatow." else: send "&7|||||-- &fPodaj nazwe &aGRACZA" stop else: send "" stop if arg 1 is "lognal" or "logout": if player has permissions "cheater.logout" or "cheater.*" or "cheater.mod": if arg 2 is set: if player has permissions "cheater.logout" or "cheater.*" or "cheater.mod": execute console command "spr wypusc %arg 2%" execute console command "ban %arg 2% Wylogowanie sie podczas sprawdzania" broadcast "&4Gracz &8%arg 2% &4wylogowal sie podczas sprawdzania!" else: send "&7|||||-- &fPodaj nazwe &aGRACZA" stop else: send "{@perm}" stop if arg 1 is "cheater": if player has permissions "cheater.ban" or "cheater.*" or "cheater.mod": if arg 2 is set: if player has permissions "cheater.ban" or "cheater.*" or "cheater.mod": teleport player to {cheater.spawn} execute console command "unjail %arg 2%" execute console command "spr wypusc %arg 2%" execute console command "kill %arg 2%" execute console command "ban %arg 2% Nieprzyznanie sie do uzywania cheatow." send "&4Gracz %arg 2% nieprzyznal sie do posiadania cheatow!" else: send "&7|||||-- &fPodaj nazwe &aGRACZA" stop else: send "" stop if arg 1 is not "lognal" or "wypusc" or "przyznanie" or "przyznaje" or "czysty" or "cheter" or "brakw" or "sprawdz" or "brakwspolpracy" or "start" or "ustawklatka" or "ustawklatke" or "ustawspawn" or "": send "&fNie ma takiej komendy!" stop