@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
|
String[] |
libraries
Libraries from maven central which are loaded at runtime.
|
org.bukkit.plugin.PluginLoadOrder |
load
The load order of the plugin
|
String[] |
loadBefore
A list of plugins which should be loaded after 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 org.bukkit.plugin.PluginLoadOrder load
public abstract String apiVersion
@Nonnull public abstract PluginDependency[] depends
Copyright © 2022. All rights reserved.