Vs Twitch
Fight Twitch chat. Item voting, bit events, channel points integration, and more! (Tiltify supported)
About this mod Author’s original text
Vs Twitch
This is a server-side mod! Only the host needs this mod installed!
Tired of having your Twitch audience watch run after run after run without them being able to meaningful interact with you in-game? Look no further, as this mod allows your audience to become the "randomness", the "aggressor", or the "savior".
Will your chat help you along your journey, or try to stop your run early? Chat can influence what drops you get from chests, as well as donating Twitch Bits or using Channel Points (for Twitch Affiliates) to create random events you must fight through to survive.
First Time Setup
- Launch the game and once you load into a single player or multiplayer lobby (as host), the mod will walk you through authorizing to Twitch. Part of this set up requires launching your web browser to authorize the game with Twitch!
Configurations
In game editing (via RiskOfOptions)
This mod has a dependency on RiskOfOptions and so many values can be dynamically
updated while you are in the game via the Settings UI. Note that some options need a restart for changes to be fully applied; the options menu will mark this
accordingly when needed. Below you'll see a column for what configurations can be modified in game via the ✔️ marking; otherwise it'll have a ❌.
Twitch
|Config|Type|Default|RiskOfOptions|Notes|
|------|----|-------|-------------|-----|
|DebugLogs|true/false|false|✔️|Enable debug logging for Twitch - will spam to the console!|
|EnableItemVoting|true/false|true|✔️|Enables the main feature of this mod. Disable it if you only want to enable bit interactions.|
|VoteDurationdSec|number (secs)|10|✔️|How long to allow Twitch to vote on items. Increase this value if viewers think the voting is going too "fast" - they might have their video delay too great.|
|VoteStrategy|string|MaxVote|✔️|How to tabulate votes. See "Voting Strategies" below for the various values this setting may have.|
|BitsThreshold|number|1500|✔️|The number of bits needed to cause an in-game event.|
|CurrentBits|number|0|❌|Do not edit this field. Used as storage whenever someone donates bits so that restarting the game doesn't clear the donation count.|
|PublishToChat|true/false|true|✔️|Publish events (like voting) to Twitch chat.|
Revoking permissions to Twitch
To revoke, go to and Disconnect the app named "RoR2-VsApp". Next time you start the game with this mod enabled, it will run you through first-time setup again.
Vote Strategies
These are the various voting strategies you can use for the VoteStrategy setting.
MaxVote
Item with the most votes wins. Ties are broken by choosing the first item that got the most votes.
MaxVoteRandomTie
Item with the most votes wins. Ties are broken by choosing randomly from the highest votes items.
Percentile
Item is chosen by a weighted random selection. If item 1 has 3 votes, item 2 has 4 votes, and item 3 has 1 vote (making a total of 8 votes), then the probabilites for choosing the item are as follows:
- Item 1: 3 / 8 = 37.50% chance
- Item 2: 4 / 8 = 50.00% chance
- Item 3: 1 / 8 = 12.50% chance
Tiltify
This mod supports basic integration for Tiltify campaigns. Donations cause a random "Bit Event", following the weightings in the "Event" section of the configuration.
How do I find my Campaign ID? Once your campaign is created, navigate to your Campaign Dashboard --> Detail tab and find your campaign ID. It should be a six to seven digit number.
|Config|Type|Default|RiskOfOptions|Notes|
|------|----|-------|-------------|-----|
|CampaignId|string||✔️|The Campaign ID to track donations; clear it to disable Tiltify integration|
ChannelPoints
WARNING: Not typing the Channel Points title in exactly will cause the specific feature not to work! You should see a warning in the console if this happens.
See the Twitch Channel Points Guide (section "Custom Rewards") for how to create custom rewards. The Reward Name/Channel Points Title needs to be pasted into the configurat
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Install these first, or the mod will not work: