Package com.plotsquared.core.events
Class PlotRateEvent
java.lang.Object
com.plotsquared.core.events.PlotEvent
com.plotsquared.core.events.PlotRateEvent
- All Implemented Interfaces:
CancellablePlotEvent
-
Constructor Summary
ConstructorsConstructorDescriptionPlotRateEvent(PlotPlayer<?> rater, @Nullable Rating rating, Plot plot) PlotRateEvent: Called when a player rates a plot -
Method Summary
Methods inherited from class com.plotsquared.core.events.PlotEvent
getEventName, getPlotMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.plotsquared.core.events.CancellablePlotEvent
getEventResultRaw
-
Constructor Details
-
PlotRateEvent
PlotRateEvent: Called when a player rates a plot- Parameters:
rater- The player rating the plotrating- The rating being givenplot- The plot being rated
-
-
Method Details
-
getRater
-
getRating
-
setRating
-
getEventResult
- Specified by:
getEventResultin interfaceCancellablePlotEvent
-
setEventResult
- Specified by:
setEventResultin interfaceCancellablePlotEvent
-