Class PlayerChangePlotEvent

java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.PlayerChangePlotEvent

public class PlayerChangePlotEvent extends org.bukkit.event.Event
Author: Chris H (Zren / Shade) Date: 4/15/12
  • Constructor Details

    • PlayerChangePlotEvent

      public PlayerChangePlotEvent(org.bukkit.entity.Player player, WorldCoord from, WorldCoord to)
  • Method Details

    • getHandlers

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

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

      public WorldCoord getFrom()
    • getMoveEvent

      @Deprecated(since="0.102.0.14", forRemoval=true) public org.bukkit.event.player.PlayerMoveEvent getMoveEvent() throws UnsupportedOperationException
      Deprecated, for removal: This API element is subject to removal in a future version.
      This event no longer includes the delegate PlayerMoveEvent. Use getFrom() and getTo() instead.
      Throws:
      UnsupportedOperationException - always, do not call.
    • getTo

      public WorldCoord getTo()
    • getPlayer

      public org.bukkit.entity.Player getPlayer()
    • getTownyWorldFrom

      public TownyWorld getTownyWorldFrom()
    • getTownyWorldTo

      public TownyWorld getTownyWorldTo()
    • isShowingPlotNotifications

      public boolean isShowingPlotNotifications()
      Returns:
      will Towny show plot notifications to the player?
    • setShowingPlotNotifications

      public void setShowingPlotNotifications(boolean showPlotNotifications)
      Parameters:
      showPlotNotifications - determines if Towny will show plot notifications to the player.