Dependencies
Required and optional dependencies, start order, and feature-specific requirements for orbit-dynamichud-v2.
Dependencies
Required
| Dependency | Why it is needed | Link |
|---|---|---|
ox_lib | Cache helpers, locales, callbacks, keybinds, commands, and runtime utilities. | overextended/ox_lib |
orbit-lib | Normalized framework player/inventory data and Orbit resource integration. | orbit-lib docs |
oxmysql | Required by the current resource manifest; Settings Share uses it to store presets, likes, downloads, ownership, and moderation data. | overextended/oxmysql |
| Supported framework | ESX, QB-Core, QBX, or the configured standalone adapter in orbit-lib. | orbit-lib configuration |
Settings Share is enabled by default. Disabling it skips its database work, but the current manifest still lists oxmysql as a dependency and loads its Lua library. Start oxmysql before DynamicHUD 2.0; do not remove its manifest entries.
Optional integrations
| Dependency | Feature |
|---|---|
screenshot-basic | One supported Settings Share capture provider. Install it only when selected in captureProvider. |
screencapture | Alternative Settings Share capture provider. Install it only when selected in captureProvider. |
| FiveManage API key | Hosts uploaded preset screenshots through a server-requested presigned URL. |
orbit-dynamichud-addons | Orbit seatbelt and cruise-control integration. |
orbit-dynamichud-stress | Replicated stress gain, relief, and effects. |
pma-voice | Voice/radio state on servers using pma-voice. |
| Supported inventory | Inventory-backed ammo, item counts, and inventory-open state. |
| Custom fuel resource | Fuel values through Config.GetVehicleFuelLevel. |
See Settings Sharing before enabling screenshots, then follow FiveManage Setup to create and secure the API key. Keep the key in a server convar, never in shared/client code.
Start order
ensure ox_lib
ensure oxmysql
ensure [framework-resources]
ensure [inventory]
ensure orbit-lib
# Only required when preset screenshots are enabled. Start the provider
# selected by Config.SettingsShareServer.thumbnail.captureProvider.
ensure screencapture
# ensure screenshot-basic
ensure orbit-dynamichud-v2
# Optional integrations
ensure orbit-dynamichud-addons
ensure orbit-dynamichud-stressReplace [framework-resources] and [inventory] with your actual resource names or folder groups; they are placeholders, not dependencies to install. Start only the screenshot provider selected in your thumbnail config, and omit both providers if custom screenshots are disabled.
The selected framework must be available before orbit-lib. Start optional state providers after the base HUD unless their own documentation requires otherwise.
Feature failure behavior
- Missing
ox_lib,orbit-lib, oroxmysqlprevents the resource from starting because all three are manifest dependencies. - A missing/mismatched capture provider or missing API credentials disables custom screenshot capture; preset uploads can continue with fallback previews.
- Setting
music.onlyLocalMusic = trueavoids all server-side dynamic-sound work and does not need an external audio resource.