Skip to content

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
}
}
FieldDefaultMeaning
roleLOCALWonder runtime role: LOCAL, ORCHESTRATOR, or WORKER.
animations-enabledtrueEnable Wonder reveal animations.
match-cooldown-seconds30Loaded 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-queuedtrueLet players withdraw a queued Pokemon.
max-queued-per-player-per-channel1Max active queued entries per player in one channel.
result-expiry-hours168How long a ready result stays claimable.
rare-announcements-enabledtrueLoaded from config, but rare result broadcasts are currently driven by enabled result.rare templates in announcements.conf.
stats-announcements-enabledtrueEnable periodic stats broadcasts.
stats-announcement-interval-minutes30Periodic stats broadcast interval.
redis.enabledfalseEnable Redis-backed Wonder sync.
redis.urlredis://localhost:6379Redis connection string.
redis.server-idwonder-devUnique server identifier in Redis mode.
redis.pool-size8Redis connection pool size.