Documentation
Optional Addon

Vcore-mot

Optional VCORE vehicle inspection addon. It uses Core prompts, menus, progress UI, notifications and currency formatting, with server-issued inspection sessions and addon-owned MOT records. 1. Import `sql.sql` (the table is also created safely on resource start). 2. Merge `install/vcore_items.lua` into Core shared items. It reuses the existing `printer_certificate.webp` inventory image, so no extra image is required. 3. Configure station jobs, bay/printer positions, test timings, legality rules and price. 4. Start `mot` after `core`, `inventory`, `oxmysql` and `polyzone`. The addon does not need `mech` and does not make any Base resource depend on MOT. Use `MOT:Client:OpenMOTMenu` from a police radial action, or `/checkmot`, to query

Introduction

Optional VCORE vehicle inspection addon. It uses Core prompts, menus, progress UI, notifications and currency formatting, with server-issued inspection sessions and addon-owned MOT records. 1. Import `sql.sql` (the table is also created safely on resource start). 2. Merge `install/vcore_items.lua` into Core shared items. It reuses the existing `printer_certificate.webp` inventory image, so no extra image is required. 3. Configure station jobs, bay/printer positions, test timings, legality rules and price. 4. Start `mot` after `core`, `inventory`, `oxmysql` and `polyzone`. The addon does not need `mech` and does not make any Base resource depend on MOT. Use `MOT:Client:OpenMOTMenu` from a police radial action, or `/checkmot`, to query

Version: 1.0.0Optional Resource7 Lua files1 SQL files

Exports

serverGetMOTRecord

Export available from this resource. Check the resource notes and expected parameters before integrating it.

serverIsMOTValid

Export available from this resource. Check the resource notes and expected parameters before integrating it.

Callbacks

servermot:server:beginStep

Callback available from this resource. Confirm parameters and return values before using it.

servermot:server:cancelStep

Callback available from this resource. Confirm parameters and return values before using it.

servermot:server:completeStep

Callback available from this resource. Confirm parameters and return values before using it.

servermot:server:getRecord

Callback available from this resource. Confirm parameters and return values before using it.

servermot:server:printCertificate

Callback available from this resource. Confirm parameters and return values before using it.

servermot:server:queueCertificate

Callback available from this resource. Confirm parameters and return values before using it.

servermot:server:startInspection

Callback available from this resource. Confirm parameters and return values before using it.

Registered network events

clientMOT:Client:OpenMOTMenu

Registered event for this resource. Confirm the expected payload and intended scope before using it.

clientmot:client:viewCertificate

Registered event for this resource. Confirm the expected payload and intended scope before using it.

Commands

  • /checkmot (client)
  • /printmot (client)

Database / SQL

SQL files

  • sql.sql

Detected tables

  • vehicle_mot

Troubleshooting

  • Confirm every manifest dependency above is started first.
  • Import the SQL where the resource includes database files.
  • Use the exact resource folder name shown on this page unless you intentionally change both the folder and configuration.
  • Do not copy internal event names into integrations without checking their implementation.