ZetaArcade-ZetasTwitchRedeems icon

ZetasTwitchRedeems

[v73] Trigger different events via Twitch Redeems!

Last updated a day ago
Total downloads 11
Total rating 0 
Categories Mods Misc BepInEx Client-side Server-side
Dependency string ZetaArcade-ZetasTwitchRedeems-0.0.1
Dependants 1 other package depends on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305
ZetaArcade-SimpleTwitchChat-0.0.4 icon
ZetaArcade-SimpleTwitchChat

[v73] See your Twitch chat inside the in-game chat!

Preferred version: 0.0.4
Zehs-TwitchChatAPI-2.0.0 icon
Zehs-TwitchChatAPI

Add Twitch chat integration to your Unity game mods! Subscribe to events like Messages, Cheers, Subs, and Raids. No Twitch authentication or connections required.

Preferred version: 2.0.0
Sigurd-CSync-5.0.1 icon
Sigurd-CSync

Configuration file syncing library for BepInEx.

Preferred version: 5.0.1
xilophor-LethalNetworkAPI-3.3.2 icon
xilophor-LethalNetworkAPI

A library/API to allow developers to easily add networking to their mods.

Preferred version: 3.3.2
MaxWasUnavailable-LethalModDataLib-1.2.2 icon
MaxWasUnavailable-LethalModDataLib

A library for Lethal Company, providing a standardised way to save and load modded data.

Preferred version: 1.2.2

README

Zeta's Twitch Redeems

This mod is one i made for my Twitch channel, which adds some hardcoded Redeems viewers can trigger. Requires SimpleTwitchChat to be setup first.

Current Redeems!

  • Force opening a gift when next picked up, with LethalPresents in mind! Also detects when you open Gift Mimics
  • Force rolling an Emergency Dice when next picked up, integration with Emergency Dice Updated
  • Forcing a Moon change, either based on the name of the Moon or the name of the Weather that the user requests!
  • Options for the Moon/Weather change Redeem to ignore routing restrictions and route there anyways
  • The data from Redeems persists between sessions, so Redeems aren't wasted if you relobby / continue in another session! (This data can also be cleared via the config if you don't want this functionality.)

Planned Redeems!

  • Light Switch Toggle
  • Route Random
  • Poltergeist sound trigger
  • Forcing a suit change, possibly via SuitsTerminal integration
  • Changing the Whiteboard text to whatever they specify, integration for Whiteboard
  • Forcing a TTS message to be spoken from the host, integration for MelaniesVoice
  • Triggering TTS
  • Maybe spawning invincible enemies, or even just killing the player via an Explosion??

Setup

  • Install the mod, boot up, and a config will generate!
  • Make sure you setup chat correctly with SimpleTwitchChat
  • Inside SimpleTwitchChat, you can enable "Print debug info" and "Print redeem info" in the config to get a bunch of useful data on incoming messages, namely the Redeem related stuff.
  • For setting up Redeems, make sure your Twitch Redeem messages allow the user to send a message, as Redeems without a message do not get picked up by this mod.
  • To hook the Redeems up, use the debug settings in SimpleTwitchChat to get the Redeem IDs (By using the Redeems as the Channel owner since you'll have infinite channel points to use them as much as you want), copy the IDs, and then paste them into this mod config for whatever event you want to tie them to!

Making your own Redeem Mod

  • Using SimpleTwitchChat as a dep, you are listening for the OnRedeem method being called, which incluides all the info you need about the Redeem message in it's params.
  • You can also use the NewRedeemMessage to trigger HUD alerts whenever a Redeem is used.

Credits

  • Zehs / For creating TwitchChatAPI