Class PlotGroupAddEvent
java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.CancellableTownyEvent
com.palmergames.bukkit.towny.event.plot.group.PlotGroupAddEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
- Direct Known Subclasses:
PlotGroupCreatedEvent
Called when a townblock is added into a plot group
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionPlotGroupAddEvent
(PlotGroup group, TownBlock townBlock, org.bukkit.entity.Player player) -
Method Summary
Methods inherited from class com.palmergames.bukkit.towny.event.CancellableTownyEvent
getCancelMessage, isCancelled, setCancelled, setCancelMessage
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PlotGroupAddEvent
-
-
Method Details
-
getPlotGroup
-
getTownBlock
-
getPlayer
@NotNull public @NotNull org.bukkit.entity.Player getPlayer() -
getHandlerList
@NotNull public static @NotNull org.bukkit.event.HandlerList getHandlerList() -
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-