teleportLeavingInstance
public static boolean teleportLeavingInstance(Player player, Location destination, PlayerTeleportEvent.TeleportCause cause)
An explicit exit counts as quitting only after Bukkit accepts and completes the teleport.