JRV HUD
Installation
This page covers downloading JHUD, placing it on your server, the start order, the first checks, updates and removal.
Download the package
- Sign in to the Cfx.re Portal with the Cfx.re account you used when buying on Tebex.
- Open your granted assets, find JHUD and download it.
- Extract the archive. It contains the resource folder with
fxmanifest.luaat its root.
JHUD is delivered through Cfx Asset Escrow. Your server's sv_licenseKey must belong to the Cfx.re account that owns the asset, otherwise the resource does not start. config.lua, dil.lua and kopru/*.lua stay readable so you can edit them.
Dependencies
| Resource | Needed | What it gives JHUD |
|---|---|---|
ox_lib |
Required | Declared as a dependency in the manifest |
qbx_core, qb-core or es_extended |
Recommended | Job, grade, cash and bank chips, hunger, thirst, stress |
pma-voice |
Optional | Voice ring and the radio talker list with names |
ox_inventory |
Optional | Weapon names; hides the HUD while the inventory is open |
esx_status |
Optional (ESX) | Hunger and thirst on ESX |
Without a framework JHUD runs standalone and leaves the job and money chips out.
Place the resource
- Put the folder in your
resourcesdirectory and name itjhud. - Keep the name
jhud. Other resources callexports.jhud, and the events are namedjhud:client:*. - Stop any other HUD (
qbx_hud,qb-hud,esx_hud).
Start order in server.cfg
Start JHUD after ox_lib and your framework:
ensure ox_lib
ensure qbx_core
ensure jhud
On QBCore replace qbx_core with qb-core; on ESX Legacy use es_extended. With no framework, leave that line out.
Basic settings
Open config.lua before the first start:
Config.Cati = 'oto'detects the framework. Set'qbx','qb','esx'or'yok'(no framework) to force one.Config.Dilis'en'or'tr'.- If your server has no seatbelt resource, set
Config.Kemer = false; otherwise the seatbelt lamp stays lit.
All other settings are described in Configuration.
First start checks
- Watch the server console while JHUD starts and fix any errors about missing resources.
- Join the server. The status items appear at the bottom left and the info chips at the top right.
- Check that the job and money chips show values. If they are missing, the framework was not found.
- Type
/hudand check that the layout editor opens. Press Esc to save and close it. - Get into a vehicle and check the gauge, fuel and seatbelt lamp.
- The info chips sit at the top right, where
ox_libnotifications also appear by default. Move one of them if they overlap.
Players' layouts are saved on their own PC. Nothing from the editor is written to your server.
Update
- Keep a copy of your
config.lua,dil.luaand any changes tokopru/*.lua. - Stop JHUD and replace the folder with the new version, keeping the name
jhud. - Compare your saved settings with the new
config.luaand carry your values over. - Start the server and repeat the first start checks.
Removal
- Remove
ensure jhudfromserver.cfgand delete the folder. - Remove any calls to
exports.jhudfrom your other resources. - Start the HUD you want to use instead.