Display the twitch viewer count in-game. This uses an un-authenticated public API, but you do need to enter your twitch username in the settings (server tab) so it knows which channel to check. It will check the stream once on game start, and then continue polling if the stream is live. Click the option bar item to poll if you start the stream later. - https://github.com/JustinLove/twitch_viewers - http://wondible.com/pa/twitch_viewers_v2.0.1.zip - PAMM Changes ## 2.0.1 - Bump build number circa titans ## 2.0.0 - Use own twitch name setting (setting server tab) - Poll once on game start, stop if not live. Click to poll. - Add tooltip and better match standard option bar style. Future Work Might be nice to move the polling to the social bar so it could be shown out of game as well.
The twitch part was easy - they have JS library. The tricky bit was actually making a settable channel.
This doesn't show up for me. I even tried disabling mods that are also in utility bar down there like Auto Factory.
Did you enter you twitch name in the game settings? Did you do it before starting the game or during? FYI the polling period is currently set to 1 minute. Other mods? PA-Diag in game. Do you know how to use the ui debugger? If so look at Live Game, Live Game: Options Bar, and Game Settings for errors.
I log onto twitch ingame before the match, I use the mod that allows you to enter twitch credentials form main page
Twitch Viewers 1.1.0 - Change twitch name session variable to be compatible with the main page twitch login mod. Was that supposed to be NOT on pamm?
hmm still doesn't show up for me, and I even disabled Auto-factory to make sure there was no conflit there, since they both are added to utility bar (bottom-right). does it only show up when the stream is online? do you have to stream from game? or will it work if you're streaming with OBS or some other software?
Oh, yes, it only appears when the stream is online. I liked the feedback as whether it even found the stream or not, and not showing anything if you aren't streaming. I suppose if had a name and there was no stream it could show '-', 'x', or something like that. How you are streaming shouldn't matter. It's using a public Twitch API that reports basic stream information. So it has to be online, the API has to report it as such if there is any delay, and then the mod polls once a minute to be polite to the API, so there could be up to 59 seconds of lag there.
Twitch Viewers 2.0.0 - Use own twitch name setting (setting server tab) - Poll once on game start, stop if not live. Click to poll. - Add tooltip and better match standard option bar style.