Class BentoBoxGroup

java.lang.Object
io.github.projectunified.unigroup.bentobox.BentoBoxGroup
All Implemented Interfaces:
Group

public class BentoBoxGroup extends Object implements Group
  • Constructor Details

    • BentoBoxGroup

      public BentoBoxGroup(world.bentobox.bentobox.database.objects.Island island)
  • Method Details

    • island

      public world.bentobox.bentobox.database.objects.Island island()
    • 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