[RELEASE] [FREE] Easy configurable Discord Rich Presence

Heyyy,
I´d like to introduce you to my easy configurable Discord Rich Presence with lots of pre-made settings.

Below you can see a preview of the config file:

Config = {}
Translation = {}

Config.ApplicationID = "YOUR_APPLICATION_ID" -- Enter your Discord Application ID --> https://discord.com/developers/applications/
Config.UpdateTime = 5 -- 1 = 1 Second -> Updates every Second. Default is 60 Seconds
Config.Locale = "en" -- Current translations: de, en
Config.YourDisordServerLink = "YOUR_SERVER_LINK"



--[[ Premade Text Version for RichPresenceText, LargeImageText and SmallImageText - Just 

"playerFPS" = Shows the players FPS when you hover the image 
"playerID" = Shows the Server ID of the player
"discordServer" = Shows your Discord Server Link from Config.YourDisordServerLink = "YOUR_LINK_HERE"
"playerLocZone" = Shows the current Zone Location of the Player
"playerLocStreet" = Shows the current Street Location of the Player
"standard" = Standart Option

If you want to display own text just write it there
 ]]

--Main Text Options
Config.SetRichPresenceText = true -- Main Text
Config.RichPresenceText = "standard" --Main Text of DiscordRP 



-- Icon Options
Config.EnableLargeImage = true -- Large Image enabled. Replace true with false to disable.
Config.LargeImageName = "YOUR_IMAGE_NAME" -- Image Name without .png, .jpg, or .jpeg --> https://discord.com/developers/applications/YOUR_APPLICATION_ID/rich-presence/assets

Config.EnableLargeImageText = true -- Text which shows up if you hover large image. Replace true with false to disable.
Config.LargeImageText = "standard" -- Text which shows up if you hover image. 



Config.EnableSmallImage = true -- Small Image enabled. Replace true with false to disable. 
Config.SmallImageName = "YOUR_IMAGE_NAME" -- Image Name without .png, .jpg, or .jpeg --> https://discord.com/developers/applications/YOUR_APPLICATION_ID/rich-presence/assets

Config.EnableSmallImageText = true -- Text which shows up if you hover small image. Replace true with false to disable.
Config.SmallImageText = "standard" -- Text which shows up if you hover image.



-- Button Options
Config.EnableButtons = true

--[[ If you want to add more Buttons you only need to Copy the "ButtonDiscord" Section from Line 51 to 55 and Rename ButtonDiscord to what you want. 
!! You need to add a , after all section endings. Here in Line 56 so it looks like this },  !!
Don't forget to increase the index by one number each time!
Unfortunately, a maximum of two buttons are currently possible from Discord.]]
Config.Buttons = {
	ButtonWebsite = {
        Index = 0,
        Label = "BUTTON_LABEL",
        URL = "YOUR_BUTTON_URL"
	}
}


-- Translations
Translation = {
    ['de'] = {
        ['zone_text'] = 'Derzeitige Position: ',
        ['discordserver_text'] = 'Unser Discord:',
        ['playerfps_text'] = 'Derzeitige FPS: ',
        ['street1_text'] = 'Befindet sich auf: ',
    },
    ['en'] = {
        ['zone_text'] = 'Current Position: ',
        ['discordserver_text'] = 'Our Disord: ',
        ['playerfps_text'] = 'Current FPS: ',
        ['street1_text'] = 'Located on: ',
    }   
}

Download:
Direct Download (Version 1.1) (2.9 KB)

GitHub (Version 1.1)

Tebex Download (Version 1.1)

4 Likes


because this goes up every minute that passes and never goes down again¿?

i was gonna download but hell no 0.38 ms

Why the hell is the client > main.lua over 100k lines?

Im going to fix it :wink:

1 Like

|- - - - - - - - - - - - - - - - - - UPDATE - - - - - - - - - - - - - - - - - -|

  • Fixed Memory Usage (No longer constantly leveling up. Stays at 0.00ms/0.01ms.)
    image

  • client.lua line length fixed (160Lines)

  • Config.UpdateTime changed from Minutes to seconds.

You cand Find the new Download Link in the original post Message.

2 Likes

For some reason the buttons are not working for me, they don’t show in the rich presence

1 Like

sets banner_detail ‘https://i.imgur.com/1uEUxZt.png
sets banner_connecting ‘https://i.imgur.com/1uEUxZt.png

this is the proper fix
you need to put your banner in imgur grab the shared bb code link after you put it in. then put those lines in your cfg