Interface Home

All Known Implementing Classes:
HomeManager, HomeSQLManager, HomeYMLManager

public interface Home
The interface Home.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    addHome(org.bukkit.entity.Player player, String name)
    Add home boolean.
    boolean
    deleteHome(org.bukkit.entity.Player player, String homeName)
    Delete home boolean.
    boolean
    exist(org.bukkit.entity.Player player, String homeName)
    Exist boolean.
    Gets cache manager.
    org.bukkit.Location
    getHomeLocation(org.bukkit.entity.Player player, String homeName)
    Gets home location.
    int
    getHomeNumber(org.bukkit.entity.Player player)
    Gets home number.
    List<org.bukkit.Location>
    getHomesLocation(org.bukkit.entity.Player player)
    Gets homes location.
    getHomesName(org.bukkit.entity.Player player)
    Gets homes name.
    boolean
    isStatus(org.bukkit.entity.Player player)
    Is status boolean.
    default boolean
    Is yaml boolean.
    boolean
    relocateHome(org.bukkit.entity.Player player, String homeName, org.bukkit.Location newLocation)
    Relocate home boolean.
    boolean
    renameHome(org.bukkit.entity.Player player, String oldHomeName, String newHomeName)
    Rename home boolean.
    boolean
    setHome(org.bukkit.entity.Player player, String name, org.bukkit.Location location)
    Sets home.
  • Method Details

    • addHome

      boolean addHome(org.bukkit.entity.Player player, String name)
      Add home boolean.
      Parameters:
      player - the player
      name - the name
      Returns:
      the boolean
    • setHome

      boolean setHome(org.bukkit.entity.Player player, String name, org.bukkit.Location location)
      Sets home.
      Parameters:
      player - the player
      name - the name
      location - the location
      Returns:
      the home
    • renameHome

      boolean renameHome(org.bukkit.entity.Player player, String oldHomeName, String newHomeName)
      Rename home boolean.
      Parameters:
      player - the player
      oldHomeName - the old home name
      newHomeName - the new home name
      Returns:
      the boolean
    • relocateHome

      boolean relocateHome(org.bukkit.entity.Player player, String homeName, org.bukkit.Location newLocation)
      Relocate home boolean.
      Parameters:
      player - the player
      homeName - the home name
      newLocation - the new location
      Returns:
      the boolean
    • getHomesLocation

      List<org.bukkit.Location> getHomesLocation(org.bukkit.entity.Player player)
      Gets homes location.
      Parameters:
      player - the player
      Returns:
      the homes location
    • getHomeNumber

      int getHomeNumber(org.bukkit.entity.Player player)
      Gets home number.
      Parameters:
      player - the player
      Returns:
      the home number
    • getHomesName

      List<String> getHomesName(org.bukkit.entity.Player player)
      Gets homes name.
      Parameters:
      player - the player
      Returns:
      the homes name
    • getCacheManager

      CacheManager getCacheManager()
      Gets cache manager.
      Returns:
      the cache manager
    • getHomeLocation

      org.bukkit.Location getHomeLocation(org.bukkit.entity.Player player, String homeName)
      Gets home location.
      Parameters:
      player - the player
      homeName - the home name
      Returns:
      the home location
    • deleteHome

      boolean deleteHome(org.bukkit.entity.Player player, String homeName)
      Delete home boolean.
      Parameters:
      player - the player
      homeName - the home name
      Returns:
      the boolean
    • isStatus

      boolean isStatus(org.bukkit.entity.Player player)
      Is status boolean.
      Parameters:
      player - the player
      Returns:
      the boolean
    • exist

      boolean exist(org.bukkit.entity.Player player, String homeName)
      Exist boolean.
      Parameters:
      player - the player
      homeName - the home name
      Returns:
      the boolean
    • isYAML

      default boolean isYAML()
      Is yaml boolean.
      Returns:
      the boolean