Streamer.bot and game mods: run actions from Twitch, YouTube and Kick

Run BakoshApp actions from Streamer.bot: a Twitch reward, a YouTube Super Chat or a donation starts a game mod action on your stream. No code needed.

A row on the Actions tab can run when an action starts in Streamer.bot, whatever started it: a Twitch reward, a YouTube Super Chat, a Kick subscription, a donation, a Stream Deck button, a timer. Streamer.bot catches the event, and BakoshApp runs the row: in a game mod, in the overlay or anywhere else. No code is needed in Streamer.bot.

Plan: every plan, like TikFinity. On Free, the row's action has to be available on Free, and the row counts toward the limit of rows with a trigger, if your plan has one.

Set it up

  1. In Streamer.bot, open Servers/Clients → WebSocket Server, turn on Auto Start and start the server. Both are off in a new Streamer.bot.
  2. Create an action in Streamer.bot and add the trigger you want. The action can stay empty: BakoshApp only needs it to run.
  3. In BakoshApp, open Settings → Streamer.bot and click Test connection. The default address is 127.0.0.1, port 8080.
  4. Open the mod → Actions and click the Trigger cell of a row, or Add new for a new one.
  5. In the dialog, click External → Streamer.bot, pick the action in Action, and click Save. If you created it just now, click Refresh.

Now run the action in Streamer.bot, for example with Test Trigger: the row fires.

What decides when it fires

Everything is set in Streamer.bot: which reward or how big a donation, which viewers, the cooldown. BakoshApp fires the row each time the action starts. Audience filters and Once per viewer don't apply to this trigger.

Each row has one trigger, and one Streamer.bot action can fire several rows.

The viewer's name

The game and the variables of External Commands get the viewer's name from Streamer.bot. When nobody started the action, for example on a timer, they get your channel's name. Avatars come only with YouTube events.

External Commands also get comment (the viewer's text), rewardTitle, viewers and platform.

Password

If authentication is on in Streamer.bot's WebSocket server, enter the same password in Settings → Streamer.bot. It's stored encrypted and not shown again.

Check the connection

The line at the bottom of Settings → Streamer.bot shows the state of the triggers:

LineWhat it means
Triggers: listening to Streamer.botEverything is working.
Triggers: no row of the active mod uses Streamer.botBakoshApp connects only when the mod that's turned on has such a row.
Triggers: Streamer.bot isn't responding, retryingStart Streamer.bot and its WebSocket server. BakoshApp reconnects by itself.
Triggers: Streamer.bot refused the passwordEnter the right password and click Save.

Common questions

The action runs in Streamer.bot, but the row doesn't fire. Check the line above, that the mod is turned on in BakoshApp and that the row is turned on. Game actions also need the game to be running with the mod.

The dialog says the action is no longer in Streamer.bot. It was deleted or created again. Pick it again: BakoshApp follows the action itself, not its name.

I run a Streamer.bot action from a row, and another row listens to it. Why doesn't that one fire? Runs started by BakoshApp don't fire rows, so a row can't start itself in a loop.

Do these events count in viewer statistics or show alerts? No. Viewer statistics and overlay alerts come from the direct connections. The row's sound and media work as usual.

Streamer.bot closes with "Fatal UI Exception". In its log it's a MissingMethodException about ISelectionItemProvider. Install .NET Framework 4.8.1 and restart the PC: Streamer.bot needs it, and on 4.8 its window can crash on focus.