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.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String
id
The plugin ID of the dependency.
-
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
java.lang.String id
The plugin ID of the dependency.- Returns:
- The dependency plugin ID
- See Also:
Plugin.id()
-
-