Enable auto-switching for an extension

I’m a moderator for a streamer which uses Twitch Extensions to augment the viewer experience. We’re using Slay the Relics reborn (for Slay the Spire).

The problem is that streamer switches games frequently (~3 different games a day) so it’s frustrating when we forget to switch the extension and a viewer has to remind us “the overlay isn’t working” etc. This wouldn’t be a problem if “Slay the Relics reborn” had this feature turned on.

We noticed that many other extensions have a toggle for “Automatically turn on and off this extension when I stream X”. So clearly this was already thought of. But I couldn’t find any information at all about how to enable this for an extension. I’m in contact with the extension developer to try to get this sorted out. Allow auto-toggling the Twitch extension when switching games · Issue #17 · MaT1g3R/slay-the-relics · GitHub

We found this old post Switching Extensions saying that this is managed by an internal allow-list. Is there there any way we can get added to that list?

But arguably, why is this still under a magic allow-list, 5 years later after being first introduced (source: Extensions Can Now Switch with Your Game Selection | by Ryan Lee | Medium)? I would expect that would be more officially baked into the extension configuration/review flow by now. There should be more documentation about this to explain how to apply to get this enabled. There’s not a single mention about this in the Extensions | Twitch Developers documentation.

It’s an ancient lost beta, that is somewhat reserved for “official extension from the game developers”, so the linked extension doesn’t fit into this category.

Not to my knowledge no

And as you are not the developer of the extension, just a moderator for a channel, you can’t apply for it as it’s not your extension, nor is there a process for it, and additionally the extension isn’t an official extension from the developers of the game.

As per your linked github issue, POE’s extension is by GGG whom made POE. So it’s an official extension created for the game by the game dev. (ignoring conflicts from two installed extensions for the same game theres other issues with autoenablment but I digress)

You can use the API instead and do it yourself

Couple this with eventsub channel update and you can do it automatically when you receive a game change signal

No need for the extension to have access to this undocumented/lost beta, when you can do it yourself from a channel level instead

As demoed in this code example Channel Dashboard | Twitch API Example

There are also other issues around this regardless of using the undocumented feature or the API to switch

The streamer could just leave the extension on the whole stream unless they need to switch to another game matched extension.

And if left on the extension ought to switch to a sleep mode as the selected/target game isn’t active on the channel. But might just switch to a info/non real time state mode. shrug

Well that’s tragic :roll_eyes:

That’s the problem though; if he ever plays another game with a different extension, then it fails to work, doesn’t switch.

I was just starting the conversation on the dev’s behalf to get things figured out.

Bleh. I don’t want to write/maintain something that might bitrot, I’m not necessarily going to always be around to maintain it, and I don’t want to burden the streamer if it happens to break for whatever reason.

Then you could build a generic dashboard tool for any moderator to poke it.
IMO shouldn’t be any bit rot on this I don’t expect Twitch to change these API’s anytime soon.

The channel bot you are already using might have this functionality. (Update title/game/active extension)

It’s built into my bots (well title/game/extension changes not the auto switch. But I might add that to my stuff)