Package com.plotsquared.core.events
Class PlotDoneEvent
java.lang.Object
com.plotsquared.core.events.PlotEvent
com.plotsquared.core.events.PlotDoneEvent
- All Implemented Interfaces:
CancellablePlotEvent
Called when a plot is cleared
-
Constructor Summary
ConstructorDescriptionPlotDoneEvent
(Plot plot) PlotDoneEvent: Called when a plot is being set as done -
Method Summary
Methods inherited from class com.plotsquared.core.events.PlotEvent
getEventName, getPlot
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.plotsquared.core.events.CancellablePlotEvent
getEventResultRaw
-
Constructor Details
-
PlotDoneEvent
PlotDoneEvent: Called when a plot is being set as done- Parameters:
plot
- The plot being set as done
-
-
Method Details
-
getPlotId
Get the PlotId.- Returns:
- PlotId
-
getWorld
Get the world name.- Returns:
- String
-
getEventResult
- Specified by:
getEventResult
in interfaceCancellablePlotEvent
-
setEventResult
- Specified by:
setEventResult
in interfaceCancellablePlotEvent
-