Interface Expansion


public interface Expansion
An interface for an expansion instance
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Called when disabling the expansion
    default void
    Called when enabling the expansion
    default boolean
    Called when loading the expansion
  • Method Details

    • onLoad

      default boolean onLoad()
      Called when loading the expansion
      Returns:
      whether the expansion loaded properly
    • onEnable

      default void onEnable()
      Called when enabling the expansion
    • onDisable

      default void onDisable()
      Called when disabling the expansion