Solved Help with anti-cheat. Please read!

Discussion in 'Plugin Development' started by Mindlessmink, Jul 23, 2016.

Thread Status:
Not open for further replies.
  1. Okay, So If you could please take a few minutes out of your day to read this. This may seem kind of simple to some devs, But I have tried every way I know, and I cannot find a way to detect regen hackers, and Speed hackers in my Anti-Cheat... I've tried every way I can think of and I can't seem to find out. Please leave suggestions below with a lot of detail and maybe an example. Thanks for reading.

    - Mink
     
    Last edited: Jul 27, 2016
  2. Offline

    Zombie_Striker

    What do you mean by this? Do you mean players who are able to heal themselves? To detect this, store what the player's heath is at every tick. If they seem to be healing for no reason, do stuff.

    Get the player's velocity. If it is greater than the player's running speed, do stuff.
     
  3. Offline

    FrostedSnowman

    There is, Player#getVelocity.

    You can use Vector#lengthSquared to get a "total number", and then you just track what the max vanilla speed is for several conditions and check it against their current speeds.
     
  4. Offline

    Zombie_Striker

    @Mindlessmink
    If your problem has been solved, mark this thread as solved.
     
Thread Status:
Not open for further replies.

Share This Page