Interface OfflineHome
- All Known Implementing Classes:
HomeOfflineManager,HomeOfflineSQLManager,HomeOfflineYMLManager
public interface OfflineHome
The interface OfflineHome.
-
Method Summary
Modifier and TypeMethodDescriptionbooleandeleteHome(UUID uuid, String homeName) Delete home boolean.booleanExist boolean.Gets cache manager.org.bukkit.LocationgetHomeLocation(UUID uuid, String homeName) Gets home location.intgetHomeNumber(UUID uuid) Gets home number.List<org.bukkit.Location> getHomesLocation(UUID uuid) Gets homes location.getHomesName(UUID uuid) Gets homes name.default booleanisYAML()Is yaml boolean.booleanrelocateHome(UUID uuid, String homeName, org.bukkit.Location newLocation) Relocate home boolean.booleanrenameHome(UUID uuid, String oldHomeName, String newHomeName) Rename home boolean.booleanSets home.
-
Method Details
-
setHome
Sets home.- Parameters:
uuid- the UUID of the playername- the namelocation- the location- Returns:
- the home
-
renameHome
Rename home boolean.- Parameters:
uuid- the UUID of the playeroldHomeName- the old home namenewHomeName- the new home name- Returns:
- the boolean
-
relocateHome
Relocate home boolean.- Parameters:
uuid- the UUID of the playerhomeName- the home namenewLocation- the new location- Returns:
- the boolean
-
getHomesLocation
Gets homes location.- Parameters:
uuid- the UUID of the player- Returns:
- the homes location
-
getHomeNumber
Gets home number.- Parameters:
uuid- the UUID of the player- Returns:
- the home number
-
getHomesName
Gets homes name.- Parameters:
uuid- the UUID of the player- Returns:
- the homes name
-
getCacheManager
CacheManager getCacheManager()Gets cache manager.- Returns:
- the cache manager
-
getHomeLocation
Gets home location.- Parameters:
uuid- the UUID of the playerhomeName- the home name- Returns:
- the home location
-
deleteHome
Delete home boolean.- Parameters:
uuid- the UUID of the playerhomeName- the home name- Returns:
- the boolean
-
exist
Exist boolean.- Parameters:
uuid- the UUID of the playerhomeName- the home name- Returns:
- the boolean
-
isYAML
default boolean isYAML()Is yaml boolean.- Returns:
- the boolean
-