Make it yours

Configuration

Every setting in config.lua and server_config.lua.

Configuration files

Wolfden Rich Presence has two configuration files. Restart the resource after changing either one.

FileContainsSent to players
config.luaDiscord application, presence text, photos, commandYes
server_config.luaImage host, API key, self-hosting, upload limitsNever

Keep API keys in server_config.lua or in server.cfg, never in config.lua.

General

SettingDefaultWhat it does
Config.DebugfalsePrints every step to the F8 console and the server console
Config.Framework'auto'Detects your framework. Force one with 'qbox', 'qbcore', 'esx' or 'standalone'
Config.ServerName'My Roleplay Server'Fills {server_name} and titles player notifications
Config.PlayerCount.Interval30Seconds between player count updates

Discord

Config.Discord holds your Application ID, logo names and buttons. See Discord application.

Presence

SettingDefaultWhat it does
ShowLocationfalseShows the player's street and zone. While off, location is never sent to Discord
RefreshInterval15Seconds between presence updates; minimum 5
RotationInterval10Seconds between rotating messages; 0 shows only the first

Config.Presence also holds the messages, fallback text and job names. See Presence text.

Character photos

SettingDefaultWhat it does
EnabledtrueTurns character photos on or off
InitialDelay5000Milliseconds to wait after a character loads before the first photo
PedReadyTimeout30000Maximum milliseconds to wait for the character to be visible
HeadshotTimeout5000Maximum milliseconds to wait for the game to prepare the headshot
NuiTimeout5000Maximum milliseconds to convert the headshot into an image
OutputSize256Photo size in pixels, from 64 to 512
AppearanceDebounce2500Milliseconds to wait after a clothing event
AutoRefreshInterval30Seconds between automatic look checks; 0 turns them off
UploadBps100000Upload bandwidth in bytes per second, so uploads never cause lag
UploadResponseTimeout60000Maximum milliseconds to wait for the server to finish an upload
MaxUrlLength256Longest image link Discord accepts

Config.AppearanceEvents, Config.Command and Config.Locale are covered in Character photos.

Image host

Set ServerConfig.ImageHost to 'fivemanage' or 'self', then fill in the matching section. See Image hosting.

SettingDefaultWhat it does
Fivemanage.ApiKey''Your API token. Leave empty to use wd_richpresence_fivemanage_key from server.cfg
Fivemanage.DeleteOldImagestrueDeletes a character's previous photo when a new one is uploaded
SelfHosted.PublicUrl''Your HTTPS domain that forwards to this server. Required for 'self'
SelfHosted.DeleteOldImagestrueDeletes a character's previous photo file when a new one is stored

The Fivemanage Endpoint, FieldName and DeleteEndpoint values are already correct and do not need changing.

Upload limits

SettingDefaultWhat it does
ServerConfig.Upload.Cooldown120Seconds between uploads for each player
ServerConfig.Upload.MaxPayloadBytes2 MBLargest upload the server accepts
ServerConfig.Upload.MaxDimension1024Largest photo width or height in pixels
ServerConfig.Upload.RequestTimeout20Seconds before storing a photo is treated as failed
ServerConfig.Upload.TicketLifetime60Seconds a player has to send an upload after the server approves it
ServerConfig.AutoCreateTabletrueCreates the database table on start
Was this page helpful?
Made with care, by Wolfden.
© 2026 Wolfden StudiosBuilt for the stories you create.