Stuck on Deferring Connection how do i fix this
Set it up correctly
i have i followed the instructions
Then it would work properly…
if it was working correctly i wouldnt be here trying to get help would i
I have found a bug if someone crashes when on the loading screen, it wont see them as leaving the queue and discord queue has to be restarted or noone can join the server
Will be testing today - I’ve heard that with high population (100+) it tends to not work, from a friend. If there is any issues I’ll get some details for you
Doesn’t work for me either, with 46 players. It shows in console that the players are queued, but just lets them connect anyways. I was 53/46 last night.
Sadly I have no real server to test this resource. I have a test server, but no real players lol…
I did some more thorough testing with this with 2 others from my community. This should fully work now.
I am having an issue where people aren’t queued (same issue stated previously I believe), but this fixes itself when the script is restarted. I’ve tried everything that I could think of to fix this with no success.
Try starting the DiscordQueue at the bottom of server.cfg
file as this seems to be your issue considering you restart the script and it works.
Check out the paid resource here which implements AdaptiveCards for a nice clean finish for any server!
NEW UPDATE
- Queue now flawlessly works!
- Added a bunch of new options to the config file!
New config
Config = {
Default_Prio = 500000, -- This is the default priority value if a discord isn't found
AllowedPerTick = 6, -- How many players should we allow to connect at a time?
HostDisplayQueue = true,
onlyActiveWhenFull = false,
Requirements = { -- A player must have the identifier to be allowed into the server
Discord = true,
Steam = true
},
WhitelistRequired = false, -- If this option is set to true, a player must have a role in Config.Rankings to be allowed into the server
Debug = false,
Webhook = '',
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 :)',
MSG_DISCORD_REQUIRED = 'Your Discord was not detected... You are required to have Discord to play on this server...',
MSG_STEAM_REQUIRED = 'Your Steam was not detected... You are required to have Steam to play on this server...',
MSG_NOT_WHITELISTED = 'You do not have a Discord role whitelisted for this server... You are not whitelisted.',
},
},
}
Config.Rankings = {
-- LOWER NUMBER === HIGHER PRIORITY
-- ['roleID'] = {rolePriority, connectQueueMessage},
['Member'] = {500, "You are being connected (you are not as special as Badger) [{QUEUE_NUM}/{QUEUE_MAX}]:"}, -- Discord User
['Staff'] = {100, "You are being connected (Staff Queue) [{QUEUE_NUM}/{QUEUE_MAX}]:"}, -- Staff
['Admin'] = {50, "You are being connected (Admin Queue) [{QUEUE_NUM}/{QUEUE_MAX}]:"}, -- Admin
['Founder'] = {1, "You are being connected (Founder Queue) [{QUEUE_NUM}/{QUEUE_MAX}]:"}, -- Founder
}
Hi, I want to make it when someone in the discord joins the queue it displays their nickname with Badger_Discord_API would this work?
> ['Trusted_Civ'] = {100, "You are being connected! Welcome, [exports.Badger_Discord_API:GetDiscordNickname(user)] [{QUEUE_NUM}/{QUEUE_MAX}]:"}, -- Staff
That will not work
How can I make it work?
PS: badger big fan I love your work