Class PlanSpongeEnableEvent

  • All Implemented Interfaces:
    org.spongepowered.api.event.Event

    public class PlanSpongeEnableEvent
    extends org.spongepowered.api.event.impl.AbstractEvent
    Event that is called when Plan is enabled.

    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.

    • Field Summary

      • Fields inherited from class org.spongepowered.api.event.impl.AbstractEvent

        currentOrder
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.spongepowered.api.event.cause.Cause getCause()  
      org.spongepowered.api.event.cause.EventContext getContext()  
      java.lang.Object getSource()  
      boolean isPlanSystemEnabled()  
      • Methods inherited from class org.spongepowered.api.event.impl.AbstractEvent

        init
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PlanSpongeEnableEvent

        public PlanSpongeEnableEvent​(PlanSponge plugin)
    • Method Detail

      • isPlanSystemEnabled

        public boolean isPlanSystemEnabled()
      • getCause

        public org.spongepowered.api.event.cause.Cause getCause()
      • getSource

        public java.lang.Object getSource()
      • getContext

        public org.spongepowered.api.event.cause.EventContext getContext()