Annotation Interface OnDisable


@Target(METHOD) @Retention(RUNTIME) public @interface OnDisable
Indicates that a method should be called when the plugin is disabled.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<?>[]
    This indicates the priority of the method.
  • Element Details

    • before

      Class<?>[] before
      This indicates the priority of the method.
      Returns:
      The classes to call before this method
      Default:
      {}