Package com.velocitypowered.api.plugin
Annotation Type Plugin
-
@Retention(RUNTIME) @Target(TYPE) public @interface Plugin
Annotation used to describe a Velocity plugin.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String
id
The ID of the plugin.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String[]
authors
The author of the plugin.Dependency[]
dependencies
The dependencies required to load before this plugin.java.lang.String
description
The description of the plugin, explaining what it can be used for.java.lang.String
name
The human readable name of the plugin as to be used in descriptions and similar things.java.lang.String
url
The URL or website of the plugin.java.lang.String
version
The version of the plugin.
-
-
-
-
dependencies
Dependency[] dependencies
The dependencies required to load before this plugin.- Returns:
- the plugin dependencies
- Default:
- {}
-
-