Skip to content

Integrations & compatibility ​

np_surveillance depends on oxmysql and np_prophandler and on none of the other np_* resources. Each other sibling has one adapter file under integrations/ that declares the exports it calls and wraps them with a built-in fallback. At start one line per sibling is printed: active, fallback: …, missing export <name>, off in config or not running. Siblings may start or stop later: the status is re-evaluated and what depends on them is registered again. Config.Integrations.<name> = false forces the fallback.

Framework and inventory ​

Supported, in the order they are detected Without one
Framework es_extended (best-tested), qbx_core, qb-core Standalone: license identifiers, no economy, no job roles. Only staff can reach cases
Inventory np_inventory (best-tested), ox_inventory, qb-inventory (and the ps and lj forks) none: no items. The console opens by command, key or terminal

es_extended needs nothing special; the framework supplies the job, grade and duty flag behind the roles, identifiers and names. Vehicle ownership for dossiers is read from owned_vehicles (es_extended) or player_vehicles (qb-core, qbx_core).

np_* siblings ​

Sibling With it Without it
np_inventory The ops laptop, the seven field devices and the case file as items registered at runtime, with serial and evidence metadata (a found device comes back with its serial and case id) ox / qb inventory bridge, else none
np_hud Toasts, progress bars (planting, searching) and prompts np_surveillance's own NUI toasts, prompt and progress
np_menu Context options on vehicles for Plant a GPS tracker and Search for devices ox_target, then qb-target, then np_surveillance's own prompt and E
np_phone The Lines module: calls and messages to tap, notifications when a tap starts, is lifted or expires, phone numbers and contacts in dossiers No taps, no SMS mirror; notifications become toasts
np_identification Documents in dossiers; the combined warrant provider (Warrants) No documents, no provider
np_character Character names and birth data in dossiers and the audit log Framework names
np_tattoos Distinguishing marks in dossiers No marks
np_gangs Gang and rank in dossiers; the turf name on known locations No gang data
np_banking The bank movement summary of a subject, only while a bank-records warrant covers them No bank data
np_prison Its warrant count in the combined np_identification provider Only np_surveillance's warrants
np_legal Central warrant docket and signing; pending legacy requests are linked when both resources are ready, and local judge decisions are disabled while legal is active Local np_surveillance judge flow
np_clothing The print kit knows if a subject wears a mask Subjects are never masked
np_mechanic The real plate behind a fake one; a kill-switch jammer blocks GPS pings Plates at face value, no jammer
np_screens Push the case map and a case file to an in-world screen No screens
np_minigames The skill check for planting a device A built-in minigame
np_mdt The highest alerts as a neutral dispatch note (below) No dispatch
np_discord Staff by Discord role; log lines for the audit log, the highest alerts, warrants and case-file exports Framework groups and Config.Admins only
np_admin Permission nodes, live settings (Surveillance), the audit log (category surveillance), the server theme Own staff (framework groups, Config.Admins, Discord roles), the config files as written
np_cctv Cameras as an intel source; shared footage as intel (below) Nothing: np_surveillance never needs it
np_spy-pigeon Birds as an intel source and the intel they file (below) Nothing: np_surveillance never needs it

np_surveillance also ships adapters for np_payments, np_helicam, np_passwords and np_flightradar and probes them at start, but no tool of this version uses them yet.

np_prophandler ​

A hard dependency (fxmanifest dependencies), not an adapter: no Config.Integrations key, no fallback. The server registers one streamed prop per active bug, laser mic and USB implant (np_surveillance.device.<id>) with registerProp (updateProp when the id is in use), removes it with removeProp when the device goes, and registers all of them again on np_prophandler:ready (np_prophandler 1.1.0+). np_prophandler deletes them when np_surveillance stops.

Voice ​

Listening in on a live phone call and boosting the voices around a bug or laser mic need pma-voice. SaltyChat and YACA are not supported for that: taps then file the metadata of a call only, and a bug logs voices detected intel instead of boosting the volume.

np_mdt ​

np_mdt is the MDT resource outside the np_* set. Alerts at or above Config.Ops.mdt.minSeverity (5) call its ReportCall with a neutral hint that carries the case number and the position, never names, and ops.mdt.enabled can turn it off (Ops console).

np_discord log channels ​

Channel Gets
audit Every audit entry
ops Alerts at or above Config.Ops.discord.minSeverity (5)
dossier Case-file exports (Config.Dossier.export.discordChannel)
warrants Every request, decision, amendment, revocation, expiry and setting change (Config.Warrants.discord.channel)

Building on np_surveillance ​

np_surveillance has one public surface, described on Exports, events & hooks. It is built so that other resources feed it and read it, and it never imports them. Two do today.

np_cctv ​

np_cctv puts security cameras in the world. When np_surveillance runs, np_cctv:

  • registers the intel source np_cctv (label CCTV) at start and again whenever np_surveillance restarts, and announces every camera of the sites whose kind is in its Config.Share.mapKinds (shops and other by default; homes and police sites stay private) with pingSource;
  • hands footage to a case: Hand to police on a clip files an intel entry of kind cctv_event on the chosen case (addIntel), next to the USB stick in the evidence stash.

Footage reaches a case when an investigator or owner hands it over, because that is when the case is known. See np_cctv → Integrations.

np_spy-pigeon ​

np_spy-pigeon lets an officer fly a bird. It requires np_surveillance (it is a declared dependency) and is a thin addon: np_surveillance owns the cases, subjects, dossiers and the console. np_spy-pigeon:

  • offers the officer their open cases at the loft (listCases) and checks access on launch (canAccess);
  • registers the source np_spy-pigeon (layer bird) and pings it while a bird flies;
  • files what the bird sees on the chosen case with addIntel: photos as document, plate reads and marks as sighting, directional-mic reports as audio, and tags a marked person as a subject with tagSubject.

Everything it files is subject to the case's warrants. See np_spy-pigeon → Integrations.