XChat is a 1337 plugin for cross server communication, backend and front end.
Tip: Before starting to mess around with a configuration file, please head over here and familiarise yourself.
|server-id||String|| This is used to identify the server in various ways. |
If this is null (or unset) XChat will fallback to server.properties' server-name.
If the server-name in server_properties is null, this server-id will be set to 'XChat'.
If a server-id already actively exists, the id is appended with an integer that keeps incrementing until the server-id becomes unique.
|databases||Section|| This configuration section contains a list of databases that the instance of XChat should connect to and retrieve information from. |
Only MySQL and Redis are supported.
|databases.mysql||Section||This configuration section contains the MySQL connection info.|
|databases.mysql.ip||String||This is the ip address of the MySQL database to connect to.|
|databases.mysql.port||Integer||This is the port of the MySQL database to connect to.|
|databases.mysql.user||String||This is the username to use when connecting to the MySQL database.|
|databases.mysql.password||String||This is the password to use when connecting to the MySQL database.|
|databases.redis||Section||This configuration section contains the Redis connection info.|
|databases.redis.ip||String||This is the ip address of the Redis database to connect to.|
|databases.redis.port||Integer||This is the port of the Redis database to connect to.|