Method to detec Fly-Hackers

Discussion in 'Plugin Development' started by YellowPhoenix18, Jan 21, 2015.

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

    YellowPhoenix18

    Hello, iam searching for a good Method to detec FlyHacker, i have worked with PlayerMoveEvent already,but my ideas dont work really good ;( Hase someone of you a good Method?

    YellowPhoenix18
     
  2. @YellowPhoenix18 If there was a good way then fly hacks really wouldn't work on Amy server.
     
  3. Online

    CraftCreeper6

    @YellowPhoenix18 Here's a start - check the distance from their previous position - if it is essentially "not possible" and their speed is not higher than 0.1/2 (Can't remember) Kick them, 3 kicks for a ban. Ect...
     
  4. Offline

    Rufus5

    You could say something like
    Code:
    if(player.isFlying() && player.getGameMode != GameMode.CREATIVE){
    
    }
    and inside punish them however
     
  5. Offline

    sethrem

    @Rufus5 isFlying boolean is only true for creative gamemode flying not fly hacking.
     
  6. Offline

    Dmrtje

    @YellowPhoenix18 doesn't bukkit auto kick when you are flying in gamemode 0?
     
  7. Offline

    YellowPhoenix18

    Bukkit have an AutoKick-Method,but i cant use this,because there is no method to catch this ;)
    Thanks @CraftCreeper6 & @Rufus5
     
Thread Status:
Not open for further replies.

Share This Page