Streamer.bot setup
Run Factory Live effects from Twitch rewards, chat commands, or alerts.
Create a Twitch reward action
Connect Twitch in Streamer.bot. Run the game and Streamer.bot on the same Windows PC, then load a save as host.
Create or select a Twitch channel-point reward, create an action, then add a Twitch → Channel Point Reward Redemption trigger for that reward.
Add a Core → C# → Execute C# Code sub-action. Paste Trigger.cs, set
Presetnear the top to the desired ID from the preset table, leaveMobempty, compile and save.Repeat for each reward, choosing its own preset, cost and cooldown. The complete mapping and setup guide covers every preset and creature endpoints. These are copy-and-paste scripts, not an import.
A response of accepted means queued, not necessarily spawned. The action reads the bridge token automatically; keep it private.
Bundled Lumia reward defaults
Use these settings to recreate the rewards included with the Lumia plugin. These are template defaults, not a streamer's current live prices. You can change the cost and cooldown to suit your channel. Bridge cooldowns also apply.
| Factory Live reward | Preset or action | Points | Cooldown |
|---|---|---|---|
| Alpha Hog Wave | alpha-hogs | 500 | 30 sec |
| Hog Wave | hog-swarm | 750 | 30 sec |
| Forest Spitter Wave | spitter-pack | 500 | 25 sec |
| Stinger Pack | stinger-pack | 750 | 35 sec |
| Elite Stinger | elite-stinger | 250 | 45 sec |
| Hatcher Trial | crab-hatcher | 750 | 60 sec |
| Standard Nobelisks | nobelisk-rain | 500 | 5 sec |
| Pulse Nobelisks | pulse-rain | 500 | 7 sec |
| Gas Nobelisks | gas-rain | 750 | 8 sec |
| Carpet Bomb | cluster-rain | 750 | 10 sec |
| Nuke Drop | nuke-drop | 750 | 20 sec |
| Nuclear Carpet Bomb | nuke-carpet | 1,000 | 45 sec |
| Turn Around | turn-around | 100 | 60 sec |
| Drop Equipment | equipment-drop | 500 | 60 sec |
| Creature Roulette | creature-roulette | 250 | 60 sec |
| Surprise Me | surprise-me | 250 | 60 sec |
| Multiplier +1 | Multiplier action | 50 | 0 sec |
Each full reward name begins with “Factory Live”. The complete setup guide also lists every preset and chat command.
Match the +1 multiplier reward
Create a Twitch reward costing 50 points with a maximum of 15 redemptions per stream. Attach an action containing IncreaseMultiplier.cs, and use a non-concurrent action queue so simultaneous redemptions are counted. It starts at 1× and reaches 16× after fifteen uses, announcing each increase in chat.
Attach ResetMultiplier.cs to Twitch Stream Online to reset to 1× at the start of each stream. The other example reward scripts use this value. Lumia and Streamer.bot keep separate multiplier and death counts: connect each reward to one app only or it will fire twice.
Moderator chat commands
For !chaos, make a moderator-only command and attach a copy of Trigger.cs with Preset = "chaos-mode" and UseChatMultiplier = true. !chaos 10 uses 10 per placement; no valid number uses 1. For !nukem, use Preset = "nobelisk-chaos", UseChatMultiplier = false and UseStreamMultiplier = false, matching Lumia's fixed 1× command.
Death alert
Run DeathCounter.cs from a recurring two-second timer to count observed deaths and send the pioneer has died X times. Put ResetDeaths.cs on a private reset command. Polling is best effort: deaths while offline or multiple deaths between polls can be missed, and a recent death may be counted on first connection.
If an action fails
Load a save as host and check the Streamer.bot log for compilation or bridge errors. Check Twitch connectivity if chat messages do not appear. For direct HTTP calls, see the webhook endpoints and examples.