Skip to main content

Plan a Vault economy-provider change without losing balances

Applies to: Vault; match the linked maintainer documentation to your installed platform and release.
Documentation checked .

Switching the plugin that owns money is a data migration. Vault offers an integration API; replacing its provider does not by itself prove that balances moved to the new backend.

Before you start

Vault connects consumer plugins to an economy provider; it does not replace that provider or store your player balances. Identify the component holding the money before changing integrations, and check the provider name in startup logs.

Work through the check

  1. List every consumer, including shops, jobs, claims and auction features, and confirm the new provider supports their required money model.
  2. Export or back up the current provider using its supported method, preserving UUIDs, decimal precision and any world-specific accounts.
  3. Rehearse the provider’s documented import on a disconnected test copy with a separate database and no live integrations.
  4. Compare selected low, high and fractional balances, then test one consumer debit and credit before planning the live maintenance window.

What to compare

Agree how a duplicate account or unsupported old currency will be handled before migration. Keep an account-count and total-balance comparison as well as a few sample players, because spot checks can miss omissions.

Confirm the result

The test should preserve account identities and balances and demonstrate each consumer using the intended service after a clean restart.

If the result differs

An empty new account is not evidence of a successful import. Stop if the migration method cannot represent your existing currencies, negative balances or per-world behavior.

Recover safely

Keep the original provider and its consistent data snapshot available. Roll back the whole money-storage checkpoint before reopening transactions if reconciliation fails; avoid running both writable backends in parallel.

Documentation and related help

Check the Vault maintainer documentation and Vault maintainer reference against your installed release before applying changes.