Twitch Base

Version 1.0 by

Posted: April 24 2021

Last updated: April 24 2021

Downloads 74
Download TwitchBase.zip (7.36 KB)

How to install plugins


Game Trackmania

This plugin offers a system for other plugins to get new messages from the Twitch IRC API. Using the new TLS socket feature of Openplanet, this plugin supports:

  • setting up Twitch IRC API connection and managing it (obviously)
  • multiple stream chats on one connection
  • filtering message types and making it able for plugins to only subscribe to some of them (using shared classes / enums)
  • sending messages / whispers to twitch chats
  • and much more!

You can use the Chat Inspector plugin to see what is getting sent out when you use this base. There's also the Chat Viewer as some sort of tech-demo :D

Installation: Unzip the archive in your Scripts folder, so the folder structure is being kept just like you downloaded it! For logging in to Twitch, read the description in the TwitchBase plugin or read here:

  • You need to get an OAuth token for Twitch. With your bot account (or even own account if you want to), go over to https://twitchapps.com/tmi/ to generate one.
  • In the settings (Openplanet Overlay), fill in your token, your account name and the list of channels you want to join to. And you're ready to go!

Enjoy!