This script allows you toggle various many different options to display on a users profiles (presence) when their inside of your server. If a player has activity privacy enabled, any user can click on their profile & view how much people are inside of your server, alongside a toggable option to see if there's a queue - compatible with (v-queue & n4_queue).
Character Names 👨
Disable/enable character names to show in presence.
This resource is drag/drop. You will just have to change your framework inside shared file to whichever framework you're on & then enable whichever option you would like. You will also need to add the following inside of your server.cfg after you've dropped the file into your resources.
ensure adminplus-discordpresence
Feel free to check the shared folder to be able to enable/disable some of the options the script provides.
-- ███████████████████████████████████████████████████████████████████████████ --
queueConfig = {}
-- Discord Queue Presence
-- (Useful to add your own Discord Presence so it shows in your discord status) --
queueConfig.Enable = true
queueConfig.Framework = 'ESX' -- QB OR ESX (IF QB IS ENABLED REMOVE ESX FROM FXMANIFEST CLIENT/SERVER & UNCOMMENT THE QB ONE)
-- use one or the other --
queueConfig.vQueue = false
queueConfig.n4Queue = false
queueConfig.Message = 'is roaming.'
queueConfig.Streetnames = false
queueConfig.CharacterNames = false
queueConfig.Discord = {
-- CREATE A BOT ON DISCORD APPLICATION APP --
-- (ENABLE PERMISSION TO SEE MEMBERS) --
DiscordPresence = 15000,
ApplicationID = 'ENTER_APPLICATION_ID_FROM_BOT',
Asset = 'logo_name',
SetDiscordRichPresenceAssetText = 'ENTER_SERVER_NAME',
SetDiscordRichPresenceAssetSmall = 'logo_name',
SetDiscordRichPresenceAssetSmallText = '',
-- These are the buttons that show in discord under the persons name
SetDiscordRichPresenceAction = 'Discord',
SetDiscordRichPresenceActionText = 'https://discord.gg/servername',
SetDiscordRichPresenceAction2 = 'Store',
SetDiscordRichPresenceActionText2 = 'https://tebex.tebex.io/',
--
MaxPlayers = '200',
-- DO NOT TOUCH THIS --
UpdateQueueSizeInDiscordPresence = 45000,
}
-- ███████████████████████████████████████████████████████████████████████████ --