Package com.velocitypowered.api.plugin
Annotation Interface Plugin
Annotation used to describe a Velocity plugin.
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionString[]
The author of the plugin.The dependencies required to load before this plugin.The description of the plugin, explaining what it can be used for.The human readable name of the plugin as to be used in descriptions and similar things.The URL or website of the plugin.The version of the plugin.
-
Element Details
-
id
String idThe ID of the plugin. This ID should be unique as to not conflict with other plugins. The plugin ID may contain alphanumeric characters, dashes, and underscores, and be a maximum of 64 characters long.- Returns:
- the ID for this plugin
-
-
-
name
String nameThe human readable name of the plugin as to be used in descriptions and similar things.- Returns:
- The plugin name, or an empty string if unknown
- Default:
- ""
-
version
String versionThe version of the plugin.- Returns:
- the version of the plugin, or an empty string if unknown
- Default:
- ""
-
description
String descriptionThe description of the plugin, explaining what it can be used for.- Returns:
- The plugin description, or an empty string if unknown
- Default:
- ""
-
url
String urlThe URL or website of the plugin.- Returns:
- The plugin url, or an empty string if unknown
- Default:
- ""
-
authors
String[] authorsThe author of the plugin.- Returns:
- the plugin's author, or empty if unknown
- Default:
- {""}
-
dependencies
Dependency[] dependenciesThe dependencies required to load before this plugin.- Returns:
- the plugin dependencies
- Default:
- {}
-