mysql.yml
The mysql.yml file is used when database: mysql is enabled in config.yml. It controls how Advanced Parkour connects to your external MySQL database.
Main Options
Section titled “Main Options”address: The full JDBC connection string.
Expected format:
jdbc:mysql://<host>:<port>/<database_name>?useSSL=false&autoReconnect=true&createDatabaseIfNotExist=trueuser: The MySQL username.password: The password for the selected MySQL user.stats-table: The table used to store Advanced Parkour statistics.test-on-startup: If enabled, the plugin tests the connection during startup and logs detailed failures immediately.
Configuration Example
Section titled “Configuration Example”address: jdbc:mysql://localhost:3306/<database_name>?useSSL=false&autoReconnect=true&createDatabaseIfNotExist=trueuser: rootpassword: <your_password>stats-table: advanced_parkour_statstest-on-startup: trueSetup Checklist
Section titled “Setup Checklist”- Set
database: mysqlinconfig.yml. - Replace
<database_name>in the JDBC URL. - Enter the correct MySQL username and password.
- Restart the server.
- Check the console for connection success or failure logs.
Recommendation
Section titled “Recommendation”Use MySQL when:
- You run multiple servers that should share the same player records
- You want centralized backups
- You prefer external database administration over flat-file storage
For small single-server setups, flat-file storage is usually simpler and completely sufficient.