##################################################################### # # # KiAnty # # By Kicpro # # # ##################################################################### ##################################################################### # # # AntySpeedMine # # # ##################################################################### variables: {kopanie.%player%} = 0 {ostrzezenie.%player%} = 0 on mine of stone: if {kopanie.%player%} is 0: set {kopanie.%player%} to 1 wait 4 tick set {kopanie.%player%} to 0 if {kopanie.%player%} is 1: cancel event send "&8[&4&lAntyCheat&8] &8Gracz &6%player% &7Jest Podejzany o SpeedMine" to op add player to {ListaSM::*} add 1 to {ostrzezenie.%player%} if {ostrzezenie.%player%} is 5: execute console command "ban %player% &4&lAntyCheat &7- &8&lWykryto Cheaty! (SpeedMine)" broadcast "&8[&4&lAntyCheat&8] &8Gracz &6%player% &7Zostal Zbanowany za Cheaty!" remove 5 from {ostrzezenie.%player%} ##################################################################### # # # AntyNuker # # # ##################################################################### options: Wykr: true on left click: if {@Wykr} is true: player is a player if difference between {KiAnty::clicker.n::%uuid of player%} and now is less than 1.8 ticks: cancel event add 1 to {KiAnty::clicker.p::%uuid of player%} if {KiAnty.clicker.notify::%uuid of player%} is not set: set {KiAnty.clicker.notify::%uuid of player%} to now if {KiAnty::clicker.p::%uuid of player%} is greater than 4: if {@Mef} is true: loop all players: ban the player due to "&4&lAntyCheat &7- &8&lWykryto Cheaty! (Nuker)" clear {KiAnty::clicker.p::%uuid of player%} else if {KiAnty::clicker.p::%uuid of player%} is greater than 2: if difference between {KiAnty.clicker.notify::%uuid of player%} and now is more than 1 second: if {@Mef} is true: loop all players: if loop-player has permission "kianty.nuk": set {KiAnty.clicker.notify::%uuid of player%} to now wait 5 seconds if {KiAnty::clicker.p::%uuid of player%} is more than 0: remove 1 from {KiAnty::clicker.p::%uuid of player%} set {KiAnty::clicker.n::%uuid of player%} to now ##################################################################### # # # AntySneak # # # ##################################################################### on craft: if player is sneaking: ban the player due to "&4&lAntyCheat &7- &8&lWykryto Cheaty! (Sneak)" on chat: if player is sneaking: ban the player due to "&4&lAntyCheat &7- &8&lWykryto Cheaty! (Sneak)" ##################################################################### # # # AntyFly # # # ##################################################################### Every 10 seconds: Loop all players: If loop-player has permission "kicac.fly": Stop else: if loop-player is flying: ban the player due to "&4&lAntyCheat &7- &8&lWykryto Cheaty! (Fly)"