Interface Group

All Known Implementing Classes:
BentoBoxGroup, BetterTeamsGroup, FactionsBridgeGroup, FactionsUUIDGroup, HuskTownsGroup, KingdomGroup, LandGroup, McMMOGroup, NationGroup, NationGroup, NationGroup, PartiesGroup, PlaceholderGroup, SimpleClansGroup, SuperiorSkyblockGroup, TownGroup

public interface Group
The interface to get information from the group. Should check if the group is handled by calling handled() and exists by calling exists() before calling other methods.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Check if the group exists
    default boolean
    Check if the group can be handled by the provider.
    Get the name of the group.
    Get the owner of the group.
  • Method Details

    • handled

      default boolean handled()
      Check if the group can be handled by the provider.
      Returns:
      true if handled, otherwise false
    • exists

      boolean exists()
      Check if the group exists
      Returns:
      true if it does, otherwise false
    • owner

      UUID owner()
      Get the owner of the group.
      Returns:
      the owner UUID, or null if the group does not exist
    • name

      String name()
      Get the name of the group.
      Returns:
      the name, or null if the group does not exist