A comprehensive Stream Deck plugin that provides quick access to essential Twitch moderation features.
- Shield Mode - Quickly enable/disable shield mode for your channel
- Subscribers Only - Toggle subscriber-only chat mode
- Followers Only - Toggle follower-only chat mode
- Emotes Only - Toggle emote-only chat mode
- Slow Mode - Toggle slow mode with customizable delay (default 3 seconds)
- Allow AutoMod - Instantly approve the most recent message held by AutoMod
- Auto Shoutout - Automatically shoutout the most recent raider with one button press
- Clear Rewards - Clear all pending channel point reward redemptions
- Stream Deck software version 5.0 or higher
- Twitch account with moderator privileges
- Twitch API credentials
- Download the latest
.streamDeckPluginfile from the releases page - Double-click the file to install it in Stream Deck
- Add any of the plugin's actions to your Stream Deck
- Click on the action to open the Property Inspector
- Enter the following information:
- Twitch Channel: Your channel name (without the @ symbol)
- OAuth Token: Click "Get Token" to generate one via Twitch
- Broadcaster ID: The channel owner's user ID
- Moderator ID: Your Twitch user ID
To find your Broadcaster and User IDs:
- Visit Twitch Username to ID Converter
- Enter the usernames to get the corresponding IDs
- Or use the Twitch API directly with your OAuth token
Each button displays its current state:
- ON/OFF indicators for toggle features
- Status messages for action confirmations
- Error alerts for failed operations
Access the Property Inspector for each button to customize:
- Shield Mode Duration: 1-1800 seconds
- Follower Mode Duration: 0-129600 minutes
- Slow Mode Delay: 1-120 seconds
This plugin requires a Twitch application with the following OAuth scopes:
moderator:manage:shield_mode- For Shield Modemoderator:manage:automod- For AutoMod managementchannel:manage:redemptions- For reward queue managementmoderator:manage:chat_settings- For chat mode controlschat:edit- For sending commandschat:read- For reading chat events
- Verify your OAuth token is valid and has the required scopes
- Check that your Broadcaster and Moderator IDs are correct
- Ensure you have moderator privileges in the channel
- The plugin monitors for raids in real-time
- Ensure the plugin is running when a raid occurs
- The most recent raider is stored for the session
- Verify your OAuth token hasn't expired
- Check your internet connection
- Ensure the Twitch API services are operational
com.twitchmod.streamdeck.sdPlugin/
├── manifest.json # Plugin configuration
├── plugin/
│ ├── main.html # Main plugin logic
│ └── libs/
│ ├── js/
│ │ ├── stream-deck.js
│ │ └── utils.js
├── pi/
│ ├── pi.html # Property Inspector
│ ├── css/
│ │ └── sdpi.css # Property Inspector styles
│ └── js/
│ └── property-inspector.js
├── icons/
│ ├── plugin.png # Plugin icon (20x20, 40x40)
│ ├── plugin@2x.png
│ ├── category.png # Category icon (28x28, 56x56)
│ ├── category@2x.png
│ ├── shield.png # Action icons (20x20, 40x40, 72x72, 144x144)
│ ├── shield@2x.png
│ ├── subscribers.png
│ ├── subscribers@2x.png
│ ├── followers.png
│ ├── followers@2x.png
│ ├── emotes.png
│ ├── emotes@2x.png
│ ├── slow.png
│ ├── slow@2x.png
│ ├── automod.png
│ ├── automod@2x.png
│ ├── shoutout.png
│ ├── shoutout@2x.png
│ ├── rewards.png
│ └── rewards@2x.png
└── README.md
# Install dependencies
npm install
# Build the plugin
npm run build
# Package for distribution
npm run package- Add action definition in
manifest.json - Implement handler in
plugin/main.html - Add configuration UI in
pi/pi.html - Create appropriate icons in multiple resolutions
- OAuth tokens are stored locally and encrypted by Stream Deck
- Never share your OAuth token or API credentials
- Regenerate tokens periodically for security
- The plugin only communicates with official Twitch API endpoints
For issues, feature requests, or contributions, please visit the GitHub repository.
MIT License - See LICENSE file for details
- Initial release
- Shield Mode toggle
- Chat mode controls (Subscribers, Followers, Emotes, Slow)
- AutoMod message approval
- Auto shoutout for recent raiders
- Channel point reward queue clearing
Created for the Twitch streaming community to streamline moderation tasks.