JPhone

Framework and integrations

JPhone talks to your framework and other resources only through its bridge and adapters. It does not patch or ship modified copies of your framework, inventory or other resources. This page lists the supported adapters, their test status, the diagnostics and a summary of the exports for other scripts. The same matrix ships in the package as install/docs/ADAPTERS.md.

How the bridge works

Config.Bridge in config/bridge.lua selects an adapter ID for each area. With auto, the bridge detects running resources by priority. Force an ID only when it matches your installation. If you renamed a standard resource, map it in Config.Bridge.Resources.

Start your framework, inventory, banking, keys, garage and voice resources before JPhone. Starting a framework does not verify every optional resource, so always check the selected adapters with jphone:bridge, described under Diagnostics below.

Test status

Label Meaning
Game tested Test evidence exists for this release. It is not a promise for every version or combination
Available; community verification The adapter is included, but no separate game test is recorded in this matrix
Beta / community test Included but not verified in game. It stays beta until a real installation is verified
Fallback What JPhone does when no matching resource is present

The confirmed combination is Qbox + ox_inventory + Renewed-Banking + pma-voice. Framework tests on QBCore and ESX do not establish game support for qs-inventory, okokBanking, wasabi_carlock, ps-dispatch, cd_dispatch or SaltyChat. Keep beta integrations on a test server until you have verified them.

Frameworks

Framework Adapter ID Status Without it
Qbox (qbx_core) qbx Game tested (Qbox combination) Standalone fallback
QBCore (qb-core) qb Game tested on a QBCore test server; optional combinations not verified individually Standalone fallback
ESX (es_extended) esx Game tested on an ESX test server; optional combinations not verified individually Standalone fallback
No framework standalone Limited mode No Service; no character or economy features

Qbox

Start qbx_core before the inventory and JPhone. With ox_inventory, check that its framework selection is Qbox. Keep the framework on 'auto' or force 'qbx', and the inventory on 'auto' or 'ox'. Stock qbx_core gives new characters a phone item in starterItems; replace it with jphone_pro if new characters should get a JPhone.

QBCore

Start qb-core and your inventory first. Use 'auto' or 'qb' for the framework and select the inventory you actually run. Disable any separate qb-phone resource. qb-radialmenu uses F1 by default, the same as Config.OpenKey, so change one of them.

ESX

Start es_extended before your inventory and JPhone. Use 'auto' or 'esx'. Review Config.Bridge.EsxDutyMode, EsxBossGrades, JobTypes and PoliceJobs for your jobs. Start job resources that register service numbers after JPhone, so their registrations are not missed.

Standalone

Without a framework, JPhone starts in limited No Service mode and reports the missing player, banking and inventory capabilities. It does not replace an RP framework. Turning off the item requirement does not provide character identity or money.

Inventory

Inventory Adapter ID Status Without it
ox_inventory ox Game tested with Qbox Virtual device if metadata is unavailable
qb-inventory qb Available; community verification No metadata-capable inventory fallback
qs-inventory qs Beta / community test Virtual device fallback
Native ESX inventory esx Available, limited metadata Virtual device; Locate Devices is partial
None none Fallback No inventory item or metadata operations

Physical device identity needs an inventory that keeps item metadata. Phones must be non-stackable, and their serial metadata must survive dropping, storing and trading.

Banking and billing

Integration Adapter ID Status Without it
Renewed-Banking renewed Game tested with Qbox Framework bank account fallback
qb-banking qb Available; community verification Framework bank account fallback
okokBanking okok Beta / community test Framework bank account fallback
ESX / framework account esx, framework Available fallback History fallback needs the installation SQL
esx_billing esx_billing Available; community verification Built-in invoices (jphone)

Garages and vehicle keys

Integration Adapter ID Status Without it
jg-advancedgarages jg Available; community verification Garage is empty without a vehicle provider
qbx_garages qbx Available; community verification Garage is empty without a vehicle provider
qb-garages qb Available; community verification Garage is empty without a vehicle provider
ESX vehicles esx Available; community verification Garage is empty without a vehicle provider
qbx_vehiclekeys qbx Available; community verification No remote key actions
qb-vehiclekeys qb Available; community verification No remote key actions
wasabi_carlock wasabi Beta / community test No remote key actions

Voice

Integration Adapter ID Status Without it
pma-voice pma Game tested with Qbox No call audio with none
SaltyChat (saltychat) salty Beta / community test No call audio with none
mumble-voip mumble Available; community verification No call audio with none

Calls to virtual numbers are automated services and never have another player's voice channel.

Dispatch, weather and other integrations

Integration Adapter ID Status Without it
ps-dispatch ps Beta / community test Built-in phone notification and blip
cd_dispatch cd Beta / community test Built-in phone notification and blip
Built-in dispatch jphone Available fallback No external dispatcher needed
Renewed-Weathersync renewed Available; community verification Game natives
qb-weathersync qb Available; community verification Game natives
Notifications ox, qbx, qb, esx Available standard APIs Normal framework or ox_lib selection
Permissions ace Available standard API Configure explicit ACE permissions
qbx_properties optional Not verified in this matrix No housing list or cards
MugShotBase64 optional Not verified in this matrix No portrait from this provider
screencapture optional Not verified in this matrix That capture path is unavailable; NUI capture remains
jphone-medya data resource Test backup and write permission on your server Phone-local media/ fallback with a warning

Legacy phone compatibility

JPhone provides the qb-phone compatibility name. Stop any separate qb-phone resource and never load two phone providers. The esx_phone and gcphone compatibility is partial: not every legacy message event is implemented, and full esx_phone compatibility may need a separate integration resource. Check each script that depended on your previous phone.

Diagnostics

jphone:bridge

Run jphone:bridge in the server console. It reports the selected framework, inventory, banking, voice and other adapters, plus their capability flags. Confirm they match your setup. To run it in game, grant the command to your admin group only:

add_ace group.admin command.jphone:bridge allow

/jphone_bridgetest

After joining as an authorized administrator (jphone.admin), run /jphone_bridgetest. It checks an actual loaded player as well as the bridge.

Custom adapters

The adapter files in bridge/ and bridge/config-schema.lua are plain Lua that you may edit; they are listed in escrow_ignore. The bridge core, client and server code are encrypted. A custom adapter should use the bridge registration contract and the standard provider APIs, then be selected by its ID in Config.Bridge.

Exports for other scripts

JPhone offers client and server exports for other resources. The full list of signatures is in install/docs/API.md in the package.

  • Add dependency 'jphone' to your manifest and register integrations after the phone starts.
  • Run server exports in server scripts and client exports in client scripts.
  • Check failure returns, such as false or nil with a code like no_player, no_phone or disabled.
  • All server exports are trusted. Your resource must validate identity, jobs, ownership, amounts and permissions before calling them. Never expose reset, erase, money or media deletion exports to client input.
Area Examples
Calls and messages RegisterNumber, IncomingCall, SendMessage, SendCash
Notifications and services Notify, SendNotification, SendEmergencyAlert, CreateServiceRequest, Dispatch
Custom apps AddCustomApp, RemoveCustomApp, RegisterStoreApp
Live Activities AdaBaslat, AdaGuncelle, AdaBitir
Identity and devices GivePhone, GetActiveSerial, GetPhoneMeta, GetDevice, CreateLine
Sharing, calendar and settings JDropOffer, AddCalendarEvent, SetAlarm, SetLanguage

Server example for an automated service number:

local phone = exports['jphone']
phone:RegisterNumber('5550199000', {
    name = 'LS Customs', answer = true, maxTalk = 20,
    onMessage = function(player, message)
        phone:SendMessage({ from = '5550199000', src = player, text = 'Request received.' })
    end
})

Server scripts can also observe events such as SOS reports. Use them to observe or forward to your own dispatcher, never to trigger SOS again:

AddEventHandler('jphone:sos', function(src, kind, coords, serial) end)
AddEventHandler('jphone:api:callEnded', function(src, callId, reason, number) end)

Reporting an integration problem

Include the release version, installed resource names and versions, the jphone:bridge report with capability flags, a sanitized console error and the steps to reproduce. Remove credentials and private player data. See Troubleshooting for common fixes.