config.yml, and rely on the built-in backup system to protect your data automatically. This page explains each storage option and documents every backup command.
Supported Storage Backends
SQLite
SQLite is the default and recommended option for standalone servers. LiricHomes creates the database file at:type: SQLITE in config.yml and you’re done.
MySQL and MariaDB
For servers that share a database with other plugins or run across multiple instances (BungeeCord/Velocity networks), MySQL or MariaDB provides a centralised store. Fill in your connection details inconfig.yml:
liric_homes table inside the specified database on first start. Make sure the database and user exist before starting the server:
PostgreSQL
PostgreSQL uses port5432 by default. Everything else works the same as MySQL:
YAML (Flat-File)
YAML mode stores each player’s homes as individual files in the plugin’s data folder. It requires no database server, but it does not scale well for large servers and cannot be migrated easily. Use it only for development environments or very small servers.Connection Pooling
For all SQL backends, LiricHomes manages a connection pool automatically. Thepool-settings block in config.yml controls pool behaviour:
Backup System
LiricHomes includes a built-in backup system that creates point-in-time snapshots of your home data. Backups work with SQLite, MySQL, MariaDB, and PostgreSQL backends.Automatic Backups
Configure automatic backups inconfig.yml:
max-backups, the oldest backup is deleted automatically.
Backup Commands
All backup commands require theliric.adminhomes.backup permission (default: op).
Creating a Backup
pre-migration. Using descriptive names makes it easier to identify the right backup when you need to restore.
Restoring a Backup
Deleting a Backup
Migrating from EssentialsX
If you are switching from EssentialsX’s built-in home storage to LiricHomes’ own database, run the migration command after settinghome-backend: PLUGIN in config.yml:
