GenZeeDocs

Installation

Install and set up Universal UI 1.1.0.

Thank you for purchasing Universal UI. Setup takes about five minutes.

Requirements

  • FiveM server (fx_version cerulean, Lua 5.4 — any current artifact)
  • Works standalone. ox_lib is not required. QBCore / QBox / ESX notification adapters and the optional ox_lib bridge activate only when those resources exist.

1. Install the resources

You received two resources:

ResourceWhat it is
universal_uiThe product
universal_bridgeThe suite's shared layer: merged theming across Universal products and the ox redirect if you still have ox_lib / ox_target. When other suite products are installed it also links them: settings pages, the player card, notification history and the other links in sections 2 and 2b. No dependencies. Same folder ships with every Universal product; keep one copy.
  1. Drop both folders into your server's resources/ folder.

  2. Add to server.cfg:

    ensure ox_lib             # only if you have it - keep it where it is
    ensure ox_target          # only if you have it
    ensure universal_bridge   # AFTER ox_lib / ox_target, BEFORE your other scripts
    ensure universal_ui

    Put the bridge and Universal UI before your other scripts: scripts register their menus and context menus at startup, and the bridge queues anything registered before Universal UI is up, but starting early keeps everything instant. If you also run Universal Targeting, ensure it right after the bridge.

2. Existing ox_lib scripts (drop-in redirect)

Nothing to change in any script. With ox_lib installed and the bridge ensured after it, the bridge answers ox_lib's interface exports itself, so every call to lib.notify, lib.registerContext, lib.progressBar, lib.skillCheck, the radial API, etc. renders through Universal UI, and ox's own radial and third-eye are switched off. ox_lib's files are never modified. The console prints ox redirect active at boot.

  • A fresh Qbox ships with ox_lib and needs it for non-UI features (callbacks, zones, locales). Leave it installed; the bridge simply makes its UI calls yours. Servers that only had ox_lib for the UI can stop it whenever they like — the suite never depends on it.
  • Health check: universal_bridge status (server console, or in game with the universal_bridge.manage ace). Grant that ace with add_ace group.admin universal_bridge.manage allow in permissions.cfg, or paste the line into the live server console to apply it now.
  • One platform limit: a script that fires TriggerClientEvent('ox_lib:notify', ...) from the server reaches ox_lib's own handler, so that one notification renders in ox's style. Qbox's exports.qbx_core:Notify is redirected on the server and on the client (opt out of the client side with setr universal:frameworkNotify 0), so this only affects scripts calling ox_lib directly. universal_bridge status lists them; switch them to exports.universal_ui:notify(source, data) (same payload) and they're done.
  • The frameworks' own server notices on Qbox (paychecks, duty, "company too poor") are the same case: qbx_core sends them to ox_lib from inside itself, so they stay in ox_lib's style. Stock QBCore's own notices (QBCore:Notify) likewise render in qb-core's built-in UI. Universal UI never edits a framework file to change that.
  • ESX needs nothing: every ESX notice (ESX.ShowNotification, the server's esx:showNotification) goes through esx_notify, which the bridge answers, and ESX's paychecks (GTA feed messages) show in Universal UI too, with the feed kept hidden while ESX's copy would be on screen. Opt out with setr universal:frameworkNotify 0.

2b. Other scripts, ours first

The rule everywhere: while a Universal product runs, the bridge answers the names scripts were written for and the product handles them, even when the original script is still installed; when the product is not running, the original keeps its names. Nothing on disk is touched.

  • ox_inventory scripts: with Universal Inventory or Universal Storage, exports.ox_inventory:* calls (AddItem, RemoveItem, RegisterStash, RegisterShop, openInventory, forceOpenInventory, usingItem hooks and more) go to whichever of the two is started, whether ox_inventory is installed, stopped or removed.
  • qb-target scripts: their zones and options show in Universal Targeting (qb-target's own eye is switched off while Targeting runs, and comes back if Targeting stops). job and gang become one groups list. Not mapped: AddComboZone.
  • ox_lib / ox_target / qb-target fallback: if Universal UI or Universal Targeting stops after running, the original answers again (a notify or a progress bar still shows) and ox's eye and radial switch back on.
  • Item counts on the client: client scripts that ask ox_inventory what the player carries (exports.ox_inventory:Search, GetItemCount, GetPlayerItems, the ox_inventory:itemCount event) get the answer from Universal Inventory / Storage, so HUD item gates (a radio, a GPS) and Targeting items options work without ox_inventory.
  • Framework usable items (exports.qbx_core:CreateUseableItem, QBCore.Functions.CreateUseableItem, ESX.RegisterUsableItem) work with Universal Inventory / Storage: using such an item runs the framework's callback, as ox_inventory does (only for items the inventory does not use up itself). Opt out with setr universal:frameworkItems 0.
  • qb-inventory scripts: with Universal Inventory or Universal Storage, calls to exports['qb-inventory'] (AddItem, RemoveItem, HasItem, GetItemCount, CanAddItem, OpenInventory, CreateShop, OpenShop, SetItemData, ClearInventory and the rest of the 2.x names) go to the product. qb's info is the product's metadata. A stash opened with OpenInventory(source, 'name', { label, maxweight, slots }) is created on first open, as qb-inventory does. Keep qb-inventory installed but not started: qb-core only asks it (QBCore.Functions.HasItem, loading a character) when the folder is there. Old scripts that still fire inventory:server:OpenInventory from the client open stashes and trunks while qb-inventory is stopped; their shops open only when a server script registered them. Hooks, listeners and opening another player's pockets have no equivalent: the console says so once per script.
  • ESX society storage: with esx_addoninventory stopped, esx_society's boss menus and job armories (esx_addoninventory:getSharedInventory / getInventory) keep their stock in a product stash, society:<name>. Opt out with setr universal:esxSociety 0.
  • Trunks follow the car: with Universal Garages, a trunk or glovebox belongs to the car (its Garages record), not to its plate, so a new plate keeps the contents. Opt out with setr universal:garageTrunks 0.
  • Business tills: a business till pays into the job's real society account when one of these runs: Renewed-Banking, qb-banking, qb-management (older builds with money exports) or esx_addonaccount (society_<job>). Without one, the product keeps its own ledger. Opt out with setr universal:societyTills 0.
  • Wiring report: every stash and shop registered through the ox or qb names, and every ESX society stash, is reported to the product with the script that asked, so its admin wiring report shows who registered what.
  • Vehicle keys: with Universal Garages, scripts giving keys through qbx_vehiclekeys (GiveKeys / RemoveKeys / HasKeys / SetLockState) or qb-vehiclekeys (GiveKeys(id, plate), AcquireVehicleKeys, vehiclekeys:client:SetOwner) give the keys in Garages, so job and rental cars start. Stop the old key script when you switch; if it still runs, it gets the call too. Client scripts asking HasKeys (fuel, garages, job scripts) get Garages' answer as well. Opt out with setr universal:garageKeys 0.
  • illenium-appearance exports go to Universal Appearance whenever it runs; its events (menus, saves) only once illenium-appearance is stopped, since both would open.
  • Tickets keep their evidence: a ticket opened in Universal Pause freezes a Universal Blackbox incident around the reporter ("Ticket #id"). Opt out with setr universal:ticketIncidents 0.
  • Home driveways: with Universal Housing and Universal Garages, every home with realtor-placed parking spots is a private lot in Garages. Key holders with the garage permission drive onto a spot and park with E; the car stays outside, seen by everyone, across restarts. Opt out with setr universal:homeGarages 0.
  • One notification column: products that raise universal:toast (Universal Garages) show their toasts through Universal UI when it runs, their own otherwise. Opt out with setr universal:productToasts 0.
  • Spawn at home: with Universal Housing and Universal Onboarding, the spawn picker offers every home the character may enter. Picking one lands at the door and puts the player inside. Opt out with setr universal:homeSpawns 0 (or Housing's Config.SpawnAtHome = false).
  • Universal HUD: the HUD fades out under the pause menu, the inventory panels and any product scene (a creator, a replay, the appearance editor), and comes back when they close (opt out setr universal:hudAutoHide 0). Suite food items feed its hunger and thirst. qb-hud's stress events, qbx_hud's show / hide events and esx_hud's seatbelt / cruise exports are answered while those scripts are absent, and exports.chat:* keeps working once the HUD's chat replaces the stock chat.
  • Keys stand down in creators: while a product's creator or replay is open (Universal Garages, Universal Housing, Universal Blackbox), the pause menu, Universal Targeting and the Universal Inventory / Storage TAB and hotbar keys stay off, and come back when it closes. Opt out with setr universal:sceneKeys 0.
  • Merged theme: every Universal product follows Universal UI's theme, including a player's own Interface choices on that player's screen. Opt out with setr universal:mergedTheme 0.
  • Universal Pause: a Switch character button shows whenever Qbox, QBCore, ESX or Universal Onboarding can send the player back to character select (opt out setr universal:pauseSwitch 0). Onboarding's rules appear as a read-only page on Pause's Server tab (setr universal:linkedRules 0). Pause's streamer mode reaches every product that supports it.

3. Theme it

Grant yourself the theme ace and open the live editor in-game:

add_ace group.admin universal_ui.theme allow

That line belongs in permissions.cfg (or wherever your server keeps its aces) and takes effect on boot; paste it into the live server console to apply it immediately.

  • /universal_ui:theme — live editor: presets, accent color, glass intensity, corner softness, UI scale, blur, 3D interface toggles.
  • Drag to place — reposition notifications, text UI prompts, and the task guide anywhere on screen. Escape steps back / discards.
  • Themes persist server-side and are the server's look for every player.
  • /universal_ui:theme clear — revert everyone to config defaults.
  • Players pick their own look on top of it (accent, UI scale, corners, blur, notification anchor, 3D and clustering around the character, performance mode) from Universal Pause's Settings → Interface. Their choices stay on their client; a key they never touched follows the server theme.
  • Creator and admin panels across the suite (this editor, the Universal Garages and Universal Housing creators) use a near-solid "work glass" so they stay readable over the game. Set glassWork in the theme to pick its colour, or leave it unset to follow the panel colour.

Config defaults live in shared/config.lua (readable), including every player-facing string for translation (Config.Locale).

4. Verify (optional)

Enable the built-in demos and smoke-test each module:

setr universal_ui:dev 1

/universal_ui:demo notify|context|input|alert|progress|progresscircle|skillcheck|textui|multitextui|menu|guide|keyspam|memory|scramble|ui3d and /universal_bridge:test for the end-to-end ox_lib redirect check (it drives real lib.* calls; if they render as Universal UI, the redirect wins). Set universal_ui:dev back to 0 for production.

Performance notes

  • performanceMode = true (config or theme editor) freezes ambient animation and disables backdrop blur for weak clients.
  • The 3D holographic interface is pure CSS and costs nothing when disabled.

Scripting against Universal UI directly

Exports mirror ox_lib's interface API — exports.universal_ui:notify(...), inputDialog, progressBar, skillCheck, showTextUI, plus extensions: minigames, task guides, multi text UI, getTheme, and server-side notify/setTheme/clearTheme. See the store page or the readable client/demo.lua for working examples of every module.

Support

Questions or issues: join the GenZee Discord at https://discord.gg/yfEQ2QX6tx and open a ticket. Please include your artifact version and any F8 / server console errors.

On this page