Class Parties

java.lang.Object
com.alessiodp.parties.api.Parties

public final class Parties extends Object
  • Method Details

    • getApi

      public static PartiesAPI getApi() throws IllegalStateException
      Get the PartiesAPI instance
      Returns:
      the PartiesAPI interface
      Throws:
      IllegalStateException - if PartiesAPI has not been initialized, in other words, PartiesAPI has not been loaded
    • setApi

      public static void setApi(PartiesAPI instance)
      Set the Parties API instance. This should not be used.
      Parameters:
      instance - the PartiesAPI instance.
    • isFlagHook

      public static boolean isFlagHook()
      Flag to know if Parties has been hooked
      Returns:
      true if the API has been hooked at least one time