Does anyone know how to limit fly speed hacks?

Discussion in 'Spigot Plugin Development' started by jacksonspham, Jul 16, 2018.

  1. I am trying to make a plugin where player have a set speed limit when fly hacking
  2. ScarabCoder

    ScarabCoder Retired Resource Staff

    In the player move event, check if the from is x distance away from to. For example, if he moved 5 blocks in a single movement he's probably hacking.

    Also, remove the resource tag. It's for threads that explain some concept or a tutorial.