Class KingdomGroup

java.lang.Object
io.github.projectunified.unigroup.kingdoms.KingdomGroup
All Implemented Interfaces:
Group

public class KingdomGroup extends Object implements Group
  • Constructor Details

    • KingdomGroup

      public KingdomGroup(org.kingdoms.constants.group.Kingdom kingdom)
  • Method Details

    • kingdom

      public org.kingdoms.constants.group.Kingdom kingdom()
    • exists

      public boolean exists()
      Description copied from interface: Group
      Check if the group exists
      Specified by:
      exists in interface Group
      Returns:
      true if it does, otherwise false
    • owner

      public UUID owner()
      Description copied from interface: Group
      Get the owner of the group.
      Specified by:
      owner in interface Group
      Returns:
      the owner UUID, or null if the group does not exist
    • name

      public String name()
      Description copied from interface: Group
      Get the name of the group.
      Specified by:
      name in interface Group
      Returns:
      the name, or null if the group does not exist