NightDev Community Forums

[CustomAPI] Queue system

Hiya, thanks for the suggestions. The option to add another user is being worked on.
The moving option, I’m investigating what the best way to do this is. I don’t think there will be a manual position feature, but I’m looking at a command to boost a user to the first place of the queue, just like the !songs promote feature from Nightbot.

The ‘promote’ command to move users to first position of the queue is now live, please see the start post for more info.

Hello,
is there a list of the commands if i want to add them manually?
im a mod on a channel and dont have access to his nightbot.

Hey @Elias_Wakimian!

I think if you become manager of their Nightbot you can add it with the auto install, you’ll have to give the streamer your user ID and he’ll have to add you as manager, both actions are done from here.

Hello,

Thanking for making this API. It has made taking art requests a lot easier during stream for me!
I do have a question: Is there a way to limit the max queue size?

Thank you!

Hiya, glad to hear that it helps you out! I will have a look at an option to set a limit to the active queue, currently there is no limit.

Ok, added a subcommand for it, so by default the limit is unlimited.

To change the limit, use for example: !q setlimit 10 to set the limit to 10.

Use !q setlimit 0 to change the limit back to unlimited.

1 Like

Does the !who command no longer exist? It doesn’t appear on the list of commands being added during the installation process.

Hmm, think it never was in there, must have forgot to add it.
Should be in there now, thanks for reporting!

Is there any way I can increase the user message cap?

Also is it possible to save the user message to the Queue list window?

Hiya, what’s the usecase for a longer message? I build it in there for people to leave for example their gamertag while joining the queue, where I think 50 characters should be enough.

I’ll check for an option to see the user’s message on the queue list page.

It’s only because I’m gonna be using the queue command not so much for viewers games but for song requests on Guitar Hero streams and sometimes the artist and song combined makes for a message longer than 50 characters :sweat_smile:

Thanks for clarifying, I changed the limit to 100 characters. Hopefully that’s enough!

1 Like

@xgerhard Hello! I’ve been using nbqueue for several months now and it’s been great for my viewers. Have you ever thought about extending the !next and !random commands so that it’s possible to pull the next number of vips or subscribers? For example, !next 3 subs or !random 3 vips. That way I could give priority to VIPs and subs, but also make sure that anyone who joined the queue has a chance to play rather than just restricting a queue to only subs or only vips. Thanks for the work you’ve done on the queue system!

Thanks for the suggestion, I’ll have a look at this.

Hiya, an update on this request… I cant make it the exact way you explained, due to how the userlevels work for Nightbot. It will work slightly different.

Available UserLevel Values

  • owner - Channel Owner
  • moderator - Channel Moderator
  • vip - Twitch VIP (only for Twitch accounts)
  • regular - Nightbot Regular (users in the regulars list)
  • subscriber - Paid Channel Subscriber
  • everyone - Normal User (default)

I use these userlevel values to determine what kind of permissions or group the user belongs to. This userlevel is saved when somebody joins the queue. The userlevels work in the order as shown above. One thing about userlevels is that a user can have only one userlevel, while it might be eligible to multiple of these groups. For example if a moderator is also a subscriber, the saved userlevel will be moderator, since its’ the highest one in the list.

What I’ve done for the queue system now is, when you specify a specific userlevel to be picked next, it will pick the next user with that userlevel AND userlevels above.

This means:

  • !next 1 everyone - Will pick the next user with userlevel: everyone, subscriber, regular, vip, moderator or owner (so yeah… everyone)
  • !next 1 subscriber - Will pick the next user with userlevel: subscriber, regular, vip, moderator or owner
  • !next 1 regular - Will pick the next user with userlevel: regular, vip, moderator or owner
  • !next 1 vip - Will pick the next user with userlevel: vip, moderator or owner
  • !next 1 moderator - Will pick the next user with userlevel: moderator or owner

The same goes for the !random command. If any of this is unclear let me know.

1 Like

I like your approach, since this is probably closer to how I would use it in practice. I tend to think of subscribers and vips (and moderators) as the same group—people who are committed to the channel—and having the additional granularity of a Nightbot “regular” is fantastic. I’ll give !next 3 subscriber a try the next time I’ve got a waiting list (which I think is going to be tomorrow).

I appreciate you looking at this–I think it’s going to really help make my queues a little easier to manage!

Sounds good!
Just a side note, if people were already on your list/queue before this update, their userlevel will be set to ‘everyone’, so you might want to clear the queue first, when people join again their proper userlevel will be saved.

The !list command doesn’t show the external link to view those in queue. It only shows up as ***.

How can I view the list of those in queue?

Thanks.

@he_db_nger

Seems like you’ve blocked all hyperlinks in your Twitch chat settings. Follow these steps to fix that:

Click here to go to your Twitch chat moderation settings > Chat Options > Block Hyperlinks > Disable