Configuration and player data are different
The five settings files remain in mods/HyEssentialsX/. Core feature records such as balances, homes, shops, and auctions use the backend selected by storage.type: SQLite, JSON, MySQL/MariaDB, or MongoDB. Do not assume a settings backup includes balances, homes, shops, auctions, or player history.
SQLite · default
A local database for a single server, without a separate database service. Back it up while the server is stopped.
JSON
A file-based backend. Keep the full plugin data directory and use a stopped server for recovery or manual inspection.
MySQL / MariaDB
Configure the SQL host, database, credentials, SSL choice, and table prefix. Verify connectivity and permissions before moving production data.
MongoDB
Configure the connection URI, database, and collection prefix. Treat credentials in the URI as secrets.
Before changing the backend
Stop and back up
Save the current settings, plugin data, worlds, and active database. Record the current backend, database name, and prefix.
Prepare the target
Create the destination database or directory and use a least-privilege database account. Find exact connection keys and defaults in the configuration reference.
Choose the correct migration tool
/hyessentialsx importand/hyessentialsx migratehandle supported import sources. A source-plugin import is not a universal transfer between every pair of HyEssentialsX backends. Inspect the available sources before running it.Validate before reopening
Compare player balances, homes, warps, kits, shops, auction state, player warps, progression, punishments, and staff records that your server uses. Test a restart and make a new backup of the verified target.
Merge rules and duplicate data
Check the migration command’s merge argument and the source format. Keep the original data until you have verified ownership, identifiers, values, and money scaling in the target. Repeating an import without understanding merge behavior can make recovery harder.
Config file migrations
The plugin merges missing defaults while keeping existing choices. Current rankup settings live with playtime in rewardsConfig.json; old rankupConfig.json data is handled as legacy input. Keep any migration backups until you have verified the result.
Recovery checklist
- Verify the selected backend and its database or file path before declaring data lost.
- Check the first storage or migration error in the log.
- Keep related world data and plugin records from the same backup period.
- Do not overwrite the only copy of the original store.
- Verify decimal places and currency formatting when comparing balances.
Local economy audit file
The current economy audit manager writes economy-audit-log.json in the plugin data directory, including when core feature data uses a remote backend. Include this file in backups if you need the admin/payment audit history. That history records the instrumented payment/admin paths; inspect it through the economy admin panel.