What issue are you having? Please describe in great detail.
I understand but in other versions of queues I have noticed that if a player drops out of the queue (by cancel) or (f8 quit) they will not remain in the queue as they do currently. Using your script currently if such action is done they will continue to count as a queue position and will not let current queued players or future queues into the server. This is the best detailed explanation I can give for the issue:
For Example:
GiantPanda: GiantPanda
Badger: Staff
Someone: GiantPanda Supporter
Random: Player
Random2: Player
Random3: Player
So we have six people. If we all connect to the server and letās say it was already full queue people would join in after Random3. As the queue progresses it would move people in based on the priority system you created. Letās say I connect - The players left in the queue would be:
Badger: Staff
Someone: GiantPanda Supporter
Someone2: GiantPanda Supporter
Random: Player
Random2: Player
Random3: Player
Random4: Player
Random5: Player
If you decided to quit [Badger] as a (Staff) priority. Anyone behind you in the queue would be blocked from joining into the server. When this happens people can continue to login to the queue and get stuck.
ā
This is the problem in a nutshell and I hope I was able to give a detailed explanation on it. I know that youāve said you had other servers use this and not report the problem but since I have installed and used this I have had this problem everyday. I can provide several discord screenshots from my general chat or continue to monitor the server for when it happens and send if needed.
I know that you say the FiveM connection event is very wonky - but other individuals have come to a resolve and I know you and your work, Badger. So there is no question that you would be able to find a resolve for this one. In regards to the Print Issues, I will disable the debug and get back to you. That option was on in the config when I downloaded it from you and it was unclear if further required.
So basically sometimes the paid queue goes out of sync it seems.
I have no idea whatās causing this, but sometimes the queue stops letting people in even though thereās only around 10 players out of 32 on the server.
This happens probably like 2-3 times a day. As i said, iām unsure whatās causing this, but the console prints out the server is full (debugging) while it actually isnāt. For a temporary fix, we basically have to ensure the script or restart the whole server.
I would go in greater detail, but i really donāt know what more i can add.
Same issue here
For all of you who are converting to sv_projectName instead of sv_hostname; you need to make sure in the server.lua you change it from sv_hostname to sv_projectName.
NEW UPDATE
- The queue is fully working and has been tested by multiple individuals. Sorry it took so long, there were quite a few things I overlooked.
- The queue now has a grace priority that can be used for people who crash and/or leave the server to fix their textures. The new configuration file is posted below.
Config = {
Default_Prio = 500000, -- This is the default priority value if a discord isn't found
ServerSlots = 32,
Default_Role_Name = "Default |",
HostDisplayQueue = true,
GracePriority = true, -- Should grace priority be a thing?
GracePriorityLastingTime = 60, -- How long does grace priority last before it is removed for a player? (seconds)
GracePriorityName = 'Grace Priority | ',
GracePriorityPrio = 0.01,
Requirements = { -- A player must have the identifier to be allowed into the server
Discord = false,
Steam = false
},
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 = true,
Webhook = '',
Displays = {
Prefix = '[BadgerDiscordQueue] ',
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.',
},
},
}
What other features should I add?
The queue seems to be working perfectly and the grace priority is flawless
appreciate it Badger!
Thank you sir! All issues have been fixed and a grace priority feature was added!
Still for sale!
BUMP 20 chars
Still for sale!
STILL FOR SALE, Make sure you purchase this awesome script!
Can u add priority connect? If a player has a VIP, will he join faster than another player?
This is how this works, yes
This is still for sale! Make sure to purchase this awesome queue for your server!
Make sure you buy this queue for your FiveM server!!
That is Badger_Discord_API, not the Queue script
Great script! Purchased for our Community a couple of weeks ago, and hopefully in a few more weeks, we can best utilise this. One suggestion. I understand this a Queue Script, however, it would be great for the AdaptiveCards to display when a player is not whitelisted for a Server, whereby they can then join a Discord, for example, and connect straight afterwards, via the AdaptiveCard. Anyway, cheers.
Not a bad idea actually! Iāll have to look into implementing this
