Menu

1 / 2

Setting Up Discord Rich Presence for FiveM Servers: QBox, QBCore, and Custom servers

DEV Community·Meteo Studios·6 months ago
#7vfcuVo3
#api#beginners#gamedev#tutorial#server
Reading 0:00
15s threshold

If you are building a FiveM roleplay server, Discord Rich Presence is one of those small details that makes a big difference. It replaces the generic "Playing FiveM" status with your server name, logo, and player count. Every player on your server passively advertises your brand to their entire Discord friends list.

The setup is straightforward but the implementation differs depending on your framework. Here is a quick breakdown of how it works across QBox, QBCore, and a custom config-based approach.

Creating the Discord Application

This part is framework-agnostic.

Head to the Discord Developer Portal

Create a new application. Name it your server name since this is what displays in the Discord status

Copy the Application ID from General Information

Go to Rich Presence > Art Assets and upload your server logo. Give it a key name like server_logo_large

Recommended image size is 1024x1024px. Discord takes a few minutes to process new assets.

That is the Discord side done.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.