Made by LewdLeah ❤️
Audience Multiplayer is a browser extension that connects your Twitch and/or YouTube Live chat to AI Dungeon, allowing your viewers to submit actions and vote on what happens next in your adventure.
How it works:
- Your viewers submit actions in chat (e.g.,
> investigate the noise) - They vote for their favorite submissions (
+1 @username) - The extension combines the top submissions (using AI if configured) into a single action
- The combined action is automatically submitted to your AI Dungeon adventure
This creates an interactive multiplayer experience where your audience actively participates in your story!
Audience.Multiplayer.Showcase.Small.mp4
Before you begin, make sure you have:
- Google Chrome or Microsoft Edge browser
- An AI Dungeon account (create one here)
- (Optional) A Twitch account (for Twitch chat integration)
- (Optional) A YouTube account with an active livestream (for YouTube chat integration)
- (Optional) An OpenRouter API key (for AI-powered action blending)
You can skip steps 1-3 by using the Chrome Web Store version here!
- Click the green Code button on this GitHub page
- Click Download ZIP
- Find the downloaded file (usually in your Downloads folder)
- Right-click the ZIP file and select Extract All...
- Choose a location you'll remember (like your Desktop)
- Click Extract
You should now have a folder called Audience-Multiplayer-main (or similar).
- Open Google Chrome (or Microsoft Edge)
- In the address bar, type:
chrome://extensions - Press Enter
- In the top-right corner, find the toggle labeled Developer mode
- Click the toggle to turn it ON (it should turn blue)
- Click the Load unpacked button (appears after enabling Developer mode)
- Navigate to the folder you extracted in Step 1
- Open the folder until you see a subfolder called
extension - Select the
extensionfolder - Click Select Folder
You should now see "Audience Multiplayer" in your extensions list!
- Click the puzzle piece icon in your browser toolbar (top-right)
- Find "Audience Multiplayer" in the list
- Click the pin icon next to it
The extension icon will now appear in your toolbar for easy access.
- Open AI Dungeon in a new tab: https://play.aidungeon.com
- Log in to your account if needed
- Start or continue an adventure
- The extension will automatically detect AI Dungeon and connect
- Check the extension popup - the "AID" status dot should turn green
Note: The extension detects when you're in an adventure by reading the URL. Make sure you're on an adventure page (not the homepage).
- Click the Audience Multiplayer icon in your toolbar
- Scroll down to find the Twitch Channel field
- Enter your Twitch channel name (e.g.,
LewdLeah) - Click the Connect Twitch button
- A Twitch login window will appear - log in and authorize the app
- You should see "✓ Connected" next to the button
- In the extension popup, find the YouTube URL field
- Paste your YouTube livestream URL (e.g.,
https://www.youtube.com/live/ABC123) - Open your YouTube livestream in a separate browser tab
- Make sure the Live Chat panel is visible (popout chat also works)
- The "YT" status dot should turn green
Note: You must keep the YouTube tab open for chat to work.
Without an OpenRouter API key, the extension will use a simple voting system where the submission with the most votes wins.
With an API key, the extension can blend multiple submissions into one coherent action using AI.
- Go to https://openrouter.ai/ and create an account
- Navigate to https://openrouter.ai/settings/keys
- Click Create Key and copy the key
- In the extension popup, paste the key in the OpenRouter API Key field
- Select your preferred AI model from the dropdown
Option A: Manual Start
- Click the Start Vote button in the extension popup
- The extension announces in Twitch chat that voting has started
Option B: Chat Command (Mods/Broadcaster only)
- Type
!votein your Twitch chat
Submitting Actions:
- Viewers type their action starting with
>(greater-than symbol) - Example:
> open the mysterious door - Example:
>search the room for clues
Voting for Submissions:
- Viewers vote by typing
+1 @username - Example:
+1 @CoolViewer123 - Alternative format:
@username +1
Each viewer can:
- Submit one action (or update their submission by sending a new one)
- Vote for one other person's submission
Option A: Automatic
- Voting ends when the timer runs out (default: 40 seconds)
Option B: Manual End
- Click the End Vote button in the popup
Option C: Chat Command (Mods/Broadcaster only)
- Type
!tallyin your Twitch chat
-
If you have an OpenRouter API key:
- The AI blends all submissions into one action
- The combined action is submitted to AI Dungeon
-
If you don't have an API key:
- The submission with the most votes wins
- That exact submission is sent to AI Dungeon
| Setting | Description |
|---|---|
| Twitch Channel | Your Twitch channel name (optional) |
| YouTube URL | Full URL to your YouTube livestream (optional) |
| Player Character Name | Your character's name in the adventure |
| Party Member Name | The name used when submitting chat actions to AID |
| OpenRouter API Key | Your OpenRouter key for AI action blending (optional) |
| Model | Which AI model to use for blending (optional) |
| Vote Duration | How long each voting session lasts (seconds) |
| Auto-Repeat | Automatically start new votes (optional) |
| Debug Mode | Allows duplicate votes/submissions (testing) |
Want continuous voting without manually clicking buttons?
- Set Auto-Repeat to a number (seconds)
- After each vote ends and the action is submitted, a new vote automatically starts
- Use the Pause button (⏸) to temporarily stop auto-repeat
- Use the Resume button (▶) to continue
Example: Setting Auto-Repeat to 60 means a new vote starts 60 seconds after each vote ends.
- Make sure you're logged into AI Dungeon
- Make sure you're on an adventure page (not the home screen)
- Try refreshing the AI Dungeon tab
- Prod (play), Beta, and Alpha only
- Make sure you've entered your channel name correctly
- Try clicking "Disconnect" then "Connect Twitch" again
- Check that you authorized the app in the Twitch popup
- Make sure you entered the full YouTube URL in settings
- The YouTube tab must stay open (don't close it)
- The Live Chat panel must be visible
- YouTube's DOM structure may have changed - check for extension updates
- Viewers must start their message with
>(greater-than symbol) - Make sure voting is active (phase shows "vote" in the popup)
- The format must be exactly
+1 @usernameor@username +1 - Chatters cannot vote for themselves
- Chatters can only vote once per other chatter per voting session (unless Debug Mode is on)
- Note: votes don't do anything if an OpenRouter API key was provided
| Command | Who Can Use | What It Does |
|---|---|---|
!vote |
Twitch: Broadcaster/Mods | Starts a new voting session |
!tally |
Twitch: Broadcaster/Mods | Ends voting early and tallies results |
> action |
Twitch/YouTube: Everyone | Submits an action during voting |
+1 @user |
Twitch/YouTube: Everyone | Votes for someone's submission |
- Chrome Web Store Link - Simple install version
- AI Dungeon - The game this extension integrates with
- AI Dungeon Discord - Community discussion
Have fun playing with your audience~
Audience Multiplayer v1.0.1 · Made with love by LewdLeah ❤️