Nexo Phone
A complete smartphone with 43 apps, 16 minigames and 31 languages: real voice calls, social media, bank, garage and jobs.
What's included
A complete smartphone with 43 apps, 16 minigames and 31 languages (Arabic, Hebrew and Persian right-to-left). Each player picks their language the first time they turn the phone on. Works with Qbox, QBCore, ESX, ND_Core and standalone.
| Group | Apps |
|---|---|
| Essentials | Phone (real voice), Messages, Contacts, Camera, Photos, Notes, Maps, Settings, Store, Clock, Calendar, Weather, Mail, Voice memos, Calculator, Tips, Wallet |
| Music | Riff: catalog, playlists, likes and “play out loud” |
| Social | Glimpse, Squawk, Loop, Spark, CityBook, OnAir, Workly, DarkChat, N24 |
| Money | Bank, Invoices, Coinvault (crypto), Swapr (classifieds) |
| Housing | Keystone (buy and rent), Keyhole (doors, lights, alarm, cameras, keys) |
| Vehicles | Garage (NPC valet, keys, remote lock), Lift (rides), Forkly (food delivery) |
| Jobs | Emergency, MDT (police), EMS, Wrench (mechanics), Services (companies), Health |
| Games | 16 minigames with city leaderboards and “challenge a friend” |
Requirements
| Resource | Required? | What for |
|---|---|---|
oxmysql | Yes | Stores data. Tables are created automatically |
| Framework | Yes (or none) | qbx_core, qb-core, es_extended, ND_Core, standalone |
| Metadata inventory | Recommended | Each phone becomes a device with its own number: ox, qs, qb, ps or lj-inventory |
| Voice script | Recommended | Real voice calls: pma-voice, saltychat, mumble-voip, toko-voip |
screenshot-basic | Recommended | Real camera photos (plus an upload service) |
xsound / mx-surround | Optional | Music “out loud” for nearby players |
ox_lib | Optional | Progress bars in mechanic missions |
Installation
- Download the resource From keymaster.fivem.net → Granted Assets.
- Copy the folder into resources Named
nexo-phone.Don't rename itExports are called withexports['nexo-phone']. If you rename the folder, they stop working. - Add it to server.cfg After your framework, inventory and the scripts it integrates with.
ensure oxmysql ensure qbx_core # o qb-core / es_extended / ND_Core ensure ox_inventory ensure pma-voice ensure screenshot-basic ensure nexo-phone
- Start the server Every table is created automatically. If your database user can't create tables, import
sql/install.sqlonce. - Create the
phoneitem See the section below. - Set up photo uploads In
bridge/integrations/server/comms_upload.lua(see “Photos and voice memos”). - Review the config
config.luaand the files inconfig/. Everything is explained inside each file.
The phone item
-- ox_inventory/data/items.lua ['phone'] = { label = 'Phone', weight = 190, stack = false, close = true, server = { export = 'nexo-phone.usePhone' }, },
- ESX without ox_inventory: add
phoneto theitemstable. The phone is then tied to the character. - No item: set
Config.RequireItem = falseand players open it with the key (F1 by default) or the/phonecommand.
Phones, numbers and security
| Mode | How it works |
|---|---|
| Item | With a metadata inventory, each phone item is a device with a serial, its own number and its own data. Whoever holds it can use it; if it has a passcode, they need to know it. |
| Identity | One phone per character. |
Config.PhoneMode = 'auto' picks item when your inventory has metadata, otherwise identity. Data (contacts, chats, photos, social accounts) belongs to the number, so a phone keeps it when it changes hands.
The first time a phone is used, the setup runs: language → number → face unlock → passcode → location → theme.
- Face unlock only recognises whoever set it up.
- Passcodes are stored hashed (bcrypt).
- After 5 failed attempts the phone locks for 60 s, and the lockout doubles each time (max 15 min).
- Number format in
Config.Number:Pattern = '555#######'(#= random digit), andAllowCustomlets players choose their own.
Configuration
| File | What it controls |
|---|---|
config.lua | Framework, inventory, item, phone mode, key and command, number format, security, default theme, prop and animation |
config/comms.lua | Calls (voice, hidden number, service numbers like 911), messages, camera and uploads, gallery, map |
config/media.lua | Riff songs and “out loud”, voice memos, mail domain, calendar, clock and weather |
config/social.lua | Social apps: usernames, banned words, limits, N24 reporters, Lift prices, OnAir Sparks, Workly bosses, DarkChat |
config/money.lua | Bank and fees, billing jobs, Coinvault, Swapr, Wallet documents, Keystone properties and Keyhole |
config/jobs.lua | Dispatch, police/EMS/mechanics and their grades, penal code, treatments, missions, companies, Forkly restaurants, Health |
config/garage.lua | Garages, impound, valet fee and NPC driver, shared keys, remote range |
config/games.lua | Leaderboard size, retention and anti-cheat limits |
| config.lua option | Default | What for |
|---|---|---|
Config.Framework / Config.Inventory | 'auto' | Detected on start. Set them if detection is wrong |
Config.PhoneMode | 'auto' | 'item' or 'identity' |
Config.Item / Config.RequireItem | 'phone' / true | Item needed to open it |
Config.OpenKey / Config.OpenCommand | 'F1' / 'phone' | Key (rebindable in GTA settings) and command |
Config.WalkWhileOpen | true | Walk with the phone open |
Config.LockOnClose | true | Lock when closed |
Config.Clock | 'game' | Game time or 'real' |
Config.Defaults | Theme = 'auto' | Theme (light by day, dark by night), accent and wallpaper |
Config.VehicleImages | FiveM gallery | Car pictures in the Garage; use your own folder for add-on cars |
Config.CanOpen | function | Blocks opening it (dead, cuffed, paused…). Edit it freely |
Config.Debug | false | Detailed console logs |
Integrations
They're detected on start (check the server console). Each integration lives in an open file in bridge/ so you can adapt it to custom scripts.
| Category | Supported | File |
|---|---|---|
| Framework | qbx_core, qb-core, es_extended, ND_Core, standalone | bridge/framework/* |
| Inventory | ox_inventory, qs-inventory, qb / ps / lj-inventory, none | bridge/inventory/* |
| Voice (calls) | pma-voice, saltychat, mumble-voip, toko-voip | …/comms_voice.lua |
| Photo upload | Fivemanage, Discord webhook, custom | server/comms_upload.lua |
| Music out loud | xsound, mx-surround | server/media_sound.lua |
| Weather / time | Renewed-Weathersync, qb-weathersync, cd_easytime, vSync, nativo | client/media_weather.lua |
| Dispatch | ps-dispatch, cd_dispatch, qs-dispatch, core_dispatch (the phone's own always works) | server/jobs_dispatch.lua |
| Duty | QBCore/Qbox duty, ESX jobs | server/jobs_duty.lua |
| Billing | okokBilling, esx_billing, qb-phone / jim-payments | server/money_billing.lua |
| Society accounts | Renewed-Banking, okokBanking, qb-banking, qb-management, esx_addonaccount | server/money_accounts.lua |
| Housing / doors | ps-housing, qb-houses, qs-housing, esx_property, bcs_housing, ox_doorlock | server/money_housing.lua |
| Vehicles | player_vehicles, owned_vehicles, nd_vehicles, jg-advancedgarages, cd_garage | server/garage_vehicles.lua |
| Keys | qbx_vehiclekeys, qb-vehiclekeys, wasabi_carlock, MrNewbVehicleKeys, cd_garage, jaksam | server/garage_keys.lua |
| Fuel | ox_fuel, LegacyFuel, cdn-fuel, ps-fuel, lj-fuel, lc_fuel, nativo | client/* |
| Jail | qb-prison, esx-qalle-jail, rcore_prison | server/jobs_framework.lua |
Photos and voice memos
The camera, Glimpse, Swapr and voice memos need somewhere to store files. Open bridge/integrations/server/comms_upload.lua, pick the service and add your key.
local Service = 'fivemanage' local Token = 'TU_TOKEN_DE_FIVEMANAGE'
UploadMode = 'server' (default) the screenshot goes to your server and is uploaded from there. Only URLs from AllowedHosts are saved; if you use another service, add its domain.You need screenshot-basic running. In the camera: ENTER photo, ↑ selfie, BACKSPACE back.
Calls and messages
- Service numbers (
Config.Comms.Services): calling 911, 912… rings every on-duty player of those jobs and the first one to answer takes it. - Hidden caller ID: dial
#31#before the number. - Airplane mode and Do not disturb (everyone, favourites or nobody): the call shows as missed.
- Blocked numbers can't call or text you.
- With
RegisterOnSpawn = truethe phone registers when the character loads: you get calls without having opened it. - Messages with text, photo, location or a game challenge. Offline players get them when they come back.
Config.Comms.Services = {
{ number = '911', label = 'Police', jobs = { 'police', 'sheriff' } },
{ number = '912', label = 'EMS', jobs = { 'ambulance' } },
{ number = '913', label = 'Mechanic', jobs = { 'mechanic' } },
{ number = '914', label = 'Taxi', jobs = { 'taxi' } },
}Music (Riff)
The catalog is Config.Media.Music.Songs. Each song needs a numeric id that is unique and never changes (likes and playlists store it).
{ id = 1, title = 'Neon Avenue', artist = 'Velvet Static', album = 'Afterglow', dur = 214,
a = '#ff6ba8', b = '#6f43d6', genre = 'pop', url = 'https://.../neon-avenue.mp3' },url, the song is listed but plays silently.Play out loud is heard by nearby players. It needs xsound or mx-surround.
Money and housing
All money moves on the server: the UI only sends what the player asked for, and the server checks every amount, target and owner again.
| App | Key points |
|---|---|
| Bank | Transfers to a phone number, an NX12345678 account or an identifier. Offline players are credited anyway. History, card freeze and savings. |
| Invoices | Jobs in Invoices.Jobs bill by number; money goes to the society or the employee. Also lists okokBilling, esx_billing and qb-phone invoices. |
| Coinvault | One shared market that moves prices every TickSeconds, with price alerts and transfers. |
| Swapr | Classifieds per number with photos, search, chats and offers. They expire after ExpireDays. |
| Wallet | ID, licences, work badge and health card from the framework. “Show” to a nearby player. |
| Keystone / Keyhole | Buy with a down payment and mortgage, or rent weekly. Doors with ox_doorlock, PIN alarm, cameras and guest or tenant keys. |
Garage and valet
- The player orders the car It must be in a garage (not out or impounded).
Valet.Feeis charged. - It spawns far away, out of sight With its saved mods, fuel and damage.
- An NPC driver brings it It follows the player if they move, parks, unlocks the car and walks away. The app shows progress and ETA.
- If something fails If it doesn't spawn within
SpawnTimeoutthe fee is refunded; pastDeliveryTimeout, the car is moved to the nearest road.
Also: share keys with contacts, lock and honk remotely (within RemoteRange) and release from impound paying ImpoundRelease.Fee. If your garage script uses another table, edit SCHEMA in garage_vehicles.lua.
Jobs
| App | What it does |
|---|---|
| Emergency | Citizens alert police, EMS or roadside assistance with their position. They see the unit approaching live. |
| MDT | People and plate search, priors, warrants, BOLOs, reports with penal code charges (fines and jail) and units. |
| EMS | Medical records, reports with injuries and treatments (billed to the patient) and hospital beds. |
| Wrench | Work orders, real vehicle diagnosis and NPC missions (tow, impound, roadside repair, parts) validated on the server. |
| Services | Companies open by on-duty staff, duty toggle, hiring and customer chat. |
| Forkly | Food orders charged on the server, player or NPC couriers. |
| Health | Health, armour, hunger, thirst, stress, steps and medical ID. |
Config.Jobs.Police.MinGrade. Calls, beds and active missions live in memory and reset on restart.Administration
Give the nexo.admin ACE to your moderators. They can delete any post, clip, ad, review or article, end streams and burn DarkChat channels from inside the apps.
add_ace group.admin nexo.admin allow
Exports for other scripts
Connect your scripts to the phone. All of them are server-side except the Client tab.
exports['nexo-phone']:Notify(source, { app = 'messages', title = 'Title', text = 'Text' }) exports['nexo-phone']:GetPhoneNumber(source) -- número en uso exports['nexo-phone']:GetSourceByNumber(number) exports['nexo-phone']:SendMessage(fromNumber, toNumber, text) exports['nexo-phone']:SendLocation(fromNumber, toNumber, x, y, label) exports['nexo-phone']:IsInCall(source) exports['nexo-phone']:EndCall(source)
| Server event | When it fires |
|---|---|
nexo:comms:messageSent | A message is sent |
nexo:comms:callStarted / callEnded | A call starts or ends |
nexo:comms:photoTaken | A photo is taken |
nexo-phone:bankTransfer | Bank transfer |
nexo-phone:invoicePaid | An invoice is paid |
nexo-phone:houseAlarm | A house alarm goes off |
nexo-phone:dispatch:created | A dispatch call is created |
nexo-phone:mdt:report | An MDT report is saved |
Performance
- ~0.00 ms at idle: no client loops while the phone is closed, except short ones on demand (a ride, a delivery, a mission, an alarm).
- The UI only loads the base when opened; each app and language downloads the first time it's used.
- Server: prepared queries on indexed tables, pagination and caches, and automatic cleanup of old data.
- Every callback is rate-limited and validates its input; money only moves on the server.
Updating
Replace the folder and restart. New tables and columns are added automatically (the nexo_migrations table tracks what's installed).
config/ files and comms_upload.lua and compare them with the new ones to add new options.Troubleshooting
| Problem | Fix |
|---|---|
| “You don't have a phone” | Create the phone item or set Config.RequireItem = false |
| It opens but setting the number fails | Check the console for oxmysql errors; the DB user needs CREATE/ALTER (or import sql/install.sql) |
| No voice in calls | Start your voice script before nexo-phone and check config/comms.lua → Voice |
| Photos aren't saved | Set up comms_upload.lua, start screenshot-basic and add the domain to AllowedHosts |
| Cars missing in the Garage | Check the “garage: vehicles table…” console line; custom garages may need garage_vehicles.lua adjusted |
| Wrong framework detected | Set Config.Framework instead of 'auto' |
Set Config.Debug = true for detailed logs.
FAQ
What does it work with?
Qbox, QBCore, ESX, ND_Core or no framework. It detects the most used inventories (ox, qs, qb, ps, lj), voice (pma-voice, saltychat, mumble, toko), dispatch, banking, housing and garages on its own.
Does every player get their own number?
Yes. With a metadata inventory every phone item is a device with its own number and passcode. Without one, there's one phone per character.
How are photos saved?
With screenshot-basic and an upload service: Fivemanage, a Discord webhook or your own endpoint. The key is never sent to players.
Is the code encrypted?
The core is protected with Cfx.re escrow. Config, translations and integration points stay open.
Do I get updates?
Yes, for free. New versions appear in your Keymaster and we announce them on Discord.
What if something doesn't work?
Open a ticket on our Discord with the console error and we'll help you.
Social apps
BannedWords+BannedWordsMode:'censor'replaces the word with****and'block'rejects the text (posts, comments, chats, reviews, articles…).RequireAccount: players pick a username the first time; when off, it's created from their name.BaseFare + km × PerKm; it's charged at the end and the driver gets it minusPlatformFee.CashoutRate.BossGrades) post jobs; applications go to on-duty bosses.News.Jobs) write articles and breaking news is pushed to every phone.