Database Configuration
The following additions are from version 1.3.0
You can specify special options in your host String for MySQL and MongoDB:
+ssl - enables an ssl connection (
MySQL and
MongoDB)
+srv - enables the srv option (
MySQL and
MongoDB)
+srvlb - enables the srv loadbalance option (
MySQL)
+srvrp - enables the srv replication option (
MySQL)
When changing database type you can leave unsupported option in the host line as they will simply be ignored. (Going from MySQL to MongoDB without removing the +srvrp option will not cause issues. Keep in mind, though, that MongoDB will NOT connect using the srv option)
Here's a quick example:
Code (YAML):
database:
type
: MySQL
host
: +ssl127.0.0.1
port
: 3306
name
: MyDatabase
username
: root
password
: toor
You can also add a colon befor your hostname actually starts to make things easier to read
For example:
Code (YAML):
database:
type
: MongoDB
host
: +ssl+srv:cluster0.qmgf0.mongodb.net
port
: 3306
name
: MyDatabase
username
: root
password
: toor
RGB and Gradients
RGB colours and HEX coloiur gradients are only available on Minecraft 1.16 and above with Core version 1.3.0 and above.
RGB colours and gradients can be used in configuration files (such as languages/english.yml)
To define an RGB hex color you simply put the and ('&') character, followed by the sharp ('#') character and your hex colour (e.g.: "&#eb345f" for a red colour)
To define a gradient all you need to do is write your text between two xml-like (non-closing) tags containing your start and end colours (e.g.: <#34aeeb>Text with gradient<#9f34eb>")