iii do not want to use this feature but no matter iif i take all perms away from me i still tp to markker placed on map any way to stop this
Tp.marker problemsNot An Issue
this feature will only work if you have the nteleportation.tpmarker permission. so either you have the permission still or you are using another plugin that has this feature
private void OnMapMarkerAdded(BasePlayer player, ProtoBuf.MapNote note)
{
if (player.IsAlive() && **permission.UserHasPermission(player.UserIDString, PermTpMarker)**)
{
float y = TerrainMeta.HeightMap.GetHeight(note.worldPosition);
if (player.IsFlying) y = Mathf.Max(y, player.transform.position.y);
Teleport(player, note.worldPosition + new Vector3(0f, y, 0f), true);
}
} Locked automatically