Package cz.jeme.bestium.api
Interface PluginSupport
@NonExtendable
public interface PluginSupport
Provides support for checking the status of optional dependency plugins for Bestium.
-
Method Summary
Modifier and TypeMethodDescriptionstatic PluginSupportReturns the plugin support instance, providing access to functions for checking the status of external optional dependencies.booleanChecks if the BetterModel plugin is successfully loaded and enabled on the server.booleanChecks if the Nova plugin is successfully loaded and enabled on the server.
-
Method Details
-
getSupport
Returns the plugin support instance, providing access to functions for checking the status of external optional dependencies.- Returns:
- the plugin support instance
- Throws:
IllegalStateException- if called before Bestium plugin is loaded
-
isBetterModelLoaded
boolean isBetterModelLoaded()Checks if the BetterModel plugin is successfully loaded and enabled on the server.- Returns:
trueif BetterModel is loaded and enabled,falseotherwise
-
isNovaLoaded
boolean isNovaLoaded()Checks if the Nova plugin is successfully loaded and enabled on the server.- Returns:
trueif Nova is loaded and enabled,falseotherwise
-