Skip to content

Migrate

Use /cards migrate when moving data from YAML storage into another configured storage backend, such as SQL.

  • Back up your plugin folder before migrating.
  • Change the storage type first so TradingCards knows the target backend.
  • Data and deck migration are separate commands.
  • Restart the server after migrating data.
/cards migrate
/cards migrate all

Shows warnings and the follow-up commands needed for the current target storage type.

/cards migrate data confirm

Migrates rarities, series, upgrades, packs, custom types, and cards.

/cards migrate deck confirm

Migrates stored player deck data.

  • cards.admin.migrate