Skip to content

A simple FiveM script that adds a customizable discord presence to players while on your server!

License

Notifications You must be signed in to change notification settings

JayPaulinCodes/JayDiscordPresence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JayDiscordPresence

JayDiscordPresence is a simple script for FiveM servers that allows them to customize the display of a user's discord status while they are on the server.

Preview

Script Preview

Installation

Download the script here and extract files to your FiveM server's resources folder and add the following to your server.cfg file.

ensure JayDiscordPresence

Setup

Start by visiting the Discord Developer Portal and creating a new application.

Discord Developer Portal

Give your application a name and create it. Once on your application's page copy your application ID by using the copy button under the application ID.

Paste the application ID in the config.lua file in this location:

discodAppID = YOUR_APPLICATION_ID_HERE, -- The discord application id

Next on your application's page, on the left bar click "Rich Presence" and then "Art Assets"

Once here you can add images to your application by using the "Add Image(s)" button near the bottom of the page.

To make these images appear on the discord presence fill the config.lua file with the image(AKA assets) names in the following fields:

    largeIconAssetName = YOUR_IMAGE_NAME, -- This is the asset name of the large icon on your discord application
    largeIconHoverText = "Cool Text", -- This is the text to display when the large icon is hovered 

    useSmallIcon = true, -- Do you want a small icon to be displayed?
    smallIconAssetName = YOUR_IMAGE_NAME, -- This is the asset name of the small icon on your discord application
    smallIconHoverText = "A FiveM Server!", -- This is the text to display when the small icon is hovered 

And that's it! Configure the remainder of the config.lua and your good to go.

License

MIT

About

A simple FiveM script that adds a customizable discord presence to players while on your server!

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages