Mods / Vintage Story Content Creator Integration

Category: #Utility
Author: blakdragan7
Side: Both
Created: Jun 30th 2021 at 8:25 PM
Last modified: Apr 11th at 9:25 PM
Downloads: 8760
Follow Unfollow 23

Latest file for v1.19.7:
vscci_v1.3.1.zip 1-click install


The purpose of this mod is to allow interactions with twitch (and maybe other platforms in the future) chat and your vintage story world

There is a lot planned for this mod but currently it only supports printing events to chat.

To setup you just need to open the config window using the client command ".vscci config"

once thats open you can click on "Login/Connect" to connect your twitch account to vscci. You must use the account you are streaming from. If you want to receive bit / point redemption events you must be either a twitch affiliate or partner. Otherwise you will receive only events like raids, follows and subscriptions.

Once that happens all events are being received

After you are logged in you should see your twtich username and ID in the config window and a status of "Connected"

If you want to disconnect at any time you can press the disconnect button. To re-connect, just click the login button again, Since you are already logged in it will just connect you.

Twitch connections all happen client side, so as many people as want to can be connected to twitch and have evnts run.

If you need help setting up or using vscci check out https://github.com/blakdragan7/vscci/wiki for some information on how to use and setup vscci.

 

Import / Export

To import an event graph, run the command .vscci import path_to_file from the chat window

To export an event graph, run the command .vscci export path_to_file from the chat window

Visual Scripting Language

The scripting language's first iteration is out ! There is some bare bones documentation available at https://github.com/blakdragan7/vscci/wiki/VSCCI-VSL-Tutorial and a video tutorial is available here and a video explaining the 0.3.0 update here There is a video explaining the 1.0 update here

You can open the script editor with the command ".vscci event"

A whitelist (the same whitelist as before) is used to determine who is allowed to execute server side nodes (currently only the run server command node), However; all client side executable nodes are still allowed even without server permission (This was decided because they only affect the user and no one else on the server).

The white list will be under {VintageStoryData install folder}/ModConfig/vscci.json and is just a comma seperated list of usernames inside strings like this

{
    "Whitelist": [

        "blakdragan7",

        "SomeOtherUser123"
    ]
}.

It will require a server restart to pick up any changes made to this file

Streamlabs

Streamlabs is now supported !

Streamlabs support includes:

  • Twitch Events
    • Follow
    • subscription
    • host
    • bits
    • raid
  • Youtube Events
    • subscription
    • sponser
    • super chat
  • Mixer Events
    • supscription
    • follow
    • host
  • Stream Lab Events
    • donation
    • loayalty point redemption

 

Setting up streamlabs is easy. First, make sure the Dropdown next to Stream Platform Type is set to "Streamlabs", Then, Just copy your socket api token from https://streamlabs.com/dashboard#/settings/api-settings under Api Tokens and paste it into the text box next to "Stream Platform Key" Then press Connect Platform. It will now connect you to streamlabs and every startup after will auto connect just like twitch.

 

StreamElements

Streamelements supports basically everything streamlabs does. To setup streamelements First, make sure the Dropdown next to Stream Platform Type is set to "Streamelements". Then, you need the JWT token that you can find by following the cci for minecraft documentation here https://content-creator-integration.readthedocs.io/en/latest/gettingstarted/socketkey/streamelements/ Paste that token into the text box next to "Stream Platform Key" Then press Connect Platform. It will now connect you to Streamelements and every startup after will auto connect just like twitch.

 

Stuff To Be Aware Of:

If both streamlabs and twitch are connected then you will get double events. This will be handle properly in the future.

This is already fixed


With that being said, all twitch information is stored server side, so that you don't have to log in every time you open the game. No login information is stored, only an OAuth token. but I would only log in when the owner of the server is someone you trust (that goes for both dedicated and non dedicated servers) just in case. If you find yourself in a situation where you beleive your account could be compromised you can disconnect the vscci connection from your account and that will invalidate all information assosiated with vscci. That should never happen but it is important to be aware of just in case.

As of 0.0.2, all information is stored client side and the server never sees it. Therefore, the above warning is irrelevent. Thanks to @fireztonez for the suggestion !

This is my first C# project and therfore may have some bugs I didn't catch. Feel free to add those to the github issues from the source link at the top.


Whats Planned For The Future:

In the future I plan to have a working visual scripting system that allows you to have actions performed in world based on twitch events
So for example, you could have a point redemption spawn a drifter near by or even just play a drifter sound near by. Or, you could have a raid spawn a chicken per viewer, or you could start a temporal storm based on a specific point redemption etc etc ...

The first iteration of the scripting language is done ! A detailed video tutorial is coming soon and so is some in depth documentation.

 

That is all coming in the future though and suggestions are welcome !

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v1.3.1 95 Apr 11th at 9:25 PM Show vscci_v1.3.1.zip Install now
v1.3.0 80 Apr 4th at 12:33 AM Show vscci_v1.3.0.zip Install now
v1.2.0 225 Apr 21st 2023 at 9:15 PM Show vscci_v1.2.0.zip Install now
v1.1.0 183 Mar 4th 2023 at 5:31 AM Show vscci_v1.1.0.zip Install now
v1.0.4 171 Mar 3rd 2023 at 8:49 PM Show vscci_v1.0.4.zip Install now
v1.0.3 184 Feb 26th 2023 at 6:26 PM Show vscci_v1.0.3.zip Install now
v1.0.2 307 May 15th 2022 at 7:43 PM Show vscci_v1.0.2.zip Install now
v1.0.1 312 Mar 30th 2022 at 10:46 PM Show vscci_v1.0.1.zip Install now
v1.0.0 408 Aug 19th 2021 at 5:52 AM Show vscci_v1.0.0.zip Install now
v0.4.2 421 Aug 5th 2021 at 8:55 PM Show vscci_v0.4.2.zip Install now
v0.4.1 395 Aug 5th 2021 at 12:56 AM Show vscci_v0.4.1.zip Install now
v0.4.0 377 Aug 4th 2021 at 11:18 PM Show vscci_v0.4.0.zip Install now
v0.3.2 396 Aug 4th 2021 at 6:10 PM Show vscci_v0.3.2.zip Install now
v0.3.1 393 Aug 4th 2021 at 5:54 PM Show vscci_v0.3.1.zip Install now
v0.3.0 418 Aug 3rd 2021 at 3:39 AM Show vscci_v0.3.0.zip Install now
v0.2.2 385 Jul 31st 2021 at 5:07 PM Show vscci_v0.2.2.zip Install now
v0.2.1 434 Jul 30th 2021 at 1:45 AM Show vscci_v0.2.1.zip Install now
v0.2.0 577 Jul 29th 2021 at 9:43 PM Show vscci_v0.2.0.zip Install now
v0.1.0 418 Jul 18th 2021 at 11:09 PM Show vscci_v0.1.0.zip Install now
v0.0.6 419 Jul 14th 2021 at 9:59 PM Show vscci_v0.0.6.zip Install now
v0.0.5 406 Jul 14th 2021 at 6:41 PM Show vscci_v0.0.5.zip Install now
v0.0.4 454 Jul 6th 2021 at 5:03 PM Show vscci_v0.0.4.zip Install now
v0.0.3 401 Jul 5th 2021 at 8:13 PM Show vscci_v0.0.3.zip Install now
v0.0.2 441 Jul 5th 2021 at 3:07 AM Show vscci_v0.0.2.zip Install now
v0.0.1 460 Jun 30th 2021 at 9:09 PM Show vscci_v0.0.1.zip Install now

10 Comments (oldest first | newest first)

💬 blakdragan7Author, Nov 30th 2022 at 1:24 AM

DonnieDreams, it can be used server side only but the client side is required for config. That way, you can have it running on a server and only the host needs the client side mod so they can set it up.

💬 DanaCraluminum, Jul 23rd 2022 at 7:35 PM

It is marked as server side in modinfo and as both server side and client side on here

💬 DonnieDreams, Jul 23rd 2022 at 5:15 PM

Just curios if this is a client side or a seerver side mod?

💬 blakdragan7Author, Jul 14th 2021 at 6:23 PM

@FaithlessZealot I will have to check out DLive then !

💬 FaithlessZealot, Jul 13th 2021 at 9:09 PM

I'd be interested if you get Dlive integration in the future!

💬 blakdragan7Author, Jul 3rd 2021 at 9:39 PM

@fireztonez, I see. No worries, if you run into anything else let me know !

💬 fireztonez, Jul 3rd 2021 at 11:52 AM

@blakdragan7 I just look and now it is fine for the github, I see the issue tab now. If you didn't change any configuration on your repo, this is possibly a bug when I load your github page, not sure... But I know, when I load the first time I look and the issue page was not there.

💬 blakdragan7Author, Jul 3rd 2021 at 12:59 AM

@fireztonez I just created a test github account and tried out making an issue and seemed to be able too. What are you experiancing when you try to make one ?

💬 blakdragan7Author, Jul 3rd 2021 at 12:51 AM

Thanks ! You can post the suggestestion here for now if you want. I didn't even know you could do that since the repo itself is public. I will try to sort that out once I get the time

💬 fireztonez, Jul 2nd 2021 at 10:44 PM

This is exactly what I looking for for long time already, thank'you very mutch!

I can't wait to see the progression of that mod, with all the planned feature!!

And by the way, the issue feature on your github repository is not available for everyone, so it is impossible for us to report any bugs or add feature request on those...

(edit comment delete)