Backups and migration
EconomyCraft keeps its configuration, prices, transaction logs, and saved economy under one folder:
- Dedicated server:
config/economycraft/ - Singleplayer world:
saves/<world>/economycraft/
Back up or restore a world
- Stop the server or exit the world.
- Copy the entire
economycraftfolder to the backup location. This includes the database and the settings needed to use it. - To restore, stop the server or exit the world and replace the folder with the backup copy before starting again.
Keeping a full folder copy preserves prices, settings, transaction logs, and the economy together.
The durable data file is data/economycraft.db inside that folder. It stores balances, auctions, orders, quests, tolls, contracts, progression data, and villager dialogue data in one SQLite database. Do not back up only the visible settings files.
When a server first opens a folder that still contains the older format, EconomyCraft imports the legacy JSON documents and villagers.db once, then moves the originals to data/_migrated-json/. The archived files are kept for inspection and are not read again.
Import an older shared folder into a singleplayer world
Use /eco import from the singleplayer world when EconomyCraft detects an older shared config/economycraft/ folder. This command is available in singleplayer; it is not registered on a dedicated server.
The import copies supported settings and economy data into the world folder. If that world already has EconomyCraft data, the import first creates a timestamped backup folder beside the world's economycraft folder. After a successful import, the old shared folder is renamed to config/economycraft_imported/. If the import fails, the old folder stays in place so you can retry.
Imports from older data formats do not carry party and profession selections, online-time progress, or cooldown data. Those files are intentionally excluded because they are per-player progression rather than shared economy state. Other supported settings and saved economy data are copied into the world folder.