📖
AdminPlus Development Documentation
  • AdminPlus Documentation
  • Support
  • 📍Information
    • You lack the required entitlement.
  • 💰Paid Scripts
    • [QB/ESX] Admin Jail [PAID]
    • [QB/ESX] Wigs & Bundles [PAID]
    • [QB/ESX] Bus Travel [PAID]
    • [QB/ESX] Business Promotion [PAID]
    • [QB/QBOX/ESX] Discord Presence [PAID]
    • [QB/ESX] Character Attributes [PAID]
    • [QB/ESX] Server Essentials [PAID]
    • [QB/ESX] Typing Indicator [PAID]
    • [QB/ESX] Anti-Fall [FREE]
    • ESX | Faction Chat [PAID]
    • ESX | Gym [PAID]
    • [STANDALONE] 65+ Car Pack [PAID]
  • 🆓Free Scripts
    • Anti Collision
    • Lost Items
    • Sell Drugs
    • Med System
Powered by GitBook
On this page
  1. Paid Scripts

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

Previous[QB/ESX] Business Promotion [PAID]Next[QB/ESX] Character Attributes [PAID]

Last updated 28 days ago

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.

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 ✅

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

💰
Tebex (purchase)
Support (discord)