Configuration
config.yml structure
Section titled “config.yml structure”api: endpoint: "https://api.streamgate.soknight.ru" timeout-ms: 5000
integrations: twitch: enabled: true client-id: "YOUR_TWITCH_APP_CLIENT_ID" client-secret: "YOUR_TWITCH_APP_CLIENT_SECRET" poll-interval: 60
youtube: enabled: true api-key: "YOUR_GOOGLE_API_KEY" poll-interval: 120
kick: enabled: false
buffs: while-live: - type: speed level: 1 duration: stream - type: luck level: 2 duration: stream
rewards: viewers: enabled: true minutes-watched-threshold: 30 items: - material: DIAMOND amount: 1Per-platform setup
Section titled “Per-platform setup”Twitch
Section titled “Twitch”Register an application at dev.twitch.tv. Copy Client ID and Client Secret into config.yml.
YouTube
Section titled “YouTube”Create a project in Google Cloud Console, enable YouTube Data API v3, generate an API key.
No app registration needed — Kick uses public read-only endpoints.