Help with tracking speed hackers in new Anti-Cheat.

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

Thread Status:
Not open for further replies.
  1. Offline

    Mindlessmink

    I've looked everywhere, And haven't found a working way in code to track speed hackers. I know this might seem simple to some, But I have no ideas on a way to start. So I made a new project in Eclipse to have a go at testing some ways. Please leave your suggestions below!
     
  2. Online

    timtower Moderator Moderator

    @Mindlessmink Check distance traveled every ... time, if > max do stuff.
     
  3. Offline

    Mindlessmink

    @timtower what would you mean by check it every time? Like this?
    Code:
    @EventHandler
    public void on(PlayerMoveEvent e) {
    Player p = e.getPlayer();
    if (p.getWalkSpeed < 0.5) {
    e.setCancelled(true);
     
  4. Offline

    Zombie_Striker

    CodePlaysMinecraft and timtower like this.
Thread Status:
Not open for further replies.

Share This Page