Added some more missing defaults to database config

This commit is contained in:
nossr50 2019-03-08 18:08:00 -08:00
parent 7d152794ba
commit 132b908eee

View File

@ -6,12 +6,14 @@ import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
@ConfigSerializable
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")
private boolean useSSL;
@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." +
" 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")
private String serverPort;
private int serverPort = 3306;
@Setting(value = "Server_Address", comment = "The address for your MySQL/MariaDB server")
private String serverAddress;
private String serverAddress = "localhost";
}