public final class VoidAccountStorage extends NegativityAccountStorage
Modifier and Type | Field and Description |
---|---|
static VoidAccountStorage |
INSTANCE |
Constructor and Description |
---|
VoidAccountStorage() |
Modifier and Type | Method and Description |
---|---|
List<UUID> |
getPlayersOnIP(String ip) |
CompletableFuture<NegativityAccount> |
loadAccount(UUID playerId) |
CompletableFuture<Void> |
saveAccount(NegativityAccount account) |
enable, getOrCreateAccount, getStorage, getStorageId, init, register, setDefaultStorage, setStorageId
public static final VoidAccountStorage INSTANCE
public CompletableFuture<NegativityAccount> loadAccount(UUID playerId)
loadAccount
in class NegativityAccountStorage
public CompletableFuture<Void> saveAccount(NegativityAccount account)
saveAccount
in class NegativityAccountStorage
public List<UUID> getPlayersOnIP(String ip)
getPlayersOnIP
in class NegativityAccountStorage