Create leaderboard (admin)
specter_create_leaderboardCreate a leaderboard for a game. Configure outcome type (high score, time trial, position weighting, cumulative score) and source (match, statistics, custom).
Instructions
Create a leaderboard. prizeDistributionRule/prize config goes in fields. outcomeType: 1=high_score, 2=time_trial, 4=position_weighting, 5=cumulative_score. sourceType: 1=match, 2=statistics, 3=custom. MUTATES live game config — confirm with the user and prefer staging.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| fields | No | Any other fields for this entity — see the specter-admin skill for the full schema | |
| projectId | No | Defaults to SPECTER_PROJECT_ID | |
| sourceTypeId | Yes | 1=match, 2=statistics, 3=custom | |
| leaderboardId | Yes | ||
| leaderboardOutcomeDetails | No | Outcome / scoring configuration (required only for position-weighting) | |
| leaderboardOutcomeTypeMasterId | Yes | 1=high_score, 2=time_trial, 4=position_weighting, 5=cumulative_score |