Create custom event (admin)
specter_create_eventCreate custom events to trigger tasks and achievements in your game. Define event parameters and auto-generate a stable slug from the name.
Instructions
Create a custom event that tasks/achievements can be triggered by (e.g. "boss_defeated"). Create the event BEFORE the task that references it. eventId (slug) is auto-derived from the name. MUTATES live game config — confirm with the user and prefer staging.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name, e.g. "Boss Defeated" | |
| fields | No | ||
| eventId | No | Stable slug (defaults to a slug of the name) | |
| projectId | No | ||
| parameters | No | Optional event parameters the game sends, e.g. [{name:"score", type:"statistic"}] | |
| description | No |