Package com.velocitypowered.api.plugin
Annotation Type Dependency
-
@Retention(RUNTIME) @Target({}) public @interface Dependency
Indicates that thePlugin
depends on another plugin in order to enable.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
optional
Whether or not the dependency is not required to enable this plugin.
-
-
-
Element Detail
-
id
String id
The plugin ID of the dependency.- Returns:
- The dependency plugin ID
- See Also:
Plugin.id()
-
-