anti afk code, more pvp stuff