@Documented @Target(value=TYPE) @Retention(value=SOURCE) public @interface Plugin
| Modifier and Type | Required Element and Description |
|---|---|
String |
name
The name of the plugin
|
| Modifier and Type | Optional Element and Description |
|---|---|
String |
apiVersion
The api version of the plugin
|
String[] |
authors
The authors of the plugin
|
PluginDependency[] |
depends
A list of dependencies for the plugin
|
String |
description
A description of the plugin
|
String[] |
hardDepends
A list of hard dependencies for the plugin
|
PluginLoadOrder |
load
The load order of the plugin
|
String[] |
loadBefore
A list of plugins which should be loaded before this plugin
|
String[] |
softDepends
A list of soft dependencies for the plugin
|
String |
version
The plugin version
|
String |
website
A website for the plugin
|
@Nonnull public abstract PluginLoadOrder load
public abstract String apiVersion
@Nonnull public abstract PluginDependency[] depends
Copyright © 2020. All rights reserved.