Skip to content

mysql.yml

Set Database-Enabled: true in config.yml before TNT Tag uses this file.

address: "localhost:3306"
user: "user"
password: "password"
table: "tnttag_stats"
test-on-startup: true
KeyPurpose
addressDatabase host and port.
userMySQL account name.
passwordAccount password.
tableTable used for TNT Tag statistics.
test-on-startupTests the connection while the plugin starts.

Use a dedicated database account with access only to the required schema. Stop the server before switching an existing installation from flat-file storage to MySQL, keep a backup of stats.yml, and verify a test player’s statistics after restart.