Class TownGroup

java.lang.Object
io.github.projectunified.unigroup.towny.TownGroup
All Implemented Interfaces:
Group

public class TownGroup extends Object implements Group
  • Constructor Details

    • TownGroup

      public TownGroup(com.palmergames.bukkit.towny.object.Town town)
  • Method Details

    • town

      public com.palmergames.bukkit.towny.object.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