Package dev.aura.bungeechat.api.account
Interface BungeeChatAccountStorage
-
public interface BungeeChatAccountStorage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AccountInfoload(UUID uuid)Load a player with the given UUID from the data source this class represents.default booleanrequiresConsoleAccountSave()voidsave(BungeeChatAccount account)
-
-
-
Method Detail
-
save
void save(BungeeChatAccount account)
-
load
AccountInfo load(UUID uuid)
Load a player with the given UUID from the data source this class represents.- Parameters:
uuid- UUID of the player to load.- Returns:
- A tuple of the player and a boolean that specifies whether it needs to be saved right after.
-
requiresConsoleAccountSave
default boolean requiresConsoleAccountSave()
-
-