public class FileNegativityAccountStorage extends NegativityAccountStorage
| Constructor and Description | 
|---|
FileNegativityAccountStorage(File userDir)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
enable()  | 
List<UUID> | 
getPlayersOnIP(String ip)  | 
CompletableFuture<NegativityAccount> | 
loadAccount(UUID playerId)  | 
CompletableFuture<Void> | 
saveAccount(NegativityAccount account)  | 
getOrCreateAccount, getStorage, getStorageId, init, register, setDefaultStorage, setStorageIdpublic FileNegativityAccountStorage(File userDir)
public void enable()
enable in class NegativityAccountStoragepublic 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