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

    Modifier and Type
    Method
    Description
    Gets this integration's API object, if present.
    Gets this integration's plugin object.
    Gets this integration's type.
    boolean
    Checks if this integration is enabled.
    void
    Loads this integration and enable it if present in the server.
  • 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.