Giter Club home page Giter Club logo

Comments (12)

blakdragan7 avatar blakdragan7 commented on July 23, 2024

Interesting ideas. Here are my thoughts on your suggestions:

  1. I like the idea of the server side being able to control and limit who can use vscci makes perfect sense.
  2. With the current design, even with things being server side, everyone can have there own configuration. The difference is the events are created server side and forwarded to the client. But everyone is able to have there own configuration currently. I don't think it's a huge issue storing tokens server side as that's what almost all programs do that interact with twitch do currently. I am also specifically generating the least authorized token, so the most someone could do with it is be notified you received an event during a stream which to me seems harmless. I only mentions the security stuff in the post out of an abundance of caution.
  3. I am unsure of if vintage story allows for clients to connect without sharing the same mods the server runs. If they are, then theoretically it should already work fine without having vscci installed because the server will only ever send things to clients that request it. So if it's never requested,they will never receive traffic.

with all that being said it may make sense to move it client side because twitch does limit the number of subscriptions per IP. The only reason I hesitate is because it's quite a bit of work to change that around.

from vscci.

blakdragan7 avatar blakdragan7 commented on July 23, 2024

baaaah making it client side makes to much sense. I'm going to have to do it. Consider it on the list of things I intend to implement.

from vscci.

blakdragan7 avatar blakdragan7 commented on July 23, 2024

as of 8f13781 all twitch interactions are now client side and new version is on the mod db. Next thing on the list is to add the whitelist config because now that's kinda important. After that, I may check out the rest of these ideas but I'm not sure yet.

from vscci.

Fireztonez avatar Fireztonez commented on July 23, 2024

Nice, I will install the new update now and try that!

For what I see, it should be possible to have a mod only on server side, if you allow that in the modinfo.json... There have somes line you can have on that file I think question to control if the mod have to be installed on both side or what;

"RequiredOnClient": false,
  "RequiredOnServer": true,

from vscci.

blakdragan7 avatar blakdragan7 commented on July 23, 2024

ok. awesome, I will give that a try.

from vscci.

blakdragan7 avatar blakdragan7 commented on July 23, 2024

So I tried the above and setting RequiredOnClient to false just prevents it from being loaded client side at all. So if this is possible it must be done some other way.

from vscci.

Fireztonez avatar Fireztonez commented on July 23, 2024

:o I see, that's good to know... Thank's for information.

from vscci.

Fireztonez avatar Fireztonez commented on July 23, 2024

I just test the mod and see the option file in the server root directory. I think, just for keeping clean and respect the established standard, it would be preferable to move this file in /data/ModConfig/ (That's where most mod config files is for what I seen on server, at least for Linux Server).

I wonder why that folder is hidden on "/data/" folder on server, but that's how it is XD

from vscci.

blakdragan7 avatar blakdragan7 commented on July 23, 2024

ah, I had no idea. I will change it now so that it;s in the next version release

from vscci.

blakdragan7 avatar blakdragan7 commented on July 23, 2024

alright done and committed. Next version it will be in there

from vscci.

Fireztonez avatar Fireztonez commented on July 23, 2024

Oki perfect!

from vscci.

blakdragan7 avatar blakdragan7 commented on July 23, 2024

All of this is done

from vscci.

Related Issues (7)

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.