GenZeeDocs

Load order

The server.cfg order that keeps every registration instant.

Scripts register their menus, target options and radial items as they start. The bridge queues anything that arrives early and replays it, so a wrong order still works, but the order below keeps everything instant and avoids a flicker of ox's own UI at boot.

server.cfg
# Framework and base resources first
ensure oxmysql
ensure qbx_core            # or qb-core / es_extended, if you use one

# ox resources stay where they are, if you have them
ensure ox_lib
ensure ox_target

# The Universal suite, bridge first
ensure universal_bridge    # after ox_lib / ox_target, before your other scripts
ensure universal_targeting
ensure universal_ui

# Everything else
ensure my_jobs
ensure my_shops

The rules behind it

  • The bridge goes after ox_lib and ox_target. It answers their exports, and FiveM uses the last resource that answers. Going after them means the bridge wins.
  • The suite goes before your other scripts. Your scripts can then register straight into the suite with no queue in between.
  • Only ensure what you have. Every line above except the bridge and the product you bought is optional.

Checking it worked

Run universal_bridge status in the server console. It lists which ox resources and Universal products are running and whether the redirect is active. With ox_lib installed, the console also prints ox redirect active at boot. See Universal Bridge for what each line means.

On this page