Major SQL & Plugin Message refactoring

This commit is contained in:
BuildTools authored and WiIIiam278 committed 2021-05-30 23:13:02 +01:00
1 parent 4b31b31a36
commit b3fd814c0c
18 files changed
+1245 -1452

No files matched your search

@@ -37,6 +37,7 @@ public class Settings {
private String mySQLdatabase;
private String mySQLusername;
private String mySQLpassword;
private String mySQLparams;
// Dynmap integration settings
private boolean doDynmap;
@@ -130,6 +131,7 @@ public class Settings {
this.mySQLusername = config.getString("data_storage_options.mysql_credentials.username");
this.mySQLpassword = config.getString("data_storage_options.mysql_credentials.password");
this.mySQLport = config.getInt("data_storage_options.mysql_credentials.port");
this.mySQLparams = config.getString("data_storage_options.mysql_credentials.params");
this.doDynmap = config.getBoolean("dynmap_integration.enabled");
@@ -241,7 +243,7 @@ public class Settings {
return teleportWarmupTime;
}
public String getStorageType() {
public String getDatabaseType() {
return storageType;
}
@@ -257,7 +259,7 @@ public class Settings {
return server;
}
public int getServerClusterID() { return clusterID; }
public int getClusterID() { return clusterID; }
public boolean doBungee() {
return doBungee;
@@ -319,6 +321,10 @@ public class Settings {
return mySQLpassword;
}
public String getMySQLparams() {
return mySQLparams;
}
public boolean doSpawnCommand() {
return doSpawnCommand;
}