Package fr.fuzeblocks.homeplugin.home
Interface Home
- All Known Implementing Classes:
HomeManager,HomeSQLManager,HomeYMLManager
public interface Home
The interface Home.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd home boolean.booleandeleteHome(org.bukkit.entity.Player player, String homeName) Delete home boolean.booleanExist boolean.Gets cache manager.org.bukkit.LocationgetHomeLocation(org.bukkit.entity.Player player, String homeName) Gets home location.intgetHomeNumber(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.booleanisStatus(org.bukkit.entity.Player player) Is status boolean.default booleanisYAML()Is yaml boolean.booleanrelocateHome(org.bukkit.entity.Player player, String homeName, org.bukkit.Location newLocation) Relocate home boolean.booleanrenameHome(org.bukkit.entity.Player player, String oldHomeName, String newHomeName) Rename home boolean.booleanSets home.
-
Method Details
-
addHome
Add home boolean.- Parameters:
player- the playername- the name- Returns:
- the boolean
-
setHome
Sets home.- Parameters:
player- the playername- the namelocation- the location- Returns:
- the home
-
renameHome
Rename home boolean.- Parameters:
player- the playeroldHomeName- the old home namenewHomeName- 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 playerhomeName- the home namenewLocation- the new location- Returns:
- the boolean
-
getHomesLocation
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
Gets homes name.- Parameters:
player- the player- Returns:
- the homes name
-
getCacheManager
CacheManager getCacheManager()Gets cache manager.- Returns:
- the cache manager
-
getHomeLocation
Gets home location.- Parameters:
player- the playerhomeName- the home name- Returns:
- the home location
-
deleteHome
Delete home boolean.- Parameters:
player- the playerhomeName- 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
Exist boolean.- Parameters:
player- the playerhomeName- the home name- Returns:
- the boolean
-
isYAML
default boolean isYAML()Is yaml boolean.- Returns:
- the boolean
-