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, setStorageIdpublic static final VoidAccountStorage INSTANCE
public CompletableFuture<NegativityAccount> loadAccount(UUID playerId)
loadAccount in class NegativityAccountStoragepublic CompletableFuture<Void> saveAccount(NegativityAccount account)
saveAccount in class NegativityAccountStoragepublic List<UUID> getPlayersOnIP(String ip)
getPlayersOnIP in class NegativityAccountStorage