Giter Club home page Giter Club logo

vscci's People

Contributors

blakdragan7 avatar

Watchers

 avatar  avatar

vscci's Issues

[Suggestion] Twitch connection should be automatic, when you have already connected once

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?

[Suggestion] Config file for API Token's and event's... Probably a mod-revamp needed.

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;

  1. For real complete CCI Integration you would need more than one login.
    • You would want access to the Streamlabs API for events (Streamlabs donations, or merch can't be seen by the Twitch API.)
    • You would want to add StreamElements API aswell for other streamers using StreamElements or for somes of one unsing both functions
    • You would possibly want to add Donation Alerts compatibility aswell
    • Possibly Youtube compat in the future and other platform... Most of that people will need to add manually API Tokens in a config file anyways.
  2. A twitch login can be more scary than anything else for some streamers, just asking for a Oauth token and the streamer name is probably better. Giving access to the twitch account, with the Twitch API login, to a unknown service is a bit scary... For Oauth token you can use service like https://twitchtokengenerator.com.

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.

[suggestion] Add server option to set who is able to set messages/in-game events for Twitch events

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)

[Small-Suggestion] Config file for who can see events notifications in-game

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!

If you click on Connect before clicking on Login the game crashed instantly

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.