Project Zomboid

Project Zomboid

Not enough ratings
Streamer Integration Framework
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
849.284 KB
19 Dec, 2024 @ 5:14pm
27 Dec, 2024 @ 5:03am
4 Change Notes ( view )

Subscribe to download
Streamer Integration Framework

Description
[ WIP| B42 ] requires alot of setup.

The Streamer Integration Framework (SIF) is a modding framework that facilitates integration between Project Zomboid and live streaming platforms. This allows viewers to engage with the gameplay in real-time.

Strongly recommend Streamerbot.

Write to file -> zomboid\Lua\SIF.txt (ex. c:\users\username\Zomboid\Lua\SIF.txt)
Make sure to check 'Append File'

Streamer Integration Framework - Example events have the lua syntax table in commented (Ex: {type = event} )

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3387596392

Example Code:
local SIFClient = require("SIF_client") local function yourCode() print("Hello World!") end SIFClient.registerModule("yourType", yourCode)
For streamerbot Write to file: {type = "yourType"}

Thanks to OnlyBonz for the video

Workshop ID: 3387594292
Mod ID: StreamerIntegrationFramework
15 Comments
ArkZombie 2 Feb @ 11:41am 
of course I get home and the mod shows up. gonna get to testing appreciate you being so helpful!
ArkZombie 1 Feb @ 10:26pm 
Interesting Im not seeing it in the mod list subbed to both this and the examples just to be safe.
YebNFlo  [author] 1 Feb @ 9:55pm 
@ArkZombie you dont need to be live to test. If you are using my examples mod, is it also enabled in the modlist? Have you tried other commands? I'll check if the helicopter itself is not working.
ArkZombie 1 Feb @ 8:48pm 
Do you have to be live to test commands? I enabled the helicopter for testing so far its not working after putting a SIF.txt in my users/zomboid/lua folder. I can see the heli text in that file but nothing happened in game when I sent the command in my twitch chat.
YebNFlo  [author] 1 Feb @ 1:35pm 
@ArkZombie On the SIF - Example Events mod, I included an import string you can copy and paste when clicking "Import" in Streamer.bot. This will set up actions you can use for Twitch.

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3387596392

You'll need to add a trigger of your choice (redeems, commands, or alerts). The Write to File subaction writes { type = "exampleEvent" } into a text file located in a Project Zomboid folder. The mod reads this SIF.txt file inside the Zomboid/Lua folder and triggers events based on its contents.

Let me know if you need further help. :steamthumbsup:
ArkZombie 1 Feb @ 12:04pm 
As a complete noob to Streamer bot, how do I get started hooking this up? Ive got streamer bot hooked up to my accounts and such but how do I get bot to communicate with zomboid and twitch chat? Thanks for any help!
YebNFlo  [author] 28 Jan @ 2:51pm 
@Monsieur Poney I fixed the knockDown event, I forgot to pass the event parameter to the function.

I tested the electricity, all 4 variant tables worked.
Let me know if you still cant get the electricity to work. :steamthumbsup:
YebNFlo  [author] 28 Jan @ 9:29am 
@Monsieur Poney is it possible to know what the error was in the console logs?
Monsieur Poney 28 Jan @ 9:16am 
I noticed two errors, one on the earthquake alert. the second is about restoring the electricity which does not work
Monsieur Poney 28 Jan @ 9:11am 
HELLO i use on my twich and i take lot of fun thx and congratulation ;)