Interface TanTerritory

All Known Subinterfaces:
TanRegion, TanTown

public interface TanTerritory
  • Method Details

    • getID

      String getID()
      Returns:
      the ID of the territory
    • getName

      String getName()
      Returns:
      the name of the territory
    • setName

      void setName(String name)
      Set the name of the territory
      Parameters:
      name - the new name of the territory
    • getDescription

      String getDescription()
      Returns:
      the description of the territory
    • setDescription

      void setDescription(String description)
      Set the description of the territory
      Parameters:
      description - the new description of the territory
    • getOwner

      TanPlayer getOwner()
      Returns:
      the owner of the territory
    • getOwnerUUID

      UUID getOwnerUUID()
      Returns:
      the UUID of the owner of the territory
    • getCreationDate

      Long getCreationDate()
      Returns:
      the creation date of the territory in Unix timestamp format
    • getIcon

      org.bukkit.inventory.ItemStack getIcon()
      Returns:
      the icon of the territory
    • getColor

      org.bukkit.Color getColor()
      Get the color of the territory
      Returns:
      the color of the territory
    • setColor

      void setColor(org.bukkit.Color color)
      Set the color of the territory
      Parameters:
      color - the new color of the territory
    • getNumberOfClaimedChunk

      int getNumberOfClaimedChunk()
      Returns:
      the number of claimed chunks in the territory
    • getClaimedChunks

      Collection<TanClaimedChunk> getClaimedChunks()
      Returns:
      The number of claimed chunks of this territory
    • getMembers

      Collection<TanPlayer> getMembers()
      Returns:
      the members of the territory
    • getVassals

      Collection<TanTerritory> getVassals()
      Returns:
      the vassals of the territory
    • haveOverlord

      boolean haveOverlord()
      Returns:
      the overlord of the territory
    • getOverlord

      TanTerritory getOverlord()
      Returns:
      the overlord of the territory