Interface ChatPluginIntegration
- All Known Subinterfaces:
AnticheatIntegration
,CombatLogIntegration
,CosmeticsIntegration
,EconomyIntegration
,MultiPlatformIntegration
,PermissionIntegration
,PlaceholderIntegration
,RegionIntegration
,SocialIntegration
,VersionIntegration
public interface ChatPluginIntegration
Represents an integration handled by the
IntegrationManager
.- See Also:
-
Method Summary
-
Method Details
-
isEnabled
boolean isEnabled()Checks if this integration is enabled.- Returns:
- Whether this integration is enabled
-
getType
IntegrationType<?> getType()Gets this integration's type.- Returns:
- Integration's type
-
getPlugin
Object getPlugin()Gets this integration's plugin object.- Returns:
- Integrations' plugin object
-
getAPI
Object getAPI()Gets this integration's API object, if present.Will return
null
if not used.- Returns:
- Integration's API object
-
load
void load()Loads this integration and enable it if present in the server.
-