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 PluginSupport
Returns the plugin support instance, providing access to functions for checking the status of external optional dependencies.boolean
Checks if the BetterModel plugin is successfully loaded and enabled on the server.boolean
Checks 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:
true
if BetterModel is loaded and enabled,false
otherwise
-
isNovaLoaded
boolean isNovaLoaded()Checks if the Nova plugin is successfully loaded and enabled on the server.- Returns:
true
if Nova is loaded and enabled,false
otherwise
-