notnotnotswipez-StreamlabsIntegration icon

StreamlabsIntegration

Streamlabs Integration mod for Bonelab.

Last updated a week ago
Total downloads 309
Total rating 0 
Categories Code Mods
Dependency string notnotnotswipez-StreamlabsIntegration-1.0.0
Dependants 1 other package depends on this package

README

StreamlabsIntegration

What does this do?

This mod is mainly for event hooking for other mods that may want to react to streamlabs donations.

The mod itself displays in-game clipboards for channel donations and subscriptions (Superchats, Bits, Twitch Subscription Or Youtube Membership).

How do I make it listen to my streamlabs stuff?

Launch the game once to generate the proper config.

While logged into Streamlabs, go to this website.
There, you should see a panel that looks like:

IMG

Copy your Socket Token, then open MelonPreferences.cfg in UserData. There, you should see a section like:

[StreamlabsIntegration]
socketToken = "none"

Change none to the token you just copied, save it, then exit. (KEEP THE QUOTATIONS Ex. "The.Token.Here")

You are now integrated.

There may be multiple other configuration options at the time of viewing.

Im a developer of mods and I want to use this!

Just add a hook to:

StreamlabsIntegration.Core.OnDonationEvent

It will provide you with:

float amount, string user, string message

Currency is automatically converted to USD when applicable.