Now, enter the name you want for your application. Accept the Discord Developer Terms of Service and the Developer Policy, then press Create.
Now you are in the General Information section. Here, copy the Application ID and paste it into the Config.lua file.
Now, on the left, go to Rich Presence.
Now, click on Add Image(s) and upload your icon/image.
Now, add the name of your icon/image to the Config.
2. Main settings.
Here are all the main settings of this script.
-- sYn Services // discord.gg/syn-servicessYn = {}sYn.Settings = { ['getSharedObject'] ="newESX", -- use newESX or oldESX ['useCustomImages'] =false, ['LargeImageURL'] ="https://iili.io/Jc5cbyv.gif", -- Ignore ['SmallImageURL'] ="https://iili.io/Jc5cbyv.gif", -- Ignore ['DisplayFPS'] =true, -- Display FPS of the Player in the RPC ['ResourceTimer'] =5, -- in minutes ['UseESXIdentity'] =true, -- Display Player Name ['UseJobs'] =true-- Display Player Job}sYn.DiscordRPC = { ['ApplicationID'] ="11111111111111111", -- add your ApplicationId ['PlayerCount'] =300, -- Enter your max Server slots ['Buttons'] = { {index =0, name ='CONNECT', url ='fivem://connect/yourIP'}, {index =1, name ='DISCORD', url ='https://discord.gg/yourInvite'} }, ['RichText'] ="sYnServices#1", -- LargeIMG Text ['LargeIMG'] ="ai", -- Upload your Image on discord.dev > Rich Presence ['SmallIMG'] ="ai" -- Upload your Image on discord.dev > Rich Presence}
-- sYn Services // discord.gg/syn-servicessYn = {}sYn.Settings = { ['getSharedObject'] ="newESX", -- use newESX or oldESX ['useCustomImages'] =true, ['LargeImageURL'] ="https://iili.io/Jc5cbyv.gif", -- use a uploader like freeimage.host ['SmallImageURL'] ="https://iili.io/Jc5cbyv.gif", -- use a uploader like freeimage.host ['DisplayFPS'] =true, -- Display FPS of the Player in the RPC ['ResourceTimer'] =5, -- in minutes ['UseESXIdentity'] =true, -- Display Player Name ['UseJobs'] =true-- Display Player Job}sYn.DiscordRPC = { ['ApplicationID'] ="11111111111111111", -- add your ApplicationId ['PlayerCount'] =300, -- Enter your max Server slots ['Buttons'] = { {index =0, name ='CONNECT', url ='fivem://connect/yourIP'}, {index =1, name ='DISCORD', url ='https://discord.gg/yourInvite'} }, ['RichText'] ="sYnServices#1", -- LargeIMG Text ['LargeIMG'] ="ai", -- Ignore ['SmallIMG'] ="ai" -- Ignore}
If the images doesn't appear immediately, it may take a few minutes for Discord to update it!