Comments (12)
Interesting ideas. Here are my thoughts on your suggestions:
- I like the idea of the server side being able to control and limit who can use vscci makes perfect sense.
- 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.
- 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.
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.
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.
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.
ok. awesome, I will give that a try.
from vscci.
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.
:o I see, that's good to know... Thank's for information.
from vscci.
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.
ah, I had no idea. I will change it now so that it;s in the next version release
from vscci.
alright done and committed. Next version it will be in there
from vscci.
Oki perfect!
from vscci.
All of this is done
from vscci.
Related Issues (7)
- test issue
- [Suggestion] Config file for API Token's and event's... Probably a mod-revamp needed. HOT 5
- [Small-Suggestion] Config file for who can see events notifications in-game HOT 8
- If you click on Connect before clicking on Login the game crashed instantly HOT 3
- [Suggestion] Twitch connection should be automatic, when you have already connected once HOT 2
- Crash when on LAN and non-host tried to create a pie on a table HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscci.