Interface EssentialsCAPI


public interface EssentialsCAPI
The main API. Grab it from APIProvider.get() and use the managers below. Managers are always returned, even if their system is turned off, in which case they just do nothing. Check the is*Enabled methods first if that matters to you.
  • Method Details

    • getKitManager

      KitManager getKitManager()
      Gets the kit manager.
      Returns:
      the kit manager, never null
    • getRtpManager

      RtpManager getRtpManager()
      Gets the RTP manager.
      Returns:
      the RTP manager, never null
    • getHomeManager

      HomeManager getHomeManager()
      Gets the homes manager.
      Returns:
      the home manager, never null
    • getWarpManager

      WarpManager getWarpManager()
      Gets the warp manager.
      Returns:
      the warp manager, never null
    • getLanguageManager

      LanguageManager getLanguageManager()
      Gets the language manager. Always active, there is no toggle for it
      Returns:
      the language manager, never null
    • isKitSystemEnabled

      boolean isKitSystemEnabled()
      Checks if kits are enabled.
      Returns:
      true if enabled
    • isRtpSystemEnabled

      boolean isRtpSystemEnabled()
      Checks if RTP is enabled.
      Returns:
      true if enabled
    • isHomeSystemEnabled

      boolean isHomeSystemEnabled()
      Checks if homes are enabled.
      Returns:
      true if enabled
    • isWarpSystemEnabled

      boolean isWarpSystemEnabled()
      Checks if warps are enabled.
      Returns:
      true if enabled
    • getApiVersion

      String getApiVersion()
      Gets the API version, for example "1.4.0". Separate from the plugin version.
      Returns:
      the API version, never null