NoCheat getting in the way

Discussion in 'Plugin Development' started by tylersyme, Feb 26, 2014.

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

    tylersyme

    Hey, so I'm using a PlayerInteractEvent where if a player right clicks another from a long distance, it damages that player (like a gun). It would work flawlessly, but NoCheat's NoSwing keeps preventing any damage from being dealt to that player from a long distance. I set the PlayerInteractEvent to EventPriority.HIGHEST in hopes that it would be executed after NoCheat, but it didn't work.

    Is there are good way around NoCheat in this area? Thanks :D
     
  2. Offline

    Maulss

    Perhaps remove NoCheat's NoSwing protection as defined in the config?
     
  3. Offline

    tylersyme

    Yes, but I'd prefer to do that only as a last resort. Although that may simply be my only option
     
  4. Offline

    Garris0n

    You could give them bypass for a tick.
     
  5. Offline

    tylersyme

    So to give them bypass would that involve hooking into NoCheat through the build path?
     
  6. Offline

    viper_monster

Thread Status:
Not open for further replies.

Share This Page