Code:
# ============================================================
# CoinsX - Multi-Currency Economy Plugin
# Author: AeriumStudio | https://aeriumstudio.site
# Version: 1.0.0
# ============================================================
# Default currency used when none is specified
default-currency: coins
# ─── Database ────────────────────────────────────────────────
database:
# Storage type: sqlite | mysql
type: sqlite
# SQLite (used when type: sqlite)
sqlite:
file: data.db
# MySQL (used when type: mysql)
mysql:
host: localhost
port: 3306
database: coinsx
username: root
password: ''
ssl: false
pool-size: 10
# ─── Web API ─────────────────────────────────────────────────
web-api:
# Enable the built-in HTTP API server for leaderboard/web integration
enabled: false
# Port to run the API server on
port: 00000
# Secret token for protected endpoints (POST, admin actions)
# Change this! Used as Authorization: Bearer <token>
secret-token: 'change-this-token'
# CORS — set the origin of your website, or * to allow all
cors-origin: '*'
# Cache leaderboard results for this many seconds (reduce DB load)
leaderboard-cache-seconds: 30
# ─── Economy Settings ────────────────────────────────────────
economy:
# Starting balance for new players (per currency, overrideable in currency config)
default-starting-balance: 0.0
# Max balance cap (0 = no limit)
max-balance: 0
# Allow negative balance
allow-negative: false
# Minimum transaction amount for /pay
min-pay-amount: 1.0
# Tax on /pay (percentage, 0 = no tax)
pay-tax: 0.0
# ─── Leaderboard ─────────────────────────────────────────────
leaderboard:
# Entries per page for /baltop
entries-per-page: 10
# Refresh leaderboard cache every N seconds
refresh-interval: 60
# ─── Messages ────────────────────────────────────────────────
# See lang.yml for all message customization
# ─── Misc ────────────────────────────────────────────────────
# Send anonymous usage stats (disable if preferred)
metrics: true
# Debug mode (verbose logging)
debug: false
