Replies: 1 comment 1 reply
-
Hey, As a quick answer, yes. Though there's 2 different things involved here:
For the chat part, the easiest, there's no restrictions. You can join as many as you want. So the bot joins when a streamer starts streaming, and leaves when it ends. There's no notion of priorities or whatever. I say there's no limit, but there may be one, but is in term of quantity of messages. I think if there's too many messages per x seconds, connection may be closed. So if lots of big streamers that you farm streams at the same time, it may cause issues, I don't the exact value though and may not be reached that easily, unless you join the chat of thousands of streamers. Now for the points mining there's that notion of priorities. Each x amount of time, the bot will select the 2 online channels (as Twitch caps it to 2) that will be used to send your watching time. The way it is done is that for each channel, a score is computed, and the ones with the best scores will be picked. If you want a channel to be always first, you can indeed give it a As an example, you can have this in your default streamer settings: "priorities": [
{
"type": "subscribed",
"score": 1,
"score2": 2,
"score3": 3
},
{
"type": "watchStreak",
"score": 10
},
{
"type": "drops",
"score": 5
}
] What this does is highly prioritize a watch streak (to get the +50 of joining the stream), If all priorities are activated at once then we'd have a value < 20. So if we want another streamer to always have the priority, we can define him a constant priority like you put in your question. Though a value of 20 would be enough (99999 is cool too and I guess conveys a bit better the idea of "make it first pls" 😆 ). One thing to be noted, you're overriding the default parameters for that streamer (your default priorities are gone), so either he'll be offline and not considered, or online and have a score of 99999. It doesn't really matter in that case as 99999 or 100010 (or whatever) won't make a difference, but in other cases it may be a thing to be careful of. I don't know if it's understandable and answers your question or if I got lost in my explanations 😆 . |
Beta Was this translation helpful? Give feedback.
-
Hi @RakSrinaNa ,
I've been using your script and would like to start moving forward with testing advanced features.
How is the Priorities function used?
An example to see if I understand correctly.
I have a folder where all the streamers are. If I want to add one that always has priority to get points and stay on the IRC channel.
On streamer.json file will i need to write the following?
And automatically the priority is set to the streamer or do I have to modify something in the config file?
Beta Was this translation helpful? Give feedback.
All reactions