XenoLevels
config.yml
Configure storage, auto-updates, and global behaviour for XenoLevels.
config.yml controls database settings, auto-save behaviour, auto-updates, and vanilla XP synchronization. The file is regenerated with safe merges when config.auto-update.config is true, so you can accept new defaults without losing custom values.
Key sections
| Path | Default | Description |
|---|---|---|
config.auto-update.config | true | Regenerates config.yml with new defaults on update while preserving your values. |
config.auto-update.lang | true | Updates lang.yml automatically. Disable if you heavily customize translations. |
config.auto-update.systems | true | Updates system YAML files on plugin upgrades. |
config.generate-main-system-files | true | Creates systems/main with default files. Set to false if you manage folders manually. |
config.database.type | SQLITE | Storage driver (SQLITE, MARIADB, POSTGRES, POSTGRESQL, MONGODB). |
config.database.host / port | localhost / '3306' | Connection details for SQL databases. |
config.database.database | xenolevels | Database or schema name. |
config.database.username / password | username / password | Credentials for SQL backends. |
config.database.table | levels | Table prefix when using SQL storage. |
config.database.ssl | true | Enable SSL where supported. |
config.database.sqlite-file | plugins/XenoLevels/database.db | Path to the SQLite file. |
config.auto-save.enabled | true | Turns on background saves for online players. |
config.auto-save.interval | 600 | Seconds between auto-saves. |
config.auto-save.message | false | Broadcast auto-save messages in console when true. |
Switching databases
Change
config.database.type and restart the server. XenoLevels will connect with the new driver using the credentials supplied in this section.Last updated on