Package dev.cwhead.GravesX.integration
Class CoreProtectIntegration
java.lang.Object
dev.cwhead.GravesX.integration.CoreProtectIntegration
Deprecated.
Unmaintained greedware plugin.
Handles integration with the CoreProtect plugin.
This class provides methods to obtain and interact with the CoreProtect API.
It checks the CoreProtect plugin's availability and API version to ensure compatibility.
-
Constructor Summary
ConstructorsConstructorDescriptionCoreProtectIntegration
(Graves plugin) Deprecated.Unmaintained greedware plugin. -
Method Summary
Modifier and TypeMethodDescriptionnet.coreprotect.CoreProtectAPI
Deprecated.Unmaintained greedware plugin.
-
Constructor Details
-
CoreProtectIntegration
Deprecated.Unmaintained greedware plugin. Constructs a newCoreProtectIntegration
.- Parameters:
plugin
- theGraves
plugin instance
-
-
Method Details
-
getCoreProtectAPI
Deprecated.Unmaintained greedware plugin. Retrieves the CoreProtect API instance. If the API instance is not already cached, it attempts to obtain it by checking if the CoreProtect plugin is available, enabled, and if the API version is at least 9. If the CoreProtect plugin is not available or the API version is insufficient, this method will log an error and returnnull
.- Returns:
- the
CoreProtectAPI
instance, ornull
if CoreProtect is unavailable or incompatible
-