PlayerPreTeleportEvent
Called when a player initiates a teleport to a location. The teleport will go through 3 seconds after the event is launched, assuming it isn't cancelled by the player or via code.
Parameters
player
Player that will teleport
destination
Teleport destination
public void PlayerPreTeleportEvent(Player player, Location destination, PlayerTeleportEvent.Purpose purpose)