[RELEASE] Bad-DiscordQueue (A discord role-based queue system) {by Badger}

Should now be fixed in the latest push to GitHub!

2 Likes

Thank you :heart:

:heart:

what about servers with more than 64 slots :confused:

We are queuing but the server aint full pls help haha

It’s always queueing, it doesn’t wait till the server is full. Don’t get what the problem is here

NEW UPDATE

You can now set the queue up so it only takes effect when the server is full

Config = {
	Default_Prio = 500000, -- This is the default priority value if a discord isn't found
	AllowedPerTick = 1, -- How many players should we allow to connect at a time?
	HostDisplayQueue = true,
	onlyActiveWhenFull = true,
	Displays = {
		Prefix = '[BadgerDiscordQueue]',
		ConnectingLoop = { 
			'🦡🌿🦡🌿🦡🌿',
			'🌿🦡🌿🦡🌿🦡',
			'🦡🌿🦡🌿🦡🥦',
			'🌿🦡🌿🦡🥦🦡',
			'🦡🌿🦡🥦🦡🥦',
			'🌿🦡🥦🦡🥦🦡',
			'🦡🥦🦡🥦🦡🥦',
			'🥦🦡🥦🦡🥦🦡',
			'🦡🥦🦡🥦🦡🌿',
			'🥦🦡🥦🦡🌿🦡',
			'🦡🥦🦡🌿🦡🌿',
			'🥦🦡🌿🦡🌿🦡',
		},
		Messages = {
			MSG_CONNECTING = 'You are being connected [{QUEUE_NUM}/{QUEUE_MAX}]: ', -- Default message if they have no discord roles 
			MSG_CONNECTED = 'You are up! You are being connected now :)'
		}
	}
}

Config.Rankings = {
	-- LOWER NUMBER === HIGHER PRIORITY 
	-- ['roleID'] = {rolePriority, connectQueueMessage},
	['1'] = {500, "You are being connected (donate for a better priority) [{QUEUE_NUM}/{QUEUE_MAX}]:"}, -- Discord User 
	['1'] = {400, "You are being connected (Donator Queue) [{QUEUE_NUM}/{QUEUE_MAX}]:"}, -- Donator 
	['1'] = {300, "You are being connected (Trial-Mod Queue) [{QUEUE_NUM}/{QUEUE_MAX}]:"}, -- Trial Mod 
	['1'] = {200, "You are being connected (Mod Queue) [{QUEUE_NUM}/{QUEUE_MAX}]:"}, -- Mod 
	['1'] = {100, "You are being connected (Admin Queue) [{QUEUE_NUM}/{QUEUE_MAX}]:"}, -- Admin 
	['1'] = {1, "You are being connected (Management Queue) [{QUEUE_NUM}/{QUEUE_MAX}]:"}, -- Management
}

Just wondering how dus it work for players that are not in the discord just no perks and at the back off the que?

Correct

Default_Prio = 500000

and

MSG_CONNECTING = 'You are being connected [{QUEUE_NUM}/{QUEUE_MAX}]: ', -- Default message if they have no discord roles 
1 Like

This release made me hard. Thanks for dropping this release!

Except for the fact I can’t get it to work. Keeps getting stuck on deferring. Good ol FiveM. :smiley:

Try the latest release, should fix all problems :slight_smile:

Oh I just downloaded it this morning. Deferring is a server issue that I need to track down. :smiley:

I just released a new update via a pull request like 15 minutes ago though, so it may fix your issues

1 Like

Ooooh, I suppose I may have to give that a try then!

Update: That PR worked wonders! Looking at the code, I absolutely wouldn’t have figured that one out. As always, you’re a stellar discord god. :smiley:

https://i.imgur.com/t5Xcdin.png

https://i.imgur.com/9M0xV6o.png

killing me

Never had that problem, seems like an error on your end

So the queue is definitely working, but now we’re encountering an issue where the server is not letting people queue as they’re getting a server full message.

Are you updated to the latest version? This shouldn’t happen at all if so

1 Like

Yup, as of the update that you told me to grab the other day when you pushed through the PR.