blakdragan7 / vscci Goto Github PK
View Code? Open in Web Editor NEWVintage Story Content Creator Integration
Vintage Story Content Creator Integration
Presently, once you already have login on Twitch once, when you open the world again and open the VSCCI Config GUI, you can see you Username and Twicth ID, but you still have to click on Connect question to connect to the Twitch account. I think it would be nice if this was automatic.
I think once you're connected to your account once, everithing should work directly when you open your game. If a connection problem appends you should just send a private chat message I think to warn the streamer about the issue.
Other little thing, I think it will be nice, if you can change the connect button for a disconnect button, question to give agility to simply disconnect the account.
** By the way, I try to find the file where you save the Twitch information and I can't find it anywhere, is it saved in an accessible file?
A smaller suggestion this time for a little update of your mod. I think it would be nice to have a config file to set who can see the Twitch-Event on the server and a config for personalize the message in-chat for each events.
I can imagine a simple json file like:
[
{
"events": "follow",
"enabled": false
},
{
"events": "subscribe",
"enabled": true,
"sendto": "@everyone",
"message": "Hey, $name just subscribe to Fireztonez!!"
},
{
"events": "host",
"enabled": true,
"sendto": "fireztonez",
"message": "$name just host the channel with $viewers viewers!!"
}
]
For sure this is just an example, you can ajust like you want and change everithing you want. I used $name and $viewers, who is variables to show the specific information from the event and the "@everyone" for say the message should be send to everybody, on the second example I send to a specific person with the pseudo "fireztonez".
A config like that give again a lot of control to Content Creator, to do what they want exactly!
Vintage Story version 1.15 Release Candidate 1
VSCCI 0.0.4
Pastebin of crash report: https://pastebin.com/N5DUskwT
Not sure what really caused it but that's what we were doing when it crashed.
I think the server owner should always keep control of who can do what on the server. So I think it would be nice to have a whitelist of people able to configure on is side what will appens for each event in is lives. All other persons VSCCI configuration will not be execute.
By example, if I have my own server and I play with multiple persons, and possibily one or 2 other streamers I know and trust, I would like to be able to say ok; "fireztonez", "alfatossa", "blakdragan7"` can use VSCCI, to send chat notif and in future execute event in-game, like Temporal Storm, spawning mobs, give items, etc.
I think the best would be to keep event configs in client side and not server side, but send to the server for execution when needed, to execute by the server. Like that I can configure something for my channel, and you can configure something different for your channel, event if you played on the same server.
If you can, I think it would be even better to be able to connect to a server with vscci installed, without having that mod installed, unless I want to configure somes actions.
Doing thing like that will keep all private informations on the client side, and just send informations for actions to exectute to the server. I don't think it is needed to have all Twitch Token, StreamLabs Token, StreamElements Token on the server side.
Again, this suggestion came from the Content Creator Integration mod for Minecraft (https://www.curseforge.com/minecraft/mc-mods/content-creator-integration)
this is a test
Hello,
I don't know exactly your plans, how you want to implements everything in your mod, but what I would really want is a mod giving us the maximum control possible of what append in-game with all type the event we get on Twitch. I would really like at the end to have an equivalent of the Content Creator Integration mod for Minecraft (https://www.curseforge.com/minecraft/mc-mods/content-creator-integration), but for Vintage Story.
First, the Twitch Login part in-game is nice and user-friendly, but I think this is not really needed and it is more a pain than anything else. Here somes reason why;
So what I thinking is probably a config file containing all streamer information's and one file for all event config.
In my opinion, to begin with, it will probably be much easier and faster to develop for you to simply create a configuration file for all the events, without an in-game GUI to manage everything. After once the mod is functional and complete enough, added a graphical interface to manage everything in-game and write everything in this configuration file could be a good plus in my opinion (But, I think the priotity should be to have something working and giving most of possibility to the Content Creators).
Keep in mind, for most of Twitch Event (Subs, bits, follows, raids, hosts) it is better a lot better to use the StreamLabs API / StreamElements API, because those services give possibility to replay events or tests those event directly without having those thing appends for real. All good Content Creator I think would like to be able to setup everithing and test before starting the live and it is pretty hard to test Subs, Bits, Hosts or Raid when nobody do that on your channel directly, if you don't have an easy function for that on the service website ;).
The Twitch Oauth is probably only really usefull for Channel Points, Pools and predictions, most of other things should probably use other service API...
I hope this suggestion will help you to make a better CCI mod for everyone.
I just installed the 0.0.3 verison on my game, open a world, enter the command .vscci config
to open the interface and I saw my twitch account is not connected anymore, so I click on Connect and after that I click on Login because it show "Disconnected". When I click on that button, the webpage open and the game crash instantly.
I tried that twice and the game crashed twice with the same message. After that I tried the other way and the mod connect just fine to Twitch, so I think you should add a little verification to avoid that crash.
Crash report: https://gist.github.com/Fireztonez/4c3ecfcec9e89e771ed8f24cbe2854da
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.