|
@@ -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";
|
|
|
}
|