MtgTwitchAPI
A centalized api to streamline twitch interaction.
Last updated | a year ago |
Total downloads | 988 |
Total rating | 2 |
Categories | Libraries |
Dependency string | TeamTwitchAPI-MtgTwitchAPI-1.1.2 |
Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack_EtG
BepInEx pack for Enter the Gungeon. Preconfigured and includes unstripped Unity DLLs.
Preferred version: 5.4.2101MtG_API-Mod_the_Gungeon_API
Adds the good parts of Mod the Gungeon to BepInEx.
Preferred version: 1.6.2README
A simple api that allows mods to read chat messages from twitch.
If youre a streamer, make sure that you set your channel name by typing "tapi:setchannel <channelname>" (you only need to do this once) before enabling twitch mode by typing in the console "tapi:toggle"(you need to do this every time you start up the game)
if youre a modder, set the dll as a refrence in your mod and then subscribe a method to "GlobalChatDelegate". you can check if twitch integration is currently enabled via the "integrationEnabled" variable. While twitch mode is enabled, every time a chat message is sent in the channel, the even will go off, allowing you to react to messages/usernames and do in-game events.
big thank to kyle who wrote basically all the twitch stuff, this is practically a port of his twitch integration mod from modWorkshop
big thanks to nevernamed who made the mod icon.
what did i do you ask? good question.
1.1.2 -removed a certain debug command
1.1.0 -added polls -switched command prefix from "twitchapi" to "tapi" -fixed not being able to toggle twitch mode on after toggling it off -did not add explanation on how to use polls