BIG feat,fix,refactor: use database and some minor refactoring which also fixes memory issues and * related to PersistentDataUtilities
This commit is contained in:
@@ -14,6 +14,8 @@ public class Configuration {
|
||||
public Keys keys = new Keys();
|
||||
public Backup backup = new Backup();
|
||||
|
||||
public Database database = new Database();
|
||||
|
||||
public String weatherApiKey;
|
||||
|
||||
public String bossBarNamespace = "chomens_bot";
|
||||
@@ -57,6 +59,13 @@ public class Configuration {
|
||||
public int failTimes = 2;
|
||||
}
|
||||
|
||||
public static class Database {
|
||||
public boolean enabled = false;
|
||||
public String address = "localhost";
|
||||
public String username = "chomens_bot";
|
||||
public String password = "123456";
|
||||
}
|
||||
|
||||
public static class Keys {
|
||||
public String trustedKey;
|
||||
public String adminKey;
|
||||
|
||||
Reference in New Issue
Block a user