Interface Loadable

All Known Subinterfaces:
ListenerComponent
All Known Implementing Classes:
BasePlugin, CommandComponent, PermissionComponent, PostEnableComponent

public interface Loadable
Interface for loadable components
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Called when the component is disabled
    default void
    Called when the component is enabled
    default void
    Called when the component is loaded
  • Method Details

    • load

      default void load()
      Called when the component is loaded
    • enable

      default void enable()
      Called when the component is enabled
    • disable

      default void disable()
      Called when the component is disabled