Copper Golem Upgrades Guides

Copper Golem Upgrades · Release 2.0.4

Backup And Recovery Guide

Copper Golem Upgrades • Version 2.0.4 • By BlindAdam23

What needs to stay together

A golem is not stored only in rooms.yml. A reliable restore includes a matching snapshot of:

  • plugins/CopperGolemUpgrades/, including config and room/token/home records;
  • affected worlds, including chest inventories, entity data, and display entities;
  • player inventory data, including paid upgrade tokens and packed chest items;
  • the plugin JAR and the matching server build information;
  • economy data from the same period if you use Vault purchases and need a complete transaction restore.

Use a consistent full server backup where possible. Restoring only plugin YAML, only a world, or only a player's inventory can leave duplicate/missing items, stale tokens, mismatched golem UUIDs, or charges that no longer match the restored state.

Make a planned backup

  1. Tell players you are stopping the server. Let active upgrade animations finish where practical.
  2. Stop the server normally and wait for shutdown/save completion.
  3. Copy the plugin folder, server worlds, player data, current JAR, and any relevant economy data into a dated backup location outside the live server folders.
  4. Keep the backup as a complete set. Record server version, plugin version, and why the snapshot was made.
  5. Start the server again. Periodically test a restore on an isolated copy, not on the production server.

The plugin's rooms.yml.bak is the immediately preceding plugin-data save. It is overwritten as more saves occur and contains no independent world or player inventory snapshot. It is useful diagnostic material, not a substitute for scheduled server backups. Autosave does not create a dated archive.

Normal restarts

Room assignments, paid upgrade records, linked homes, and packed golem data are saved in plugin data. Cargo and crafting work also use persistent entity data. On a normal restart, loaded entities are reconciled with saved assignments and work can continue when their rooms are loaded and usable.

This is not a guarantee of atomic recovery from power loss, a hard process kill, a disk failure, or mixed-time backups. World inventories, entity saves, economy transactions, and YAML writes are separate systems. Do not repeatedly reload or edit records while diagnosing a missing item.

If the plugin will not start

  1. Stop the server before changing files.
  2. Preserve the entire failed state in a separate diagnostic backup, including rooms.yml, .bak, any .tmp, and the server log.
  3. Read the first plugin load error. Invalid config and invalid room data are different problems.
  4. For config errors, correct the named key/indentation using the shipped config reference, keeping your custom values where appropriate.
  5. For damaged room data, restore a known consistent backup set on an isolated server copy and inspect it before replacing production data.

Do not delete rooms.yml to make the plugin start unless you intentionally want to discard saved room/token/home state and have a separate recovery plan. Do not overwrite the only available .bak with new test saves.

Restore a backup

  1. Stop the server and take a copy of the current state, even if broken.
  2. Select one coordinated backup timestamp.
  3. Restore its plugin folder, world/entity/chest data, player data, and matching economy data as a set where applicable.
  4. Use the JAR compatible with that snapshot. Avoid downgrading data across plugin/server versions without testing.
  5. Start an isolated copy first. Check the enable log, /mygolems status, role assignments, memory levels, chest contents, cargo, crafting jobs, tokens, and packed chest restoration.
  6. Only return the production server to service after these checks pass.

There is no built-in restore/undo command for an admin despawn, room deletion, or spent upgrade. Recovery is a backup operation.

Lost token, packed chest, or golem

Lost upgrade token: use the paid replacement option in Buy Upgrade Blocks. It invalidates the old token and charges again. An ordinary renamed block is not a valid replacement.

Packed golem will not return: keep its exact linked chest item. Check an active owned room, a free same-role slot, a supported accessible placement, and one diamond block for the placement fee. If it is already placed but still packed, fix access and right-click that chest to retry. Do not delete the source room: its reserved slot and home record protect the packed golem.

Packed chest item missing: preserve records and logs, and restore a matching backup or ask for support. There is no admin unpack-item generator in this release.

Missing living golem: first load the entire room, check for a packed chest or oxidized statue, and check the admin log for removals. Do not spawn a duplicate with an external tool and expect it to inherit the old golem's identity or chest link.

Report a recovery problem

Share the plugin/server versions, the relevant error/status text, the last successful backup time, and whether any world, YAML, economy, or player files were restored separately. Keep an untouched copy of all original evidence.

Expanded home chest data

Back up the world containing each chest and the plugin folder together while the server is stopped. Upper-slot contents live in the chest block's persistent data; the lower 27 slots remain native world inventory. Copying only rooms.yml does not back up those extra items. Pending confirmed move drops are recorded in plugin data.

Before removing the plugin or installing a version without expanded-home support, empty every expanded home chest or return each golem to normal with the plugin still active. Returning to normal keeps lower-slot items and drops upper-slot overflow for collection. Removing the plugin first makes upper-slot items inaccessible until a compatible version is restored. Do not delete persistent data manually.

Versioned patch notes

Each update includes a separate patch-notes download and bundles its notes inside the JAR. Startup installs the current version's notes under plugins/CopperGolemUpgrades/patch-notes/, keeping earlier notes and existing local edits. Version 2.0.4 uses 1.7.7.md. Keep this folder with your plugin backups.

Upgraded golems and legacy statues

Upgraded sorters and crafters keep their oxidation appearance but never become statues. Honeycomb still stops visual oxidation and waxes the chest through the plugin; statue prevention does not give free waxing. Normal vanilla golems retain normal statue behavior.

For a statue created by an older release, load its area and use /mygolems resetcrafter or /mygolems resetsorter from its room. Recovery costs nothing and keeps paid memory capacity and ability unlocks. It works even when reset was already queued. Keep the existing room/data; do not unassign, delete or repay upgrades. Previously dropped crafting items are not recreated. If the recorded statue is unloaded or missing, paid progress remains saved and the command explains the issue.

Oxidation Care menu

Open /mygolems, choose your room, and click the honeycomb — Oxidation Care icon. Separate buttons identify your sorter and crafter. No new command or permission is required; use coppergolemupgrades.use and manage your own room.

Option Survival cost Result
Protect Sorter / Protect Crafter One honeycomb for an unwaxed golem plus one for its unwaxed linked chest; maximum two Waxes both, preserving their current oxidation appearance. A connected double chest counts as one chest. Already protected targets do not charge again.
Clear Sorter / Clear Crafter Oxidation One diamond by default Restores that golem directly to fresh copper, preserving existing wax and all paid upgrades. The chest’s oxidation is unchanged. An already fresh golem costs nothing.

Both menu actions are free in Creative, without needing diamonds or honeycomb in your inventory. Survival menu protection takes honeycomb from your inventory; it need not be held. The existing sneak-right-click honeycomb feeding method remains available and still requires holding honeycomb, including in Creative, where it is not consumed.

The selected golem must be loaded, unpacked and idle at its own accessible copper chest. Let any crafting, sorting or feeding animation finish first. Ownership, permissions, blocked-chest checks and stale-target checks still apply. A failed save rolls back appearance, wax/chest changes and payment. Removing visual oxidation does not grant wax: an unwaxed golem may oxidize again, although managed golems still cannot become statues.

Server owners can disable protection with features.waxing, disable clearing with features.oxidation-clearing, and adjust its diamond price using oxidation.clear-cost-diamonds (default 1, allowed 0 through 1000000). Both features default to enabled. Creative remains free regardless of that price.