Files
Elite-Gaming-FiveM/resources/[EGRP-Discord-Integration]/Discord-Queue/config.lua
T
2021-12-03 01:19:31 +00:00

46 lines
2.0 KiB
Lua

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},
['Civilian I'] = {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
}