Mods / Vintage Story Content Creator Integration

Category: #Utility
Author: blakdragan7
Side: Both
Created: Jun 30th at 8:25 PM
Last modified: Aug 19th at 5:52 AM
Downloads: 780

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.

 

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
v1.0.0 31 Aug 19th at 5:52 AM Show vscci_v1.0.0.zip
v0.4.2 36 Aug 5th at 8:55 PM Show vscci_v0.4.2.zip
v0.4.1 31 Aug 5th at 12:56 AM Show vscci_v0.4.1.zip
v0.4.0 31 Aug 4th at 11:18 PM Show vscci_v0.4.0.zip
v0.3.2 28 Aug 4th at 6:10 PM Show vscci_v0.3.2.zip
v0.3.1 32 Aug 4th at 5:54 PM Show vscci_v0.3.1.zip
v0.3.0 61 Aug 3rd at 3:39 AM Show vscci_v0.3.0.zip
v0.2.2 34 Jul 31st at 5:07 PM Show vscci_v0.2.2.zip
v0.2.1 37 Jul 30th at 1:45 AM Show vscci_v0.2.1.zip
v0.2.0 60 Jul 29th at 9:43 PM Show vscci_v0.2.0.zip
v0.1.0 44 Jul 18th at 11:09 PM Show vscci_v0.1.0.zip
v0.0.6 52 Jul 14th at 9:59 PM Show vscci_v0.0.6.zip
v0.0.5 57 Jul 14th at 6:41 PM Show vscci_v0.0.5.zip
v0.0.4 57 Jul 6th at 5:03 PM Show vscci_v0.0.4.zip
v0.0.3 57 Jul 5th at 8:13 PM Show vscci_v0.0.3.zip
v0.0.2 62 Jul 5th at 3:07 AM Show vscci_v0.0.2.zip
v0.0.1 70 Jun 30th at 9:09 PM Show vscci_v0.0.1.zip

7 Comments (oldest first | newest first)

blakdragan7, Jul 14th at 6:23 PM

@FaithlessZealot I will have to check out DLive then !

FaithlessZealot, Jul 13th at 9:09 PM

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

blakdragan7, Jul 3rd at 9:39 PM

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

fireztonez, Jul 3rd 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.

blakdragan7, Jul 3rd 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 ?

blakdragan7, Jul 3rd 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 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...

delete edit