Package fr.fuzeblocks.homeplugin.home
Interface HomeRequestStore
- All Known Implementing Classes:
LocalHomeStore,RedisHomeStore
public interface HomeRequestStore
The interface Home request store.
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdd home.voidClear all homes.voidclearHomes(UUID playerId) Clear homes.Gets homes.voidrelocateHome(UUID playerId, String homeName, org.bukkit.Location newLocation) Relocate home.voidremoveHome(UUID playerId, String homeName) Remove home.
-
Method Details
-
addHome
Add home.- Parameters:
playerId- the player idhomeName- the home namelocation- the location
-
removeHome
Remove home.- Parameters:
playerId- the player idhomeName- the home name
-
relocateHome
Relocate home.- Parameters:
playerId- the player idhomeName- the home namenewLocation- the new location
-
getHomes
Gets homes.- Parameters:
playerId- the player id- Returns:
- the homes
-
clearHomes
Clear homes.- Parameters:
playerId- the player id
-
clearAllHomes
void clearAllHomes()Clear all homes.
-