Check out the paid resource here which implements AdaptiveCards for a nice clean finish for any server:
All I ask
All I ask is that if you enjoy this resource, please give it a like on the forum page, on GitHub (if you have an account), and pop me a follow over on GitHub.
What is it?
This is basically a discord queue for logging into a server. When you connect to the server, you get added to a queue. Depending on your priority, you can be at the back of the queue or added to the top automatically. This all depends on what discord roles you have considering it works off of priority numbers. I’m not the best at writing descriptions. I’ll be honest, I personally am probably not going to use this script, but I had a lot of people request this script from me, so here it is. Why not increase my rep within the Fivem community?
Dependencies
Installation
Screenshots
Configuration
Config = {
Default_Prio = 500000, -- This is the default priority value if a discord isn't found
Displays = {
Prefix = '[BadgerDiscordQueue]',
ConnectingLoop = {
'🦡🌿🦡🌿🦡🌿',
'🌿🦡🌿🦡🌿🦡',
'🦡🌿🦡🌿🦡🥦',
'🌿🦡🌿🦡🥦🦡',
'🦡🌿🦡🥦🦡🥦',
'🌿🦡🥦🦡🥦🦡',
'🦡🥦🦡🥦🦡🥦',
'🥦🦡🥦🦡🥦🦡',
'🦡🥦🦡🥦🦡🌿',
'🥦🦡🥦🦡🌿🦡',
'🦡🥦🦡🌿🦡🌿',
'🥦🦡🌿🦡🌿🦡',
},
Messages = {
MSG_CONNECTING = 'You are being connected [{QUEUE_NUM}/{QUEUE_MAX}]: ',
MSG_CONNECTED = 'You are up! You are being connected now :)'
}
}
}
Config.Rankings = {
-- LOWER NUMBER === HIGHER PRIORITY
['1'] = 500, -- Discord User
['1'] = 400, -- Donator
['1'] = 300, -- Trial Mod
['1'] = 200, -- Mod
['1'] = 100, -- Admin
['1'] = 1, -- Management
}
Replace the '1's in the configuration with the discord role ID you want to set up priority for
You can now change how many people are permitted to connect at a time. (You want 5 players to join at a time, then set it in the configuration)
Config = {
Default_Prio = 500000, -- This is the default priority value if a discord isn't found
AllowedPerTick = 5, -- How many players should we allow to connect at a time?
Displays = {
Prefix = '[BadgerDiscordQueue]',
ConnectingLoop = {
'🦡🌿🦡🌿🦡🌿',
'🌿🦡🌿🦡🌿🦡',
'🦡🌿🦡🌿🦡🥦',
'🌿🦡🌿🦡🥦🦡',
'🦡🌿🦡🥦🦡🥦',
'🌿🦡🥦🦡🥦🦡',
'🦡🥦🦡🥦🦡🥦',
'🥦🦡🥦🦡🥦🦡',
'🦡🥦🦡🥦🦡🌿',
'🥦🦡🥦🦡🌿🦡',
'🦡🥦🦡🌿🦡🌿',
'🥦🦡🌿🦡🌿🦡',
},
Messages = {
MSG_CONNECTING = 'You are being connected [{QUEUE_NUM}/{QUEUE_MAX}]: ',
MSG_CONNECTED = 'You are up! You are being connected now :)'
}
}
}
Config.Rankings = {
-- LOWER NUMBER === HIGHER PRIORITY
['1'] = 500, -- Discord User
['1'] = 400, -- Donator
['1'] = 300, -- Trial Mod
['1'] = 200, -- Mod
['1'] = 100, -- Admin
['1'] = 1, -- Management
}
Thanks for taking my suggestions on board man! its awesome
Would there be an ability for general users without a queue priority to receive a certain message eg: “you are in the standard join the emergency services department for priority access”
And for those with the queue to receive a specific message such as “Welcome officer we have put you in front of the queue”