1. Added
Nation Support 2. Added automatically removing towns/nation tables from MySQL when deleted from game. Ability to disable feature in the config.
3. Added /nbs command to sync stats from MySQL.
Code (Text):
debug:
enabled: false
storage:
# Support only available for MySQL. For other DBs please request support for consideration.
method: MySQL
mysql:
hostname: 127.0.0.1
port: 3306
database: db
table: table
username: user
password: pass
useSSL: false
allowPublicKeyRetrieval: false
#interval in minutes to sync servers from mysql. Note: A low number can cause lag.
interval: 5
#remove deleted towns/nations from the mysql database. Note: Does not affect towny database.
remove_old_towns: true;
remove_old_nations: true;