All products

np_phone

An iOS-styled roleplay phone for FiveM: 26 apps, a lock screen with widgets, a Dynamic Island with Live Activities, a Control Center and an App Store. Calls run over your voice resource, and the phone peeks up for an incoming call while it's put away.

v0.1.0qbx · qb · ESXRequires np_prophandlerpma-voice · SaltyChat · YACA
Price TBAStore link follows at release
Installation guideDocumentation
Version
0.1.0
Frameworks
qbx, qb, ESX
Dependencies
oxmysql, np_prophandler
Database
MySQL, tables created on first start
Voice
pma-voice, SaltyChat, YACA
Optional
ox_inventory (phone item), screenshot-basic (camera), np_cellnet (signal and coverage)
Apps
26 built in, plus your own
Opens with
F1 or /phone, rebindable
Lock screen: in-game clock, weather, bank and battery widgets, notifications from Chirp and Messages, flashlight and camera
Lock screen: in-game clock, weather, bank and battery widgets, notifications from Chirp and Messages, flashlight and camera

Taken from the real NUI in the browser with mock data.

Included apps

26 apps, each with its own server backend. Darkchat and News are installed from the App Store, everything else is on the home screen.

Comms

  • Phone: keypad, favourites, recents with a missed badge, hidden caller ID (#31#), speaker and mute, payphones, a 3D ringtone nearby players hear.
  • Messages: 1:1 and group chats, photos, locations, live location, money transfers, contact cards, voice notes, read receipts, business threads.
  • Contacts: favourites, colours, a block list, share a contact or your card with the nearest player.
  • Darkchat: channels, random aliases, expiring messages. Needs a VPN item.

City

  • Wallet: bank and cash, transfers (also to offline players), payment requests, business invoices, history, ID card and licences, show ID to a nearby player.
  • Mail: folders, unread badge, compose to player addresses, multiple accounts with sign-in and quick switching, action buttons that set waypoints or trigger script events.
  • Garage: vehicles with fuel, engine and body, track, valet, impound release, shared keys.
  • Groups: create, invite, join requests, ready check, group jobs with stages and live progress.
  • Jobs: current job, duty toggle, job center with an Apply mail.
  • Info: character details, number, email and licences, aware of streamer mode.

Social and services

  • Chirp: feed for you, following and trending, replies, likes, reposts, hashtags, mentions, profiles, anonymous #tips, multiple accounts per character, a blue check that admins hand out.
  • Yellow Pages: paid ads with expiry, categories, businesses open now (on-duty players).
  • Maps: the real GTA V map with pan and zoom, Cayo Perico and map mod layers, saved places, shared locations, POIs, waypoints.
  • Calendar: events, invites to other numbers, reminders, a lock and home widget.
  • Stocks: server-side prices and crypto, buy and sell from the bank.
  • Transit: lines and departures on the in-game clock, nearest stop, tickets.
  • Weather: live GTA weather, an hourly in-game forecast, the upcoming weather change, wind, UV and more.
  • News: journalists publish articles, with an optional Breaking News notification.

Media

  • Camera: the GTA phone camera with a full-screen HUD and selfie flip. Uploads go through FiveManage, the key stays on the server.
  • Photos: library, albums, favourites, viewer, and a share sheet to AirDrop, Messages, Chirp, Notes or the wallpaper.
  • Notes: folders, pinned notes, autosave, share nearby.
  • Files: documents, two-party contracts, licences and receipts sent by other resources.

System

  • Settings: airplane mode, streamer mode, hidden caller ID, ringtones, wallpapers, passcode, phone case colour, Liquid Glass.
  • App Store: optional and third-party apps.
  • Clock: alarms on the in-game clock, stopwatch, timer.
  • Calculator.

What's in it

Around the apps sits a full phone shell that behaves the same in every app.

Lock screen and home

  • Lock screen with the in-game clock, weather and widgets.
  • Home pages with a drag-to-rearrange edit mode for apps and widgets.
  • Liquid Glass: an optional iOS-style glass material for the whole phone. Players can switch back to the classic frosted look.
  • Optional passcode, hashed on the server and rate-limited.
  • The open app stays mounted under the lock screen for a few minutes (Config.KeepAppMinutes).

Dynamic Island

  • Live Activities for calls, group jobs and timers, visible in any app.
  • Notification banners drop from the island, with a notification center and deep links into apps.
  • Your own scripts can show Live Activities from Lua.

In game

  • The phone sits bottom-right, held as a custom phone model in your case colour, with animations (in-car clips included).
  • Cursor and walk mode: the phone opens with the cursor, held in both hands. Left Alt switches to walk mode, so you keep walking and driving with the phone open.
  • Ring mode: the phone peeks up for an incoming call while it's put away. Y answers, Backspace declines.
  • Opens with F1 or /phone, rebindable by players.

Control Center

  • Airplane mode, DND, Wi-Fi and Bluetooth, brightness and volume.
  • Radio tile, flashlight and quick app launch.
  • Streamer mode masks numbers and names across the phone.

App Store

  • Gate apps by item, job, grade or duty, e.g. Darkchat behind a vpn item.
  • Other resources can add their own apps, built with any web stack.
  • A React and Vite template and a JS SDK for notifications, pickers, Live Activities and server calls.

Server-side checks

  • All money, item and ownership checks happen on the server.
  • Per-player rate limit on server calls.
  • Upload tokens and webhooks live in server.cfg convars and never reach clients.
  • Optional: reject app calls until a passcode-protected phone is unlocked.

Signal and coverage (with np_cellnet)

  • With np_cellnet, real bars, 5G / LTE / 3G / E, SOS and roaming in the status bar, Control Center and Settings → Cellular.
  • Texts wait in an outbox and send themselves on reconnect. Photos and transfers need a better connection.
  • Calls are graded by the weaker side, crackle on one bar and drop on lost service. 911 always works unless you're jammed.

Network provider API

  • A provider sets each player's network state with setNetwork. Without one, every phone has full service.
  • Every server call needs sms, voice, data-lite or data, with readable errors in every app. Your apps declare theirs with setRpcNeed.
  • Addons attach in any start order and are cleaned up when they stop.

The phone in your hand

People standing next to you see what you're doing on your phone, but never what's on it.

What bystanders see on the phone prop: home screen, a message thread, an incoming call, the camera, wallet, maps, a custom app, the lock screen, and the two privacy glass modes, all as placeholder screens
The generic screens others see, rendered in the browser. Placeholders only.

Screen mirror

  • What others see: players within a few metres see a live, generic screen on the phone in your hand: texting, on a call, maps, the home screen or the lock screen, in your light or dark theme and brightness.
  • Never the content: the server only publishes which app and what kind of screen. No names, messages, numbers or locations leave it, so a modified client has nothing to reveal.
  • Privacy glass: a privacy_glass item, checked on the server, blacks the screen out or narrows the viewing angle so only someone looking over your shoulder sees the app.
  • Hide Screen from Others in Settings turns it off for one player. Servers can switch it off, exclude apps, or hide it from scripts (e.g. undercover jobs).
  • Nothing runs while no phone is open nearby; at most two screens are drawn at once.

The handset

  • Custom phone model (np_phone_handset) built to match the UI: Dynamic Island with the front camera, triple camera with flash, and the side buttons where the phone draws them.
  • Case colour: the frame and back follow the swatch picked in Settings, in 7 colours, and other players see the same colour.
  • Three LODs, a flat glass screen for the mirror, and the vanilla phone as a fallback.
The np_phone_handset model from the back in its seven case colours: silver, black, pink, red, blue, gold and green
The seven case colours. Studio renders of the model, not in-game screenshots.

Set it up

Compatibility

Framework and voice are detected when the resource starts. You can also set them by hand in the config.

KindSupported
Frameworkqbx_core, qb-core or es_extended (ESX Legacy). One is required
Databaseoxmysql (required). Tables are created on first start, all prefixed phone_
Voicepma-voice, SaltyChat, yaca-voice, or none (calls are then UI-only)
InventoryOptional phone item and item-gated apps through ox_inventory, otherwise the framework inventory
Camerascreenshot-basic, uploads to FiveManage (recommended), a Discord webhook, or none
MigrationImports data from lb-phone, qb-phone, YSeries, QS Smartphone PRO and High Phone (legacy)

Installation

The database tables are created automatically. You build the NUI once with Node 18 or newer.

  1. Put the resource in resources/ as np_phone.
  2. Build the NUI:
    cd web && npm ci && npm run build
  3. Start it after its dependencies:
    ensure oxmysql
    ensure qbx_core         # or qb-core / es_extended
    ensure pma-voice        # optional: or saltychat / yaca-voice
    ensure ox_inventory     # optional
    ensure screenshot-basic # optional: camera
    ensure np_prophandler   # required
    ensure np_phone
  4. Phone item (only with Config.RequireItem = true): add a phone item to your inventory. Darkchat needs a vpn item.
  5. Camera: set an upload provider and key in server.cfg. Use set, not setr, so it isn't sent to clients:
    set np_phone:upload_provider "fivemanage"   # or "discord" / "none"
    set np_phone:fivemanage_token "your-api-key"
    set np_phone:passcode_pepper "long-random-string"
  6. Optional: let admins delete other players' Chirps and ads and hand out the Chirp blue check (/chirpverify) by granting np_phone.admin to their group in np_admin.

For your own scripts

About 120 exports on the server and client: notifications, mail, invoices, files, group jobs, calls, Live Activities, App Store installs and more. Hooks let you veto actions, and bridge overrides plug in your own banking, garage or voice script.

-- server
exports.np_phone:notify(src, { app = 'mail', title = 'Bank',
  body = 'Your loan was approved.' })
exports.np_phone:createInvoice(src, { sender = 'LSPD', senderJob = 'police',
  amount = 350, reason = 'Speeding' })
exports.np_phone:addFile(src, { type = 'document', title = 'Property Deed',
  issuer = 'Dynasty 8' })

-- client
if exports.np_phone:isOpen() then exports.np_phone:close() end

Questions

Does it run without a framework?

No. np_phone needs qbx_core, qb-core or es_extended, plus oxmysql for the database.

Do calls work without a voice resource?

The call screens work, but there's no audio. Start pma-voice, SaltyChat or yaca-voice before np_phone for real calls.

Do players need a phone item?

Only if you turn it on with Config.RequireItem = true. Then a player needs one of Config.ItemNames to open and use the phone.

Can I move over from my current phone?

Numbers, contacts, messages, calls, photos, notes, mail and more can be imported from lb-phone, qb-phone, YSeries, QS Smartphone PRO and High Phone (legacy) with the console command np_phone_migrate.

Where are photos stored?

With an upload provider: FiveManage (recommended, the server hands out short-lived upload URLs so the key stays on the server) or a Discord webhook. Set it to none to turn uploads off.

Is there cell signal?

Not by itself: without a network provider every phone has full service. Add np_cellnet for towers, carriers, dead zones and jammers, or write your own provider against the network API.

Can I add my own apps?

Yes. Register them from Lua, build the UI with any web stack and add them to the App Store with an optional item, job or duty gate.

Works well with

Build it once, ensure it, done.

Installation, configuration, every app and every export are in the docs.

Install np_phone