Package de.Keyle.MyPet.api.util.service
Annotation Interface RequiresPlugin
Marks a
ServiceContainer that bridges to a specific third-party Bukkit plugin.
The ServiceManager only instantiates the service if value() is installed
on the server, and only registers it if the per-plugin <name>.Enabled flag in
hooks-config.yml is true.-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valueThe plugin this service bridges to.- Returns:
- the Bukkit plugin name to gate on
-
classPath
String classPathA class the plugin must expose, for telling forks and rewrites apart.- Returns:
- optional fully-qualified main-class name; if non-empty, the installed plugin must match this class. Used when multiple plugins share a name.
- Default:
""
-