2016-02-25 14:11:32 +00:00
|
|
|
# By default, SQLite is used.
|
|
|
|
# To disable SQLite database and enable MySQL, set MySQL.enabled to true
|
|
|
|
#
|
|
|
|
# In order to migrate database, use "/marry migrate sqlite mysql" when MySQL is enabled!
|
2016-02-25 14:17:45 +00:00
|
|
|
# The last argument is the new database, which is the one you're currently using.
|
2016-02-26 19:57:48 +00:00
|
|
|
#
|
|
|
|
# auto-purge deletes player data and their marriage when they haven't logged on in a while
|
|
|
|
# the settings should be straight forward
|
|
|
|
#
|
|
|
|
# Changes apply on restart
|
2016-02-25 14:11:32 +00:00
|
|
|
MySQL:
|
|
|
|
enabled: false
|
|
|
|
user: root
|
|
|
|
password: '1234'
|
|
|
|
host: 'localhost:3306'
|
|
|
|
database: 'myserver'
|
2016-02-26 19:57:48 +00:00
|
|
|
prefix: 'marriage_'
|
|
|
|
auto-purge:
|
|
|
|
enabled: true
|
|
|
|
purge-married-players: false
|
|
|
|
purge-after-days: 45
|