[QB/QBOX/ESX] Discord Presence [PAID]


Character Names 👨
Disable/enable character names to show in presence.
Street Names 🏢
Disable/enable street names to show in presence.
Message 💬
Configurable text.
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

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 = false
queueConfig.Framework = 'ESX' -- QB or QBOX 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 = 'Roaming the streets.'
queueConfig.Streetnames = false
queueConfig.CharacterNames = false
queueConfig.Discord = {
-- CREATE A BOT ON DISCORD APPLICATION APP --
-- (ENABLE PERMISSION TO SEE MEMBERS) --
DiscordPresence = 45000, -- how long it takes to update to presence. (higher MS = better / suggested to keep above 30s)
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',
}
-- ███████████████████████████████████████████████████████████████████████████ --
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

V 1.0.0
Original Release
v 1.0.1
Fixed streetnames & queue integration.
V 1.0.2
Added character names configurable option.
V 1.0.5
Added QBOX Compatibility ✅
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

Last updated