Class PlotGroupCreatedEvent
java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.CancellableTownyEvent
com.palmergames.bukkit.towny.event.plot.group.PlotGroupAddEvent
com.palmergames.bukkit.towny.event.plot.group.PlotGroupCreatedEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
Called when a plot group is created.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionPlotGroupCreatedEvent
(PlotGroup group, TownBlock townBlock, org.bukkit.entity.Player player) -
Method Summary
Methods inherited from class com.palmergames.bukkit.towny.event.plot.group.PlotGroupAddEvent
getHandlerList, getHandlers, getPlayer, getPlotGroup
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
-
PlotGroupCreatedEvent
-
-
Method Details
-
getTownBlock
- Overrides:
getTownBlock
in classPlotGroupAddEvent
- Returns:
- The initial townblock that this plot group is being created with.
-