Package com.velocitypowered.api.plugin
Annotation Interface Dependency
Indicates that the
Plugin
depends on another plugin in order to enable.-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
Whether or not the dependency is not required to enable this plugin.
-
Element Details
-
id
String idThe plugin ID of the dependency.- Returns:
- The dependency plugin ID
- See Also:
-
-
-
optional
boolean optionalWhether or not the dependency is not required to enable this plugin. By default this isfalse
, meaning that the dependency is required to enable this plugin.- Returns:
- true if the dependency is not required for the plugin to work
- Default:
- false
-