Core Config
Core Config
Section titled “Core Config”config/wonder/config.conf is the main Wonder runtime file.
wonder { role = "LOCAL" animations-enabled = true match-cooldown-seconds = 30 allow-cancel-queued = true max-queued-per-player-per-channel = 1 result-expiry-hours = 168 rare-announcements-enabled = true stats-announcements-enabled = true stats-announcement-interval-minutes = 30
redis { enabled = false url = "redis://localhost:6379" server-id = "wonder-dev" pool-size = 8 }}| Field | Default | Meaning |
|---|---|---|
role | LOCAL | Wonder runtime role: LOCAL, ORCHESTRATOR, or WORKER. |
animations-enabled | true | Enable Wonder reveal animations. |
match-cooldown-seconds | 30 | Loaded from config, but the current queue cooldown path is channel-based through channels.conf. Treat this as a reserved core field for now. |
allow-cancel-queued | true | Let players withdraw a queued Pokemon. |
max-queued-per-player-per-channel | 1 | Max active queued entries per player in one channel. |
result-expiry-hours | 168 | How long a ready result stays claimable. |
rare-announcements-enabled | true | Loaded from config, but rare result broadcasts are currently driven by enabled result.rare templates in announcements.conf. |
stats-announcements-enabled | true | Enable periodic stats broadcasts. |
stats-announcement-interval-minutes | 30 | Periodic stats broadcast interval. |
redis.enabled | false | Enable Redis-backed Wonder sync. |
redis.url | redis://localhost:6379 | Redis connection string. |
redis.server-id | wonder-dev | Unique server identifier in Redis mode. |
redis.pool-size | 8 | Redis connection pool size. |