Class HuskTownsGroup

java.lang.Object
io.github.projectunified.unigroup.husktowns.HuskTownsGroup
All Implemented Interfaces:
Group

public class HuskTownsGroup extends Object implements Group
  • Constructor Details

    • HuskTownsGroup

      public HuskTownsGroup(net.william278.husktowns.town.Town town)
  • Method Details

    • town

      public net.william278.husktowns.town.Town town()
    • 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