Mining Minions Guides

Mining Minions · Release 2.1.0

Backup And Recovery

Stop the server before copying or restoring plugin state. Back up the relevant worlds together with plugins/MiningMinions, including minions.yml, minions.yml.bak and config.yml. Default-chest contents and placed floors belong to world state; a plugin-file-only restore can disagree with the world.

minions.yml is managed schema-1 data containing IDs, owners, upgrades, progress, pending harvest, supply, links, original plot blocks, chest contents during movement and statistics. The new crafted-bone-meal field is optional for older saves. Do not hand-edit UUIDs or duplicate records. Names are cosmetic, not identity.

Snapshots are serialized on the main thread and written by a coalescing background worker. A temporary file is forced to disk and replaces the live file atomically where supported; minions.yml.bak retains the previous saved file. Shutdown waits up to 30 seconds for writes. This protects against partial replacement but is not a cross-file transaction with the world or an economy database. Abrupt process or machine loss can lose work since the last completed save.

When loading finds invalid config or saved records, the plugin disables without loading only part of the data. Correct the reported cause or restore a known-good coordinated backup. If a runtime write fails, production and paid operations pause and retries continue. Preserve the logs and original files. Do not remove the folder to make an error disappear.

config.pre-2.0.0.yml is a one-time copy of the pre-migration config. To restore old config values, stop the server and copy it back to config.yml; the next successful start validates and migrates it again. To downgrade the plugin, use a full matching backup rather than assuming new state is supported by an old JAR.

Lost minion items are handled through the replacement menu, not by restoring the whole server. Confirmed ownership and the purchased UUID remain intact; replacement is full price and retains stats/upgrades.