Skip to content

Streamer Flow

  1. Link — player runs /streamlink twitch. Plugin contacts API, receives a one-time URL.
  2. Authorize — player opens URL, completes OAuth on Twitch. Token stored server-side.
  3. Background polling — plugin checks live status every poll-interval seconds (60 by default for Twitch).
  4. Live event — plugin applies configured buffs, sends chat notification, starts viewer-reward timer.
  5. Offline event — buffs expire, viewer rewards distributed to qualified chatters.
CommandDescription
/streamlink <platform>Start linking flow
/streamlink listShow linked accounts
/streamlink unlink <platform>Remove a link
/buffsShow currently active buffs
PermissionDefaultDescription
streamgate.usetrueUse /streamlink and /buffs
streamgate.unlink-othersopUnlink someone else’s account
streamgate.adminopReload config, view all linked streamers