These comments are not in the actual settings.yml file; that's why they are shown here.
# Provide the license key required to activate this plugin.
# Visit our discord.gg/zeltuv to obtain your license. (discord.zeltuv.com if the link is invalid)
license-key: "ENTER YOUR LICENSE KEY HERE"
# Database type for storage.
# Options: 'sqlite' or 'mysql'.
database-type: sqlite
permissions:
# Permission required to check other players' balances.
check-balance-other: swiftpay.bal.other
optimization:
# Number of page loaded on the baltop, please do not make this number too high either if you don't have good ram.
maximum-loaded-page: 5
# Delay in seconds between saving of payment history to the database.
# This feature work with a thread that save the history to the database of all players having movement in their account in the said delay.
# Increasing it won't have any negative effect on the plugin, keep it lower than 60 seconds.
payment-history-save-delay: 30
# Delay in seconds between syncing online players' Vault balances into the baltop table.
# Lower = baltop reflects live balances faster. Higher = fewer DB writes.
# Only reads balances of ONLINE players via Vault; never touches offline players.
baltop-sync-delay: 30
# Date format for displaying dates in the plugin.
date-formatting: dd/MM/yyyy HH:mm:ss
mysql:
# Host address for MySQL database.
host: localhost
# Port number for MySQL database connection.
port: 3306
# Maximum pool size for MySQL connections.
maximum-pool-size: 15
# MySQL database name.
database: ''
# Username for MySQL database login.
username: ''
# Password for MySQL database login.
password: ''
# Use SSL for MySQL connection.
use-ssl: true
commands:
# Enable or disable the /balance command.
enable-balance-command: true
# Enable or disable the /toggle command.
enable-toggle-command: true
# Enable or disable tab completion for the /pay command.
enable-pay-command-tabcompletion: true
cooldowns:
# Cooldown in seconds between /bal uses (per player). Set to 0 to disable.
# Players with permission 'swiftpay.bypass.cooldown' bypass all cooldowns.
bal: 2
# Cooldown in seconds between /pay uses (per player). Set to 0 to disable.
pay: 2
# Cooldown in seconds between /baltop uses (per player). Set to 0 to disable.
baltop: 2
# This value specify how much time after a player has been offline his baltop data will be removed.
# This is in order to keep Vault and the plugin database sync and clean.
# This value is in days.
last-connection-timeout: 15
economy:
# Enable or disable the internal economy system.
enabled: true
# The default currency symbol or name used in the internal economy system.
# Example: '$', '£', 'Gold'.
vault-currency: $
chat:
# Don't touch it if you don't know what you are doing.
listener-priority: MONITOR
# Either 'MODERN' or 'LEGACY'.
listener-type: MODERN
# Enable verbose debug logging for economy load/save/transfer paths.
# Leave on 'false' for production. Turn on to trace balance issues (e.g. balances appearing as 0 after restart).
# Output goes to the server console prefixed with [DEBUG].
debug: false