#Skrypt by EnderAdam #Nie usuwaj tego! #Acheat version 0.1 #------------------- #Komenda Admina: ./acheat #Bez konfiguracji. #WAƻNE! #Po wgraniu skryptu wpisz ./Acheat toggle #Powodzenia! #------------------- on join: send "&f------[Acheat]------" send "&fTen serwer chroni Acheat" send "&dVersion: &d0.1" send "&f------[Acheat]------" command /Acheat []: aliases: adeksiantycheat, antycheat, ac trigger: if arg 1 is not set: if player have permission "acheat": send "&f]------[&cAcheat&f]------[" to player send "&c[Acheat] &fNie znaleziono argumentu!" to player send "&c[Acheat] &fPomoc: ./Acheat help" to player send "&f]------[&cAcheatt&f]------[" to player else: send "&c[Acheat] &fNie posiadasz uprawnien do tej komendy!" if arg 1 is "help": if player have permission "acheat": send "&f]------[&cAcheat&f]------[" to player send "&c[Acheat] &f/Acheat reload - reloaduje anty-cheata" send "&c[Acheat] &f/Acheat toggle - resetuje anty-cheata" send "&c[Acheat] &f/Acheat on/off - wlacza/wylacza anty-cheata" send "&c[Acheat] &f/Acheat show - pokazuje aktywne oslony" send "&f]------[&cAcheat&f]------[" to player if arg 1 is "reload": if player have permission "acheat.reload": send "&c[Acheat] &fTrwa reload anty-cheata!..." execute console command "sk reload antycheat" send "&c[Acheat] &fReload udany!" if arg 1 is "on": if player have permission "acheat.offon": if {antycheat} is false: send "&c[Acheat] &fAnty-cheat zostal pomyslnie &awlaczony!" set {antycheat} to true else: send "&c[Acheat] &fAnty-cheat jest juz &awlaczony!" if arg 1 is "off": if player have permission "acheat.offon": if {antycheat} is true: send "&c[Acheat] &fAnty-cheat zostal pomyslnie &4wylaczony!" set {antycheat} to false else: send "&c[Acheat] &fAnty-cheat jest juz &4wylaczony!" if arg 1 is "toggle": if player have permission "acheat.toggle": send "&c[Acheat] &fNaprawianie..." wait 2 second send "&c[Acheat] &fWylaczanie anty-cheata!" set {antycheat} to false wait 2 second send "&c[Acheat] &fKonfiguracja plikow..." loop all players: set {waterwalk.%loop-player%} to 0 wait 1 second send "&c[Acheat] &fGotowe!" send "&c[Acheat] &fAnty-cheat zostal pomyslnie zresetowany!" if arg 1 is "show": if player have permission "acheat.show": if {antycheat} is true: send "&c[Acheat] &fOchrona Waterwalk: &aON" send "&c[Acheat] &fOchrona Reach: &aON" if {antycheat} is false: send "&c[Acheat] &fOchrona Waterwalk: &4OFF" send "&c[Acheat] &fOchrona Reach: &4OFF" on walk on water: block at player is air block under player is water wait 5 ticks block under player is water wait 1 tick block at player is air block under player is water if {antycheat} is true: add 1 to {waterwalk.%player%} send "&c[Acheat] &fPodjerzenie o cheaty &a%{waterwalk.%player%}%&a/5" to player send "&c[Acheat] &fAutomatyczna wiadomosc. Gracz %player% podjerzenie &aWaterwalk" to all ops if {waterwalk.%player%} is greater than 5: teleport player to block under player send "&c[Acheat] &fPodejrzenie cheatu: Waterwalk" to player wait 5 second kick player due to "&c[Acheat] &fCheat: Waterwalk" set {waterwalk.%player%} to 0 else: stop on damage: if attacker is a player: if attacker's tool is not bow: if distance between attacker and victim is greater than 5.2: if {antycheat} is true: send "&c[Acheat] &fAutomatyczna wiadomosc. Gracz %player% podjerzenie &aReach" to all ops kick attacker due to "&c[Acheat] &fCheat: Reach"