Interface KonquestCamp

All Superinterfaces:
KonquestTerritory

public interface KonquestCamp extends KonquestTerritory
A camp with a bed for a single barbarian player.
  • Method Details

    • isOwnerOnline

      boolean isOwnerOnline()
      Checks whether the owner is currently online.
      Returns:
      True when the camp owner is online, else false
    • getOwner

      org.bukkit.OfflinePlayer getOwner()
      Gets the player who owns this camp.
      Returns:
      The player owner
    • isPlayerOwner

      boolean isPlayerOwner(org.bukkit.OfflinePlayer player)
      Checks whether the given player is the owner of this camp.
      Parameters:
      player - The player to check
      Returns:
      True when the player is the owner, else false
    • getBedLocation

      org.bukkit.Location getBedLocation()
      Gets the location of the bed in this camp.
      Returns:
      The bed location
    • isProtected

      boolean isProtected()
      Checks whether this camp is currently protected from attacks. Camps are protected typically due to the owner being offline. When a camp is protected, it cannot be edited or accessed.
      Returns:
      True when the camp is protected, else false