Package com.velocitypowered.api.plugin
Annotation Type Dependency
-
@Retention(RUNTIME) @Target({}) public @interface Dependency
Indicates that thePlugindepends on another plugin in order to enable.
-
-
Element Detail
-
id
String id
The plugin ID of the dependency.- Returns:
- The dependency plugin ID
- See Also:
Plugin.id()
-
-
-
version
String version
The required version of the dependency. This should be in an NPM-compatible versioning format, which you can figure from npm's SemVer checker. If not specified, this assumes any version is acceptable.- Returns:
- the version requirement
- Default:
- "*"
-
-