
MySQL / MariaDB
Point the plugin at an existing MySQL or MariaDB database:
Good for: larger servers and multi-server networks, especially if you need Cross-Server support or already run MySQL/MariaDB for other plugins. Handles many concurrent connections comfortably. Not a fit if: you just want something that works with zero setup, SQLite is simpler for that.
yaml
database:
type: mysql # or: mariadb
host: localhost
port: 3306
database: enhancedechest
username: root
password: "your-password"
ssl: disable
pool-size: 10- Create the empty database first, for example
CREATE DATABASE enhancedechest;. The plugin creates and manages its own tables inside it automatically, but the database itself has to exist before it can connect. - Set
ssltorequireto encrypt the connection (fails if the server does not support TLS), or toverify-fullto also verify the server certificate and hostname. See SSL / TLS.
