Package com.plotsquared.core.events
Class PlayerPlotAddEvent
java.lang.Object
com.plotsquared.core.events.PlotEvent
com.plotsquared.core.events.PlayerPlotAddRemoveEvent
com.plotsquared.core.events.PlayerPlotAddRemoveCancellableEvent
com.plotsquared.core.events.PlayerPlotAddEvent
- All Implemented Interfaces:
CancellablePlotEvent
Called when a player is going to be added to a plot
- Since:
- 7.6.0
-
Nested Class Summary
Nested classes/interfaces inherited from class com.plotsquared.core.events.PlayerPlotAddRemoveEvent
PlayerPlotAddRemoveEvent.Reason -
Constructor Summary
ConstructorsConstructorDescriptionPlayerPlotAddEvent(PlotPlayer<?> initiator, Plot plot, UUID player, PlayerPlotAddRemoveEvent.Reason reason) Called when a player will be added to a plot -
Method Summary
Methods inherited from class com.plotsquared.core.events.PlayerPlotAddRemoveCancellableEvent
getEventResult, setEventResultMethods inherited from class com.plotsquared.core.events.PlayerPlotAddRemoveEvent
getInitiator, getPlayer, getReasonMethods 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
-
PlayerPlotAddEvent
public PlayerPlotAddEvent(PlotPlayer<?> initiator, Plot plot, UUID player, PlayerPlotAddRemoveEvent.Reason reason) Called when a player will be added to a plot- Parameters:
initiator- Player that initiated the eventplot- Plot in which the event occurredplayer- Player that will be addedreason- The reason for the add
-