public class DatabaseBanLogsStorage extends Object implements BanLogsStorage
| Constructor and Description | 
|---|
DatabaseBanLogsStorage()  | 
| Modifier and Type | Method and Description | 
|---|---|
List<Ban> | 
load(UUID playerId)
Loads logged bans into a mutable list. 
 | 
void | 
save(Ban ban)
Adds a new entry in the bans log. 
 | 
public List<Ban> load(UUID playerId)
BanLogsStorageload in interface BanLogsStorageplayerId - the UUID of a player.public void save(Ban ban)
BanLogsStoragesave in interface BanLogsStorageban - the new entry ot add