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, org.bukkit.event.player.PlayerMoveEvent moveEvent)
  • 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

      public org.bukkit.event.player.PlayerMoveEvent getMoveEvent()
    • 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.