Twitch Base

Version 2.0 by

Site ID: 93

Posted: April 24 2021

Last updated: December 17 2021

Downloads 141
Download TwitchBase.op (8.14 KB)

How to install plugins


Game Trackmania
Modern
Developer

This plugin offers a system for other plugins to get new messages from the Twitch IRC API. Using the 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 Twitch Chat Inspector to see what is getting sent out when you use this base. There's also the Twitch Chat Viewer as some sort of tech-demo :D

Documentation: You should find all you need in Exports.as as that defines all the functions you will use. In Structures.as, you can find all the custom structures that are used.

Missing something? Want to leave feedback? Feel free to message me on Discord or Twitter or idk, DMs are open :)

Enjoy!