@Retention(SOURCE) @Target(TYPE) public @interface Plugin
  • Element Details

    • description

      String description
      Default:
      ""
    • load

      Default:
      POSTWORLD
    • author

      String author
      Default:
      ""
    • authors

      String[] authors
      Default:
      {}
    • website

      String website
      Default:
      ""
    • depend

      String[] depend
      Default:
      {}
    • softdepend

      String[] softdepend
      Default:
      {}
    • loadbefore

      String[] loadbefore
      Default:
      {}
    • prefix

      String prefix
      Default:
      ""
    • libraries

      String[] libraries
      Default:
      {}
    • apiVersion

      String apiVersion
      Default:
      ""
    • foliaSupported

      boolean foliaSupported
      Whether the generated plugin.yml should declare support for Folia's regionized threading. Folia refuses to enable a plugin that does not opt in via folia-supported: true; set this to true only once the plugin is verified Folia-safe.
      Returns:
      true to emit folia-supported: true into plugin.yml
      Default:
      false