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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionPlayerChangePlotEvent
(org.bukkit.entity.Player player, WorldCoord from, WorldCoord to, org.bukkit.event.player.PlayerMoveEvent moveEvent) -
Method Summary
Modifier and TypeMethodDescriptiongetFrom()
static org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
org.bukkit.event.player.PlayerMoveEvent
org.bukkit.entity.Player
getTo()
boolean
void
setShowingPlotNotifications
(boolean showPlotNotifications) Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
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 classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList() -
getFrom
-
getMoveEvent
public org.bukkit.event.player.PlayerMoveEvent getMoveEvent() -
getTo
-
getPlayer
public org.bukkit.entity.Player getPlayer() -
getTownyWorldFrom
-
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.
-