options: # # # Anty Makro # # # #Ponizej niedozwolony odstep pomiedzy ciosami czas: 0.8 tick #Ponizej co ile sekund ma wysylac wiadomosc adminowi (zeby nie bylo spamu) czekaj: 5 # # # Anty Aura # # # #Ponizej co ile ma automatycznie sprawdzac graczy auratest: 30 seconds #Ponizej po ilu ciosach ma zglaszac gracza hity: 2 variables: {wysylaj.makro} = true # # # # # # # # # # # # # # KOD # # # # # # # # # # # # # # on damage: if attacker is a player: if difference between {damage::%attacker%} and now is less than {@czas}: set {czas::%attacker%} to difference between {damage::%attacker%} and now loop all players: if loop-player has permission "antymakro.odczyt": if {wysylaj.makro} is true: send "&8[&4AntyMakro&8] &c%attacker% &7bije z predkoscia &c%{czas::%attacker%}%" to loop-player set {wysylaj.makro} to false wait {@czekaj} second set {wysylaj.makro} to true set {damage::%attacker%} to now command /antyaura [] []: aliases: /aa permission: antyaura.sprawdz permission message: &4Blad&c: &7Brak uprawnien! trigger: if arg 1 is not set: send "&8&l»&8&m==========&8&l«&4&lANTY-AURA&8&l»&8&m==========&8&l«" send json of " &a&m>»>&cAntyaura &2&lWLACZ&a&m<«<" tooltip "&7Kliknij aby wlaczyc automatyczne sprawdzanie" run "/antyaura on" then " " to player send json of " &a&m>»>&cAntyaura &4&lWYLACZ&a&m<«<" tooltip "&7Kliknij aby wylaczyc automatyczne sprawdzanie" run "/antyaura off" then " " to player send json of " &a&m>»>&cSprawdz Wszystkich&a&m<«<" tooltip "&7Kliknij aby sprawdzic wszystkich graczy" run "/antyaura all" then " " to player loop all players: send json of " &a&m>»>&cSprawdz %loop-player%&a&m<«<" tooltip "&7Kliknij aby sprawdzic gracza" run "/antyaura sprawdz %loop-player%" then " " to player send "&8&l»&8&m==========&8&l«&4&lANTY-AURA&8&l»&8&m==========&8&l«" if arg 1 is "on": set {antyaura.automatyczna} to true send "&2&lWlaczyles &7automatyczne sprawdzanie!" if arg 1 is "off": set {antyaura.automatyczna} to false send "&4&lWylaczyles &7automatyczne sprawdzanie!" if arg 1 is "sprawdz": if arg 2 is set: set {antyaura::%player%} to 0 spawn 1 zombie behind player argument set the spawned zombie's name to "&c&nAnty-Aura" apply slowness 9999 to last spawned entity for 1 day apply fire resistance 9999 to last spawned entity for 1 day wait 1 second set {aaspr::%player%} to false loop all zombies: if name of loop-zombies contain "&c&nAnty-Aura": delete loop-zombies if arg 1 is "all": loop all players: set {antyaura::%loop-player%} to 0 spawn 1 zombie behind loop-player set the spawned zombie's name to "&c&nAnty-Aura" apply slowness 9999 to last spawned entity for 1 day apply fire resistance 9999 to last spawned entity for 1 day wait 1 second set {aaspr::%loop-player%} to false loop all zombies: if name of loop-zombies contain "&c&nAnty-Aura": delete loop-zombies every {@auratest}: if {antyaura.automatyczna} is true: loop all players: set {antyaura::%loop-player%} to 0 spawn 1 zombie behind loop-player set the spawned zombie's name to "&c&nAnty-Aura" apply slowness 9999 to last spawned entity for 1 day apply fire resistance 9999 to last spawned entity for 1 day wait 1 second loop all zombies: if name of loop-zombies contain "&c&nAnty-Aura": delete loop-zombies on damage: if attacker's name contains "&c&nAnty-Aura": cancel event if victim's name contains "&c&nAnty-Aura": add 1 to {antyaura::%attacker%} if {antyaura::%attacker%} is {@hity}: loop all players: if loop-player has permission "antyaura.odczyt": send "&8[&4AntyKillAura&8] &c%attacker% &7jest podejrzany o cheaty" to loop-player on death of zombie: if victim's name contains "&c&nAnty-Aura": clear drops on chat: if player is sneaking: kick player due to "&8[&4AntySneak] &7Odinstaluj cheaty!"