DXS Hud & Metabolism

Requirements
RedM (
fx_version 'adamant') andrdr3game targetlua54 'yes'enabled infxmanifest.lua(fxmanifest.lua:75)Recommended:
vorp_core(money/job),vorp_inventory(item icons),ghmattimysql(DB persistence)
Installation
Copy the resource folder to
resources/[DXS_Scripts]/DXS_Hud.In your
server.cfg, add:ensure DXS_Hud.Verify
fxmanifest.luacontains:fx_version 'adamant',game 'rdr3'version '1.0'(fxmanifest.lua:6)lua54 'yes'(fxmanifest.lua:75)
Optional dependencies:
vorp_corefor money/job syncvorp_inventoryfor item icons (basePathandresourceconfigurable)ghmattimysqlfor DB persistence if you switch positions to DB
Restart your RedM server.
Configuration
Main toggle and intervals:
config/main.config.luaConfig.VersionChecker = true(config/main.config.lua:3)Config.UpdateInterval,Config.StatusDecay.interval
Defaults (sizes, colors, visibility, shapes):
config/default.config.luaConfig.DefaultPositions,Config.DefaultColors,Config.DefaultSizesConfig.EnableShapes,Config.DefaultShape,Config.DefaultLogoUrl
Temperature system:
config/temperature.config.luaRegions, elevation, fire/drink/cool effects, warnings, smoothing
Usable items:
config/usable_items.luaDefine item effects and animations; supports eat/drink/inject/smoke
Persistence:
Config.Persistenceinconfig/main.config.luapositions = 'file'(default) or'db'for MySQL viaghmattimysql
Commands
/wash— cleanse dirt near water/pumps (client; wash cooldown enforced)/refreshcash— manual cash refresh (server-side debug/test) (server/status.lua:416)
Version Checker
Server-side thread checks latest version and logs to console (server/status.lua:1126-1169)
Toggle with
Config.VersionChecker
Optimization Tips
Increase
Config.UpdateIntervalandConfig.StatusDecay.intervalto reduce CPU usageDisable unused modules: Stress, Dirt, Voice visualize, Temperature
coreDrainPrefer event-driven updates for money/job over frequent polling
Keep NUI updates on change; avoid unnecessary full refreshes
Temperature smoothing enabled with realistic thresholds to avoid spikes
Voice visualize: reduce duration/thickness or disable when performance-first
Dirt logic: larger intervals for running/water checks; enforce wash cooldown
DB writes: save positions/statuses on change; avoid frequent writes
Roadmap
Horse Feeding System: dedicated feeding mechanics and UI feedback in next update 🐴🥕
Item Balance Pass (V2): a small number of item props (1–2) are not fully adjusted yet; fixes and tuning will ship in V2 soon for better consistency and feel ⏳
File References
Version metadata:
fxmanifest.lua:6Lua 5.4 flag:
fxmanifest.lua:75Version checker thread:
server/status.lua:1126-1169Config toggle:
config/main.config.lua:3Wash logic location: see wash command in
client/hud.luanear the health drain section
Support
Purchase and support via Discord. This is a paid product — redistribution and reupload are prohibited.
Last updated