Commit 7363642 1 parent 6f41ac1 commit 7363642 Copy full SHA for 7363642
File tree 5 files changed +5
-0
lines changed
MiraiMC-Bukkit/src/main/java/me/dreamvoid/miraimc/bukkit
MiraiMC-Bungee/src/main/java/me/dreamvoid/miraimc/bungee
MiraiMC-Nukkit/src/main/java/me/dreamvoid/miraimc/nukkit
MiraiMC-Sponge/src/main/java/me/dreamvoid/miraimc/sponge
MiraiMC-Velocity/src/main/java/me/dreamvoid/miraimc/velocity
5 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ public void loadConfig() throws IOException {
61
61
Database .Drivers .MySQL .Password = plugin .getConfig ().getString ("database.settings.mysql.password" , "miraimc" );
62
62
Database .Drivers .MySQL .Database = plugin .getConfig ().getString ("database.settings.mysql.database" , "miraimc" );
63
63
Database .Drivers .MySQL .Parameters = plugin .getConfig ().getString ("database.settings.mysql.parameters" , "?useSSL=false" );
64
+ Database .Settings .Prefix = plugin .getConfig ().getString ("database.settings.prefix" , "miraimc_" );
64
65
Database .Settings .Pool .ConnectionTimeout = plugin .getConfig ().getInt ("database.pool.connectionTimeout" ,30000 );
65
66
Database .Settings .Pool .IdleTimeout = plugin .getConfig ().getInt ("database.pool.connectionTimeout" ,600000 );
66
67
Database .Settings .Pool .MaxLifetime = plugin .getConfig ().getInt ("database.pool.maxLifetime" ,1800000 );
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ public void loadConfig() throws IOException {
56
56
Database .Drivers .MySQL .Password = config .getString ("database.settings.mysql.password" , "miraimc" );
57
57
Database .Drivers .MySQL .Database = config .getString ("database.settings.mysql.database" , "miraimc" );
58
58
Database .Drivers .MySQL .Parameters = config .getString ("database.settings.mysql.parameters" , "?useSSL=false" );
59
+ Database .Settings .Prefix = config .getString ("database.settings.prefix" , "miraimc_" );
59
60
Database .Settings .Pool .ConnectionTimeout = config .getInt ("database.pool.connectionTimeout" ,30000 );
60
61
Database .Settings .Pool .IdleTimeout = config .getInt ("database.pool.connectionTimeout" ,600000 );
61
62
Database .Settings .Pool .MaxLifetime = config .getInt ("database.pool.maxLifetime" ,1800000 );
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ public void loadConfig() {
39
39
Database .Drivers .MySQL .Password = plugin .getConfig ().getString ("database.settings.mysql.password" , "miraimc" );
40
40
Database .Drivers .MySQL .Database = plugin .getConfig ().getString ("database.settings.mysql.database" , "miraimc" );
41
41
Database .Drivers .MySQL .Parameters = plugin .getConfig ().getString ("database.settings.mysql.parameters" , "?useSSL=false" );
42
+ Database .Settings .Prefix = plugin .getConfig ().getString ("database.settings.prefix" , "miraimc_" );
42
43
Database .Settings .Pool .ConnectionTimeout = plugin .getConfig ().getInt ("database.pool.connectionTimeout" ,30000 );
43
44
Database .Settings .Pool .IdleTimeout = plugin .getConfig ().getInt ("database.pool.connectionTimeout" ,600000 );
44
45
Database .Settings .Pool .MaxLifetime = plugin .getConfig ().getInt ("database.pool.maxLifetime" ,1800000 );
Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ public void loadConfig() throws IOException {
60
60
Database .Drivers .MySQL .Password = serializable .database .drivers .mysql .password ;
61
61
Database .Drivers .MySQL .Database = serializable .database .drivers .mysql .database ;
62
62
Database .Drivers .MySQL .Parameters = serializable .database .drivers .mysql .parameters ;
63
+ Database .Settings .Prefix = serializable .database .settings .prefix ;
63
64
Database .Settings .Pool .ConnectionTimeout = serializable .database .settings .pool .connectionTimeout ;
64
65
Database .Settings .Pool .IdleTimeout = serializable .database .settings .pool .idleTimeout ;
65
66
Database .Settings .Pool .MaxLifetime = serializable .database .settings .pool .maxLifetime ;
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ public void loadConfig() throws IOException {
62
62
Database .Drivers .MySQL .Password = serializable .database .drivers .mysql .password ;
63
63
Database .Drivers .MySQL .Database = serializable .database .drivers .mysql .database ;
64
64
Database .Drivers .MySQL .Parameters = serializable .database .drivers .mysql .parameters ;
65
+ Database .Settings .Prefix = serializable .database .settings .prefix ;
65
66
Database .Settings .Pool .ConnectionTimeout = serializable .database .settings .pool .connectionTimeout ;
66
67
Database .Settings .Pool .IdleTimeout = serializable .database .settings .pool .idleTimeout ;
67
68
Database .Settings .Pool .MaxLifetime = serializable .database .settings .pool .maxLifetime ;
You can’t perform that action at this time.
0 commit comments