Class PlayerTeleportToPlotEvent

All Implemented Interfaces:
CancellablePlotEvent

Called when a player teleports to a plot
  • Constructor Details

    • PlayerTeleportToPlotEvent

      public PlayerTeleportToPlotEvent(PlotPlayer<?> player, Location from, Plot plot, TeleportCause cause)
      PlayerTeleportToPlotEvent: Called when a player teleports to a plot
      Parameters:
      player - That was teleported
      from - The origin location, from where the teleport was triggered (players location most likely)
      plot - Plot to which the player was teleported
      cause - Why the teleport is being completed
      Since:
      6.1.0
  • Method Details