Create currency (admin)
specter_create_currencyCreate a virtual (in-game) or real-money currency for your game. Define a name, slug, type, and optional fields to add coins, gems, or cash.
Instructions
Create a virtual or real-money currency. type is "virtual" (in-game, e.g. coins/gems) or "real" (real-money). currencyId (slug) is auto-derived from the name if omitted. MUTATES live game config — confirm with the user and prefer staging.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Short code, e.g. "GEM" | |
| name | Yes | Display name, e.g. "Gems" | |
| type | No | "virtual" = in-game currency, "real" = real-money | virtual |
| fields | No | Any other currency fields (tags, meta, …) | |
| rarityId | No | ||
| projectId | No | Defaults to the auto-detected project | |
| currencyId | No | Stable slug, e.g. "gems" (defaults to a slug of the name) | |
| description | No |