mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Major SQL & Plugin Message refactoring
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user