Database (Optional MySQL)
UseMysql is in config.json. Connection details are in database.json. When MySQL is enabled, player progress and economy balances are stored in MySQL instead of JSON files.
config.json
- UseMysql — false (default): all data in JSON files. true: use MySQL for player progress and economy.
database.json
- When UseMysql is true: Host, Port, Database, Username, Password. Player progress (ranks.json Players) and economy balances (economy.json Balances) are then loaded from and saved to MySQL.
- Config save still writes to file; data is synced to DB. On startup, DB is loaded and merged into in-memory config.
Create the database and user before enabling. See the plugin’s database reference for table structure.