Skip to main content
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’s fxmanifest.lua:
dependency 'atlasBridge'                 -- enforces load order
shared_script '@atlasBridge/init.lua'    -- gives you the global `Bridge` (client + server)
Bridge is now available on both the client and the server. Use Bridge.IsServer to branch when you need to.
-- client
Bridge.Notify('Welcome!')
local job = Bridge.GetJob()

-- server
if Bridge.RemoveMoney(src, 'cash', 250, 'shop') then
    Bridge.Inventory.AddItem(src, 'fish_trout', 1)
    Bridge.Notify(src, { title = 'Sold', description = '+$250', type = 'success' })
end
For editor autocomplete, point your .luarc.json workspace.library at atlasBridge/types.

Hybrid loading

The bridge loads like ox_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 in atlasBridge and are reached through exports.atlasBridge:* automatically.
You never call those exports yourself. Calling 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

AreaMembers
UI (client)Notify · Progress · TextUI · Menu · Context · Input · SkillCheck · Confirm · Radial · Interact · Target
UI (server)Notify (player-targeted)
FrameworkFramework + shortcuts (GetJob, GetMoney, AddMoney, …)
DataInventory · Entities (server) · Permissions (server) · Buckets (server)
NetNet (protected client↔server)
IntegrationsDiscord · 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
Lib namespaces are read-only. See types/bridge.lua in the resource for full signatures.

Where to go next

https://mintcdn.com/atlasscripts/BwePy2Q7bMLnl0yQ/icons/plug-filled.svg?fit=max&auto=format&n=BwePy2Q7bMLnl0yQ&q=85&s=523bca8bdf53a69adf80f6699df734b4

Networking

Bridge.Net protected events and callbacks, plus Bridge.Validate.
https://mintcdn.com/atlasscripts/BwePy2Q7bMLnl0yQ/icons/box-filled.svg?fit=max&auto=format&n=BwePy2Q7bMLnl0yQ&q=85&s=c228a3b89453b292c0cedb29c252b3ab

Player Data

Framework and inventory: job, money, items, usables, and lifecycle hooks.
https://mintcdn.com/atlasscripts/BwePy2Q7bMLnl0yQ/icons/coins-filled.svg?fit=max&auto=format&n=BwePy2Q7bMLnl0yQ&q=85&s=bd777b298410d7d9ce026c158c25f13f

Permissions

ACE- and Discord-role-aware permission nodes, the clear two-step way.
https://mintcdn.com/atlasscripts/BwePy2Q7bMLnl0yQ/icons/box-filled.svg?fit=max&auto=format&n=BwePy2Q7bMLnl0yQ&q=85&s=c228a3b89453b292c0cedb29c252b3ab

Entities

Server-authoritative spawning, tracking, and auto-cleanup.
https://mintcdn.com/atlasscripts/BwePy2Q7bMLnl0yQ/icons/box-filled.svg?fit=max&auto=format&n=BwePy2Q7bMLnl0yQ&q=85&s=c228a3b89453b292c0cedb29c252b3ab

World Interactions

Interact prompts, zones, and blips for your own scripts.
https://mintcdn.com/atlasscripts/BwePy2Q7bMLnl0yQ/icons/box-filled.svg?fit=max&auto=format&n=BwePy2Q7bMLnl0yQ&q=85&s=c228a3b89453b292c0cedb29c252b3ab

UI Library

Notify, progress, menus, dialogs, skill checks, radial, and target.