Tpb causing players to get kicked

my players can not use tpb they get kicked for inside terrain violation 200 and also if a player tp to someone can they then tp away then tpb back to player base with out the player knowing?

sounds like you need to update. i am blocking that kick in the latest version.

        object OnPlayerViolation(BasePlayer player, AntiHackType type, float amount)
        {
            if (type == AntiHackType.InsideTerrain && teleporting.ContainsKey(player.userID))
            {
                return false;
            }

            return null;
        }​

and in the Teleport method:

teleporting[player.userID] = newPosition;

which is set any time they teleport.

this prevents them from being kicked. if they're still being kicked then i can't fix it.

ok ty so much nivex your an awesome creator love your plugins

thanks but I didn't make this plugin. I just maintain it and rewrite parts of it when needed

so i updated the plugin but its still kicking players  for terrain violation 200 any idea i just had a player do /tpb in front of me and they were instant kicked for it any idea

no idea. i am blocking all inside terrain kicks before, during and after teleport