Class SuccessfulTownyTeleportEvent

java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.teleport.SuccessfulTownyTeleportEvent

public class SuccessfulTownyTeleportEvent extends org.bukkit.event.Event
Thrown when Towny teleports a player after they have used /res, /town, or /nation spawn.
Since:
0.100.2.12
Author:
LlmDl
  • Constructor Details

    • SuccessfulTownyTeleportEvent

      public SuccessfulTownyTeleportEvent(Resident resident, org.bukkit.Location loc, double cost)
  • Method Details

    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
    • getResident

      public Resident getResident()
    • getTeleportLocation

      public org.bukkit.Location getTeleportLocation()
    • getTeleportCost

      public double getTeleportCost()
      Returns:
      The price that the player paid to teleport.