Discord Rich Presence

Discord Rich Presence script for FiveM enhances your server's visibility by displaying the server name, player count, and server logo on players' Discord profiles. It also includes two customizable buttons, allowing you to link to your website, Discord server, or any other important resource. This lightweight and easy-to-use script ensures your community stays connected while giving your server a professional and polished look on Discord.

Features

  • Displays server name and current player count

  • Shows the server logo on Discord profiles

  • Includes two customizable buttons for links (e.g., website, Discord)

  • Lightweight and optimized for performance

  • Easy to set up and configure

  • Enhances server visibility and engagement


Preview

Config = {}

Config.AppID = "APPiD"  -- Your Discord Application ID

Config.MaxPlayers = 48 -- Your Max Player Count

Config.LargeImage = {
    key = "large",  -- Must exactly match your uploaded asset name
    text = "YOUR-TEXT-HERE"
}

Config.SmallImage = {
    key = "min",  -- Must exactly match your uploaded asset name
    text = "Join the community!"
}

-- Your Button links
Config.buttons = {
    { label = "Join Discord", url = "https://discord.gg/YOURINVITE" },  -- Replace with actual invite
    { label = "Visit Website", url = "https://YOURWEBSITE.COM" }  -- Replace with actual website
}

Last updated