Badger Docs
Search…
Bad-DiscordQueue

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?

Badger's Discord Community

Installation

Dependencies

GitHub - JaredScar/Badger_Discord_API: A FiveM API Script [created by Badger]
GitHub

Screenshots

Queue Gif

Configuration

1
Config = {
2
Default_Prio = 500000, -- This is the default priority value if a discord isn't found
3
AllowedPerTick = 1, -- How many players should we allow to connect at a time?
4
HostDisplayQueue = true,
5
onlyActiveWhenFull = true,
6
Displays = {
7
Prefix = '[BadgerDiscordQueue]',
8
ConnectingLoop = {
9
'🦡🌿🦡🌿🦡🌿',
10
'🌿🦡🌿🦡🌿🦡',
11
'🦡🌿🦡🌿🦡🥦',
12
'🌿🦡🌿🦡🥦🦡',
13
'🦡🌿🦡🥦🦡🥦',
14
'🌿🦡🥦🦡🥦🦡',
15
'🦡🥦🦡🥦🦡🥦',
16
'🥦🦡🥦🦡🥦🦡',
17
'🦡🥦🦡🥦🦡🌿',
18
'🥦🦡🥦🦡🌿🦡',
19
'🦡🥦🦡🌿🦡🌿',
20
'🥦🦡🌿🦡🌿🦡',
21
},
22
Messages = {
23
MSG_CONNECTING = 'You are being connected [{QUEUE_NUM}/{QUEUE_MAX}]: ', -- Default message if they have no discord roles
24
MSG_CONNECTED = 'You are up! You are being connected now :)'
25
}
26
}
27
}
28
29
Config.Rankings = {
30
-- LOWER NUMBER === HIGHER PRIORITY
31
-- ['roleID'] = {rolePriority, connectQueueMessage},
32
['1'] = {500, "You are being connected (donate for a better priority) [{QUEUE_NUM}/{QUEUE_MAX}]:"}, -- Discord User
33
['1'] = {400, "You are being connected (Donator Queue) [{QUEUE_NUM}/{QUEUE_MAX}]:"}, -- Donator
34
['1'] = {300, "You are being connected (Trial-Mod Queue) [{QUEUE_NUM}/{QUEUE_MAX}]:"}, -- Trial Mod
35
['1'] = {200, "You are being connected (Mod Queue) [{QUEUE_NUM}/{QUEUE_MAX}]:"}, -- Mod
36
['1'] = {100, "You are being connected (Admin Queue) [{QUEUE_NUM}/{QUEUE_MAX}]:"}, -- Admin
37
['1'] = {1, "You are being connected (Management Queue) [{QUEUE_NUM}/{QUEUE_MAX}]:"}, -- Management
38
}
Copied!
    Replace the '1's in the configuration with the discord role ID you want to set up priority for

Download

GitHub - JaredScar/Bad-DiscordQueue: A Fivem Script
GitHub
Last modified 10mo ago