1. Added bstats metrics
2. new command /nbsload
3. Added dependencies for proper shutdown.
4. Added option to disable sync.
5. Sync trigger added when Towns and Nations are deleted.
Note: Config has changed.
Code (Text):
debug:
enabled: false
storage:
# Support only available for MySQL. For other DBs please request support for consideration.
method: MySQL
# set this to true to enable sync. Import your town data with /nbsload before setting to true.
sync: false
# interval in minutes to sync servers from mysql. Note: A low number can cause lag.
interval: 5
mysql:
hostname: 127.0.0.1
port: 3306
database: db
table: table
username: user
password: pass
useSSL: false
allowPublicKeyRetrieval: false
# remove deleted towns/nations from the mysql database. Note: Does not affect towny database.
remove_old_towns: true;
remove_old_nations: true;