Browse docs

Server: Fake plate server exports

Reference for Server: Fake plate server exports in mechanicjob.

All exports

This page documents supported public integration calls and usage examples. It does not expose or reproduce the resource's internal implementation.

Server Exports

All Advanced Pricing and Billing exports return a result table:

{
    success = true,
    data = {}
}

Rejected requests return success = false and a stable error code. Player identity, mechanic job, grade, permissions, vehicle distance, configured limits, quote state, invoice ownership, and monetary values are always resolved or validated on the server.

Fake plate server exports

These calls let server-side garage and Police integrations resolve, clear, persist, and restore fake-plate state:

ExportArgumentsReturnsPurpose
GetFakePlateStatenetIdtable | nilReturns the current vehicle fake-plate statebag data
ResolveRealPlateForPolicenetId, officerSource?, shouldAudit?table | nilReturns real/display identity and optionally writes the VIN-check audit
ClearFakePlatenetId, reason?booleanRemoves the fake plate and restores the real plate
RestoreFakePlateStatenetId, state, reason?boolean, table | stringValidates and restores persisted fake-plate state
ResolveRealPlateForGarageStorenetIdtable | nilReturns the real/display plate and configured garage-reset policy
local resolved = exports["sky_mechanicjob"]:ResolveRealPlateForGarageStore(net_id)

if resolved then
    print(("Store vehicle under real plate %s"):format(resolved.realPlate))
end

See Fake Plate Integration for the required consumer fxmanifest.lua, the native/helper alternatives, and the complete garage storage and restore lifecycle.