PlayerTeleportEvent

public void PlayerTeleportEvent(Player player, Location destination)

Event fired when players teleport due to EliteMobs. This is used for teleporting to the Adventurer's Guild and to Dungeons.

Parameters

player

Player to be teleported

destination

Teleport destination


public void PlayerTeleportEvent(Player player, Location destination, PlayerTeleportEvent.Purpose purpose)