Package dev.aura.bungeechat.account
Class AccountSQLStorage
- java.lang.Object
-
- dev.aura.bungeechat.account.AccountSQLStorage
-
- All Implemented Interfaces:
dev.aura.bungeechat.api.account.BungeeChatAccountStorage
public class AccountSQLStorage extends Object implements dev.aura.bungeechat.api.account.BungeeChatAccountStorage
-
-
Constructor Summary
Constructors Constructor Description AccountSQLStorage(String ip, int port, String database, String username, String password, String tablePrefix, String options)AccountSQLStorage(String ip, int port, String database, String username, String password, String tablePrefix, Map<String,String> options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description dev.aura.bungeechat.api.account.AccountInfoload(UUID uuid)booleanrequiresConsoleAccountSave()voidsave(dev.aura.bungeechat.api.account.BungeeChatAccount account)
-
-
-
Constructor Detail
-
AccountSQLStorage
public AccountSQLStorage(String ip, int port, String database, String username, String password, String tablePrefix, Map<String,String> options) throws SQLException
- Throws:
SQLException
-
AccountSQLStorage
public AccountSQLStorage(String ip, int port, String database, String username, String password, String tablePrefix, String options) throws SQLException
- Throws:
SQLException
-
-
Method Detail
-
save
public void save(dev.aura.bungeechat.api.account.BungeeChatAccount account)
- Specified by:
savein interfacedev.aura.bungeechat.api.account.BungeeChatAccountStorage
-
load
public dev.aura.bungeechat.api.account.AccountInfo load(UUID uuid)
- Specified by:
loadin interfacedev.aura.bungeechat.api.account.BungeeChatAccountStorage
-
requiresConsoleAccountSave
public boolean requiresConsoleAccountSave()
- Specified by:
requiresConsoleAccountSavein interfacedev.aura.bungeechat.api.account.BungeeChatAccountStorage
-
-