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

PathDefaultDescription
config.auto-update.configtrueRegenerates config.yml with new defaults on update while preserving your values.
config.auto-update.langtrueUpdates lang.yml automatically. Disable if you heavily customize translations.
config.auto-update.systemstrueUpdates system YAML files on plugin upgrades.
config.generate-main-system-filestrueCreates systems/main with default files. Set to false if you manage folders manually.
config.database.typeSQLITEStorage driver (SQLITE, MARIADB, POSTGRES, POSTGRESQL, MONGODB).
config.database.host / portlocalhost / '3306'Connection details for SQL databases.
config.database.databasexenolevelsDatabase or schema name.
config.database.username / passwordusername / passwordCredentials for SQL backends.
config.database.tablelevelsTable prefix when using SQL storage.
config.database.ssltrueEnable SSL where supported.
config.database.sqlite-fileplugins/XenoLevels/database.dbPath to the SQLite file.
config.auto-save.enabledtrueTurns on background saves for online players.
config.auto-save.interval600Seconds between auto-saves.
config.auto-save.messagefalseBroadcast 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

On this page