public class PlanSpongeEnableEvent
extends org.spongepowered.api.event.impl.AbstractEvent
This includes, but might not be limited to: - First time the plugin enables successfully - Plan is reloaded - Sponge-BungeeCord setup updates settings - Plan is enabled after it was disabled
event.isPlanSystemEnabled()
can be called to determine if the enable was successful.
It is not guaranteed that this event is called when the plugin fails to enable properly.
Constructor and Description |
---|
PlanSpongeEnableEvent(PlanSponge plugin) |
Modifier and Type | Method and Description |
---|---|
org.spongepowered.api.event.cause.Cause |
getCause() |
org.spongepowered.api.event.cause.EventContext |
getContext() |
java.lang.Object |
getSource() |
boolean |
isPlanSystemEnabled() |
public PlanSpongeEnableEvent(PlanSponge plugin)