Storage
storage.yml controls whether TradingCards stores data in flat files or MySQL.
Storage Modes
Section titled “Storage Modes”YAML: Stores data in plugin files. Simple to manage and good for smaller servers.MYSQL: Stores data in a database. Better for larger installs and environments that already use SQL-backed plugins.
Key Options
Section titled “Key Options”storage-type:YAMLorMYSQLyaml.default-file: Default file used for card definitions in YAML modesql.first-time-values: Generates initial SQL-side values on first setupdatabase.address,port,database,username,password: Connection settingsdatabase.table-prefix: Prefix for created tablesdatabase-migration.default-series-id: Fallback series id for migration flows
Migration Notes
Section titled “Migration Notes”If you are moving existing YAML data into SQL, review the YAML to SQL migration guide before switching the storage type on a live server.