Storage & Database
WarpGUI stores warps and per-player data (favourites, ratings). By default it uses flat files; for cross-server setups you can switch to MySQL or PostgreSQL.
Flat files (default)
Section titled βFlat files (default)βWith the database disabled, data lives in:
plugins/WarpGUI/βββ data.yml # warpsβββ playerdata.yml # favourites & ratingsNo setup needed β this is the default and works for single servers.
MySQL / PostgreSQL
Section titled βMySQL / PostgreSQLβEdit plugins/WarpGUI/database.yml:
enabled: false # set true to use a databasetype: MYSQL # MYSQL or POSTGRESQLhost: localhostport: 3306database: minecraftusername: rootpassword: ''pool: maximum-pool-size: 10 connection-timeout-ms: 30000properties: useSSL: 'false' characterEncoding: 'utf8'| Key | Description |
|---|---|
enabled |
true switches storage to the database; false uses flat files. |
type |
MYSQL or POSTGRESQL (DzusillCore has no SQLite backend). |
host / port / database / username / password |
Connection details. |
pool.* |
HikariCP pool tuning. |
properties.* |
Extra JDBC connection properties. |
Set enabled: true, fill in your connection details, and restart. The schema is created automatically on first connect.
Cross-server: point several servers at the same database to share warps and player data. Changes made on one server are visible to the others.