Skip to content

np_phone v0.1.0 ​

An iOS-styled roleplay phone for FiveM (qbx / qb / ESX, pma-voice / SaltyChat / YACA). It has a grayscale cloud wallpaper, glossy grey squircle icons without labels, single-colour tints for "loud" apps, the server ID next to the clock, and a floating dark dock.

Home & lock screen

Shell ​

  • Lock screen with the in-game clock, weather and widgets. Optional passcode: hashed on the server, rate-limited, and Config.EnforcePasscode rejects app RPCs until the phone is unlocked.
  • Home pages with a drag-to-rearrange edit mode: move apps across pages (dropping onto an app inserts it and shifts the rest) and reorder the widgets. An App Store with apps gated by item, job or duty, plus third-party iframe apps.
  • Control Center: airplane mode, DND, Wi-Fi/Bluetooth, brightness/volume, radio, flashlight, streamer mode.
  • Dynamic Island with Live Activities (calls, group jobs, timers).
  • Notifications: banners, a notification center and deep links into apps.
  • Cursor and walk mode: the phone opens in cursor mode (cursor on, movement disabled, held in both hands). Left Alt switches to walk mode (cursor off, keep walking or driving one-handed) and back. Typing always captures the keyboard.
  • In-game stage in the bottom-right, with ring mode: the phone peeks up for an incoming call and Y / Backspace answers or declines.
  • Full-screen overlay mode for the camera HUD.
  • Apps stay mounted under the lock screen for Config.KeepAppMinutes.
  • Network: optional signal and coverage from a network provider addon such as np_cellnet: real bars and 5G / LTE / 3G / E, SOS and roaming, actions gated by what they need, an outbox that sends texts on reconnect, call quality with dropped calls, Wi-Fi Calling and Low Data mode. Without a provider every phone has full service. See Network.
  • Screen mirror: players next to you see a generic version of your screen on the phone prop (which app, a chat skeleton, a call screen, the lock screen), never its content: the server publishes only coarse state. A privacy glass item and a Hide screen from others setting reduce it to a dark glow. See Screen mirror & privacy glass.
  • Custom handset prop np_phone_handset in the player's Settings → Case colour, with a fallback to the vanilla phone (Phone prop).
  • Liquid Glass: an optional iOS-style translucent material for the whole phone, on by default. Players switch it off under Settings → Display & Size for the classic frosted look.

Apps ​

Area Apps
Comms Phone, Messages, Contacts, Darkchat
City Wallet, Mail, Garage, Groups, Jobs, Info
Social & services Chirp, Yellow Pages, Maps, Calendar, Stocks, Transit, Weather, News
Media Camera, Photos, Notes, Files
System Settings, App Store, Clock (alarms, stopwatch, timer), Calculator

See All apps for a one-line summary of each app. Other resources add their own, for example the Passwords app of np_passwords (keychain, 2FA codes, shared vaults), or the CellNet app of np_cellnet, an addon that adds towers, carriers and signal.

Integrating from other resources ​

lua
-- server
exports.np_phone:notify(src, { app = 'mail', title = 'Bank', body = 'Your loan was approved.' })
exports.np_phone:sendMail(src, { sender = 'Dynasty 8', subject = 'Your new home', body = '...' })
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

See Exports for the full list.

np_admin ​

Optional. With np_admin running, Chirp and Yellow Pages moderation uses the node np_phone.admin, staff moderation is logged (category np_phone), 43 options are editable in np_admin (Configuration) and two staff tools are added (Chirp verification, Phone number). See Installation → Permissions.

Next steps ​