Skip to content

Integrations ​

All sibling resources are optional. Adapters check resource state and use protected calls; absence means fallback or a disabled dependent feature. Startup status reports that a resource is present, not that every external export has been exercised successfully.

Provider Racing integration Without it
np_admin Permissions, settings, staff actions, audit log, theme Configured identifiers/framework groups
np_inventory Primary item bridge ox/qb bridge or no item flows
np_phone Racing store app and authenticated RPC aliases Local racing NUI
np_hud Race HUD coordination Racing overlay alone
np_mechanic Saved parts/tune over server-configured model baselines Configured baseline; unsupported models excluded from ranked/queue
np_prophandler Track props Prop-dependent display reduced
np_colshape Optional zone bridge Built-in geometry checks
np_banking, np_payments Compatibility adapter seams; current charge/payout uses framework money Configured framework money APIs
np_dispatch Planning-only; racing emits np_racing:server:dispatch Supply a server-owned listener for your real dispatch system
np_cctv, np_surveillance Incident/evidence adapter seams Local racing flags/logs
np_screens Venue broadcast adapter seam No venue screens
np_discord Optional role fallback/logging seams Local permission fallback
np_faction, np_gangs Social-group adapter seams Racing-owned crew data
np_garages, np_vehiclekeys Existing vehicle-related adapter seams Player brings an existing vehicle
np_menu, np_npchandler Optional interaction/discovery adapter seams Racing's direct interfaces

An adapter seam is a compatibility boundary; consult the current repository README for completed gameplay consumers. Optional provider signatures need live-server verification with the specific sibling versions you deploy.

Vehicle ownership ​

The shared vehicle handler is planned. Current code supports existing player vehicles and bounded allowlisted rentals through its local NpRacing.Services.Vehicles service. Rentals are temporary, cleaned up with their event and grant no database ownership. The shared handler should replace that local service. Pink slips remain unavailable: np_garages/np_vehiclekeys expose no verified ownership-transfer contract in this checkout.

Phone ​

The app id is racing; the np_phone adapter registers the store entry and a restricted set of racing.<method> aliases. Calls map to the same server dispatcher and do not grant additional permissions. The frontend builds web/dist/phone.html. Item gating may require racing_tablet. Registered aliases are restricted; do not assume every backend method is exposed through the phone. Queue aliases racing.queueStatus, queueJoin, queueLeave and queueVote use the same backend status/join/leave/vote contracts.

Dispatch and settlement ​

Subscribe to np_racing:server:dispatch and route incident payloads to your deployed dispatch system. Officer checks, speed-camera heat, NPC discovery and venue-screen rendering are not implemented.

Prize intents retry on login, but framework money APIs do not accept idempotency keys. Reconcile ambiguous delivery after a crash between deposit and SQL acknowledgement before retrying it.

Custom resources ​

Use exports and hooks instead of internal net events. Add race types through registerRaceType; the current checkout has no vendored np_addon library, so do not assume an np_addon lifecycle. Permission checks, payouts and ownership operations stay server-owned.

Received crew invitations ​

Phone/tablet crew views list the authenticated player's unexpired invitations with crew names and expiry. Accept submits the stored recipient token; players do not need a numeric crew ID. The phone alias racing.crewInvites maps to crew.invites, and acceptance uses racing.joinCrew / crew.join with server verification of recipient, token and expiry.