Skip to content

Integrations ​

oxmysql and np_prophandler are required. Everything else below is optional: np_screens checks at call time whether a resource is started, calls it through pcall, and falls back when it isn't there. A missing or broken resource takes a feature away, it never stops np_screens.

Switch a single integration off, even while the resource runs, in config/integrations.lua:

lua
Config.Integrations = {
    np_hud = true,          -- notifications, prompts, "Now showing" notification
    np_phone = true,        -- Cast app, phone notifications, Live Activity
    np_inventory = true,    -- remote item, cinema tickets
    np_payments = true,     -- ticket purchases, paid requests
    np_discord = true,      -- reserved (see below)
    np_character = true,    -- character names
    np_menu = true,         -- third-eye option on TV props
    ox_target = true,       -- target options on surfaces
    ox_lib = true,          -- notification fallback
}

false = never use it. Anything else = use it when it is started.

np_prophandler ​

np_prophandler 1.1.0+ is a hard dependency (in the manifest's dependencies, start it before np_screens). Every object np_screens creates goes through it:

What How
Placement ghost A local prop (createLocal, alpha 180, no collision), removed when placement ends
Live rig (camera or microphone in hand) A synced attachment with the key live_rig: every player sees it on the reporter
Tripods Streamed props (registerProp, id np_screens:<tripodId>) in the reporter's routing bucket, removed on pack. Registered again on np_prophandler:ready

Frameworks ​

Config.Framework = 'auto' picks the first one that is started: es_extended, then qbx_core, then qb-core (qbx before qb, because qbx also provides qb-core). Set 'esx', 'qbcore' (also for qbx) or 'standalone' to force one.

ESX qbx / qb Standalone
Identifier (grants, owner, library) xPlayer.identifier citizenid license:
Name Character first and last name charinfo name np_character's character, else the FiveM name
Jobs (job rules, cinema staff, channel filters) Job, grade, on duty Job, grade, onduty None. Access comes from the admin node, owners and grants
Remote item use RegisterUsableItem CreateUseableItem np_inventory only
Tickets and paid requests ESX accounts Player money Free (unless np_payments runs)

np_admin ​

np_admin holds the permission nodes (np_screens.admin, np_screens.cinema, np_screens.broadcast and per-surface nodes), about 80 live settings, the audit log (category np_screens), the staff actions and staff notifications for content reports and emergency broadcasts. It also sets the theme of np_screens' player UIs. Without it, only the console, the np_admin_fallback identifiers and (on ESX) the np_admin_fallback_groups pass a node check. See Installation → Permissions.

np_hud ​

np_hud shows np_screens' notifications as toasts. Hand-over offers and control requests in the presenter view get Accept / Decline buttons there. With Config.World.prompt = 'auto' the proximity prompt uses np_hud's prompt, and Config.World.nowShowing = 'np_hud' shows "Now showing" as a compact np_hud notification. Without np_hud: ox_lib, then the GTA feed for toasts, the GTA help text for prompts, and /presenter_accept / /presenter_decline for offers.

np_phone ​

np_phone gets the Cast app: screens near you, a mini remote, cast a link, a photo slideshow from your gallery and a Chirp wall, with a Live Activity in the Dynamic Island while you cast. Cast events arrive as phone notifications. Without np_phone, the app and /cast simply don't exist.

np_inventory ​

np_inventory gets the remote item (presenter_remote) and the cinema ticket (cinema_ticket, with the screen and its expiry as metadata) registered by np_screens. Using the remote opens it for the nearest screen, using a ticket activates it for whoever holds it. With ESX or qb inventories, add the remote item to their item list yourself; tickets are then kept on the server only. See Installation → Items.

np_payments ​

np_payments charges cinema tickets and paid audience requests with a receipt, pays the cinema's society and refunds denied or expired requests. Without it the framework's accounts are used, and without a framework both are free. See Cinema → Payments.

np_character ​

np_character supplies the active character's name for "added by" in the queue, grants and the activity log.

np_menu ​

np_menu gets a Screen remote option in its third eye on every TV prop model np_screens knows (Config.World.npMenu).

np_discord ​

np_screens doesn't call np_discord directly. If you map Discord roles to np_admin groups, those players get np_screens' nodes like any other member of the group. The np_discord switch is reserved.

ox_target ​

Every surface gets a target zone with options to open the remote, open the whiteboard editor (on canvas surfaces, with edit) and mute or unmute it for yourself. Without it, a prompt appears within interactDistance and E opens the remote.

ox_lib ​

Notification fallback when np_hud isn't running. @ox_lib/init.lua is deliberately not in the manifest, see Installation.

xsound ​

Sound for embeds that aren't synced (Twitch, Vimeo, web pages) with Config.Audio.strategy = 'xsound'. Without it, np_screens uses its NUI audio fallback, which plays direct audio and video files only. YouTube and video files on screens don't need either: their sound comes from the screen.

np_entertainment ​

np_entertainment uses np_screens the other way round: as an np_addon of np_screens it creates audio channels for its DJ decks, FX pads and the music bus of a venue's sound system, with the venue's speakers as emitters, and crossfades with synced ramps. np_screens needs nothing for it.

Housing ​

Nothing to integrate: screens keep their play state per routing bucket. See Configuration → Routing buckets.