Streamer Flow
Lifecycle
Section titled “Lifecycle”- Link — player runs
/streamlink twitch. Plugin contacts API, receives a one-time URL. - Authorize — player opens URL, completes OAuth on Twitch. Token stored server-side.
- Background polling — plugin checks live status every
poll-intervalseconds (60 by default for Twitch). - Live event — plugin applies configured buffs, sends chat notification, starts viewer-reward timer.
- Offline event — buffs expire, viewer rewards distributed to qualified chatters.
Player commands
Section titled “Player commands”| Command | Description |
|---|---|
/streamlink <platform> | Start linking flow |
/streamlink list | Show linked accounts |
/streamlink unlink <platform> | Remove a link |
/buffs | Show currently active buffs |
Permissions
Section titled “Permissions”| Permission | Default | Description |
|---|---|---|
streamgate.use | true | Use /streamlink and /buffs |
streamgate.unlink-others | op | Unlink someone else’s account |
streamgate.admin | op | Reload config, view all linked streamers |