mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-01 16:19:53 +01:00
Added some more missing defaults to database config
This commit is contained in:
parent
7d152794ba
commit
132b908eee
@ -6,12 +6,14 @@ import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
|
|||||||
@ConfigSerializable
|
@ConfigSerializable
|
||||||
public class ConfigCategoryServer {
|
public class ConfigCategoryServer {
|
||||||
|
|
||||||
@Setting(value = "Use_SSL", comment = "Enables SSL for MySQL/MariaDB connections, newer versions of MySQL will spam your console if you aren't using SSL")
|
@Setting(value = "Use_SSL", comment = "Enables SSL for MySQL/MariaDB connections, newer versions of MySQL will spam your console if you aren't using SSL." +
|
||||||
private boolean useSSL;
|
" It is recommended that you turn this on if you are using a newer version of MySQL," +
|
||||||
|
" if you run into issues with SSL not being supported, turn this off.")
|
||||||
|
private boolean useSSL = true;
|
||||||
|
|
||||||
@Setting(value = "Server_Port", comment = "Your MySQL/MariaDB server port")
|
@Setting(value = "Server_Port", comment = "Your MySQL/MariaDB server port")
|
||||||
private String serverPort;
|
private int serverPort = 3306;
|
||||||
|
|
||||||
@Setting(value = "Server_Address", comment = "The address for your MySQL/MariaDB server")
|
@Setting(value = "Server_Address", comment = "The address for your MySQL/MariaDB server")
|
||||||
private String serverAddress;
|
private String serverAddress = "localhost";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user