2.0 brings many features, bug fixes, and a companion proxy addon!
Code (Text):
# Requires plugin addon VelocityBankSync
velocity:
enabled: false
host: 0.0.0.0
port: 12345
# Minimum time (seconds) before sending new command across network.
safeSyncInterval: 1
# CHANGES BELOW CAN BE RELOADED
debug:
# Essential logs to setup
enabled: true
# Extended logs for debugging
extended: true
# Enable log file
log: true
# Set to -1 to keep all log files.
logFiles: 3
storage:
# Support only available for MySQL. For other DBs please request support for consideration.
method: MySQL
# Set this to true to enable sync. Will only work after data imported. Depreciated - Only works in legacy mode.
sync: false
# Interval in minutes to sync servers from mysql. Note: A low number can cause lag if you have a large number of towns.
# This interval is unaffected when a large number of players is present on your server. Only number of towns/nations.
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: false
remove_old_nations: false
notifications:
discord:
# Enable discord notifications. Toggle the different notifications below.
# Setting all to false effectively disables notifications.
enabled: false
webhookURL: URL_HERE
webhookImage: https://amzfiles.antimatterzone.net/api/public/dl/YG8o6te6
webhookUser: NetworkBankSync
# Creates all discord notifications embedded.
webhookEmbedded: true
# Turns on discord notifications when plugin loads/unloads.
pluginNotify: true
# Turns on discord notifications for sync and load commands.
notifySync: true
notifyLoad: true
# Turns on discord notifications for transaction.
transactions: true