Oxygen Not Included Twitch Integration


Steam Workshop Link Twitch Login


How It Works

The Twitch Integration mod for Oxygen Not Included allows viewers to affect a streamer's colony in real time. With over 60 unique events, ranging from helpful to deadly, chaos is guaranteed.

Options are presented to viewers at a regular interval. Viewers get the opportunity to vote for the event that they would like to happen. Users vote by sending a message in chat containing only the number of the vote they want. After the voting time ends, the event with the most votes will be chosen. The chosen event will begin immediately when the voting time ends.

Note: some events have an inherent delay, and even if it looks like nothing is happening, it's likely processing in the background.

If two or more options are tied for the most votes, one of the tied votes is chosen at random. If all options have 0 votes, nothing happens.

How Do I Start?

For more info and for help: join the Discord!
  1. Download the mod using the link at the top of the page. Then launch Oxygen Not Included, go to the Mods menu, and click the checkmark to enable the mod. Close the mod menu and let the game restart.
  2. Configure the mod to be able to chat on your behalf. This step must be done in private! If anyone sees the right information during this step, they could send messages as if they were you!
    1. Log in to Twitch with the account that you want to send messages. This should be a broadcaster, mod, or VIP account, to make sure that it can bypass automod or similar filters.
    2. Get the login token for the account by clicking the Login button at the top of this page.
    3. Open the mod config folder:
      • Windows: %USERPROFILE%\Documents\Klei\OxygenNotIncluded\mods\config\asquared31415.TwitchIntegration\
      • Linux: ~/.config/unity3d/Klei/OxygenNotIncluded/mods/config/asquared31415.TwitchIntegration/
    4. Open SECRET_credentials.json in a text editor, like Notepad.
    5. Put the username and login token into the file. It should look like
      {"Nick":"MyTwitchUsername", "Oauth":"oauth:XXXXXXXXXXXXXXX"}.
    6. Restart the game.
  3. Configure the mod to interact with your channel by going to the Mods menu, and clicking the Settings button that is next to the Twitch Integration mod.
    1. Enter your channel name in Channel Name. This is the channel that the game will look at for votes and send messages to.
    2. Set Time Between Votes to the amount of time you would like to pass between the end of a vote and the start of the next. This is in IRL time, so 600 seconds is 10 minutes.
    3. Set Voting Time to the amount of time chatters should have to vote.
    4. Set Min Danger and Max Danger to control the difficulty. Hover over one of the options to see a description.
    5. Set any other non-critical settings that you would like. You can ignore the Edit Config menu for now.
    6. Changes in this menu immediately apply when you press Apply.
  4. If you'd like to be able to display the current vote choices on screen, along with a timer and a count of how many votes each choice has, there's a file votes.txt that is created in the mod folder that can be used in your streaming software as a source. This file updates frequently with the current state of the votes, so make sure that your streaming software can support that. OBS is confirmed to support reloading a file when it changes.
  5. To begin votes, enter any game, and open the pause menu. Click the purple Start Voting button to begin.

The Twitch Integration mod is compatible with existing saves, but it is not suggested to use it on a save you're particularly attached to. The chaos of the mod might cause unwanted deaths or destruction.

Help, Something Broke!

Join the Discord for support.