Interface KonquestPlot


public interface KonquestPlot
A plot of land within a town, with player members (users) and land (points).
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the list of all land (points) for this plot.
    List<org.bukkit.OfflinePlayer>
    Gets the list of all members (users) for this plot.
    boolean
    hasPoint(Point point)
    Checks whether the given point is a part of this plot.
    boolean
    hasUser(org.bukkit.OfflinePlayer player)
    Checks whether the given player is a member (user) of this plot.
  • Method Details

    • hasPoint

      boolean hasPoint(Point point)
      Checks whether the given point is a part of this plot. Use the toPoint method to convert from location to point easily. Make sure to check that the world matches also.
      Parameters:
      point - The point to check
      Returns:
      True when this plot contains the point, else false
    • hasUser

      boolean hasUser(org.bukkit.OfflinePlayer player)
      Checks whether the given player is a member (user) of this plot.
      Parameters:
      player - The player to check
      Returns:
      True when the player is a member, else false
    • getPoints

      List<Point> getPoints()
      Gets the list of all land (points) for this plot.
      Returns:
      The list of points
    • getUserOfflinePlayers

      List<org.bukkit.OfflinePlayer> getUserOfflinePlayers()
      Gets the list of all members (users) for this plot.
      Returns:
      The list of players