Skip to content

Integrations ​

Required ​

  • np_vehiclehandler owns persistent spawning and despawning. np_garages never creates a second vehicle if handler operations fail. The handler must persist custody, suppress restart materialization and proximity streaming while held, and reject ordinary spawns until release authority clears the hold.
  • ESX + oxmysql provide the first supported framework and database path. ESX owned_vehicles owns vehicle identity and properties; np_garages owns availability, sharing, and audit state.

Optional ​

  • np_phone retains the existing Garage app. np_garages overrides its vehicle read model and can receive the valet handoff when native phone spawning is disabled. np_phone sends release requests only when np_impound is running; np_garages does not take release authority.
  • np_dealership assigns new vehicles through AddVehicle and registers an already spawned pickup through RegisterOutVehicle. Precise vehicle classes are passed from its catalog.
  • np_housing may register the server-only provider v1 for virtual resident bays. The integration checks the canonical vehicle schema and resident access, then routes store/take through the same np_garages and np_vehiclehandler pipeline. Missing or incompatible provider state leaves housing listing read-only.
  • np_faction may expose GetFleetVehicles(src) for a separate member-scoped read-only Fleet tab. It does not transfer fleet ownership or grant checkout, storage, or impound release.
  • np_vehiclekeys registers retrieved vehicles and grants keys.
  • np_payments charges a nonzero configured retrieval or transfer fee.
  • np_admin handles garage administration and audit visibility; np_colshape provides interaction zones.
  • np_mechanic can provide fake-plate resolution through GetRealPlate; tow mechanics belong to the mechanic capability pack, while impound tow-contract intake belongs to np_impound and can be dispatched through np_dispatch.
  • np_faction fleet ownership and recovery are future explicit handoffs. Garages must not recover an impounded fleet vehicle or change fleet ownership.

Impound contract ​

np_impound owns lots, records, holds, fees, checks, release, auction, and fleet recovery. Garages store only a display projection and block store, retrieve, transfer, sharing retrieval, and phone valet while active custody exists. The phone Garage release path must be received by np_impound. If np_impound is absent, the release action is unavailable.

A custody update can return vehicle_transition_in_progress during a store or retrieval claim. np_impound retries until accepted. An active hold must be synced from np_impound before normal garage movement becomes available after startup.

Ownership handoff journal ​

The dealer ownership reservation is a separate saga for retail title transfers and dealership auction claims. Framework ownership, key identity, and garage owner converge under one token. np_garages stores the exact token/plate/new-owner receipt atomically with its owner update, so dealer recovery can safely replay after its journal update fails, even if a later impound hold is active. Apply garage migrations 002 and 003 before enabling this path. It currently requires the ESX owned_vehicles bridge; qbx/qb handoffs remain disabled until a matching garage bridge exists. This does not implement np_impound auctions or fleet recovery.