atlasBridge is not just glue for Atlas resources — it is a foundation you can build your own scripts on. Depend on it once and get a single global Bridge table with a standard library, protected networking, framework and inventory abstraction, UI, entities, Discord, and permissions, so your resource runs on ESX, QBX, QB-Core, or standalone without rewriting glue.
This section is for developers writing resources on top of the bridge. If you are a server owner installing a purchased Atlas resource, see Installation and Configuration instead.
Integrate the Bridge global
In your resource’sfxmanifest.lua:
Bridge is now available on both the client and the server. Use Bridge.IsServer to branch when you need to.
Hybrid loading
The bridge loads likeox_lib, with a deliberate split:
- Pure utilities (
Math,Table,Vector,Validate, …) load directly into your resource’s VM — fast, no boundary cost. - Stateful and UI services (
Net,UI,Entities,Discord, …) run centrally inatlasBridgeand are reached throughexports.atlasBridge:*automatically.
Bridge.Net.Emit or Bridge.Notify does the routing for you. This keeps shared state (open menus, tracked entities, the net token store) in one place while keeping hot utility paths local.
The Bridge table at a glance
| Area | Members |
|---|---|
| UI (client) | Notify · Progress · TextUI · Menu · Context · Input · SkillCheck · Confirm · Radial · Interact · Target |
| UI (server) | Notify (player-targeted) |
| Framework | Framework + shortcuts (GetJob, GetMoney, AddMoney, …) |
| Data | Inventory · Entities (server) · Permissions (server) · Buckets (server) |
| Net | Net (protected client↔server) |
| Integrations | Discord · Theme |
| Lib (shared) | Math Table Vector String Time Color Geo Scheduler Validate Plate UID VehicleProps Timers Commands Class Log Err |
| Lib (client) | Streaming Cache Camera Screen Zones Draw Interact Blips MarkerProp LocalPreview Ped Keybinds |
| Lib (server) | RateLimit PlayerState |
types/bridge.lua in the resource for full signatures.
Where to go next
Networking
Bridge.Net protected events and callbacks, plus Bridge.Validate.Player Data
Framework and inventory: job, money, items, usables, and lifecycle hooks.
Permissions
ACE- and Discord-role-aware permission nodes, the clear two-step way.
Entities
Server-authoritative spawning, tracking, and auto-cleanup.
World Interactions
Interact prompts, zones, and blips for your own scripts.
UI Library
Notify, progress, menus, dialogs, skill checks, radial, and target.
