Documentation
Base Resource

mech

VCore mechanic servicing, customisation, diagnostics, work orders, stance, nitrous and dealership test drives. - config/main.lua — workshops, prices, servicing, stance, nitrous and integrated systems. - config/customization.lua — modification catalogue and menus. Drive into configured bays and use their E prompts. /workorders, /vehiclediagnostics, /stance and /stancepresets expose their respective systems. Nitrous controls are configured in config/main.lua. Stance requires stancerkit; nitrous requires nitrous. Performance work uses carecu, carbrakes, cartransmission, carsuspension and carturbo where configured. Vehicle changes are stored in VCore-namespaced vehicle properties. Restart mech after configuration changes.

v1.0.0VCore FrameworkGameplay systems

Introduction

VCore mechanic servicing, customisation, diagnostics, work orders, stance, nitrous and dealership test drives. - config/main.lua — workshops, prices, servicing, stance, nitrous and integrated systems. - config/customization.lua — modification catalogue and menus. Drive into configured bays and use their E prompts. /workorders, /vehiclediagnostics, /stance and /stancepresets expose their respective systems. Nitrous controls are configured in config/main.lua. Stance requires stancerkit; nitrous requires nitrous. Performance work uses carecu, carbrakes, cartransmission, carsuspension and carturbo where configured. Vehicle changes are stored in VCore-namespaced vehicle properties. Restart mech after configuration changes.

7Client Lua
6Server Lua
4Exports
42Events
0SQL tables

No manifest UI page detected.

Dependencies & References

ResourceDetected asPackage status
bankingManifest dependencyIncluded in Base
coreManifest dependencyIncluded in Base
fuelManifest dependencyIncluded in Base
inventoryManifest dependencyIncluded in Base
oxmysqlManifest dependencyExternal / prerequisite
vehiclelocksManifest dependencyIncluded in Base
vehicleshopManifest dependencyIncluded in Base
logsReferenced by sourceIncluded in Base
speedlimiterReferenced by sourceIncluded in Base
vcore_phoneReferenced by sourceIncluded in Base

Cross-resource export calls

ResourceFunctions called
bankingBankDeposit
coregetCoreObject
fuelInitializeVehicle
inventoryAddItem, DrainStash, GetItemAmount, GetPlayerItems, PeekStash, RemoveItem, RemoveItemAtSlot, UseItemCharge
logsLog
speedlimiterClearDriverLimit, SetDriverLimit
vcore_phoneSendPhoneMail
vehiclelocksGrantTemporaryVehicleKey, HasKey, HasVehicleKey
vehicleshopGetVehiclePrice

Installation / Start Order

The supplied server.cfg enables this resource in the Gameplay systems stage at enabled-resource position 64. Base installation also depends on the global prerequisites and consolidated VCORE_INSTALL.sql documented in Getting Started.

server.cfg
ensure mech

Configuration

Config files

  • No dedicated config file detected.

Top-level config keys detected

AllowCustomizationPreviewAvailableCustomizationSetsAvailableServicingSetsAvailableUpgradeLevelsCurrencyCustomizationLocationsCustomizationModelBlacklistCustomizationPriceMultiplierLimitsDefaultVehiclePriceEjectionSettingsEnhancementsHarnessUseTimeIntegratedMenuCamSpeedPublicCustomizationMultiplierResprayPaintProcessTimeResprayPriceResprayPriceMultiplierLimitsServicingLocationsServicingPartsSpraycanApplyTimeStallSettingsVehicleRepairJobPaymentVehicleRepairPriceMultiplierVehicleRepairPublicMultiplierVehicleRepairTimer

Events, Exports & Callbacks

Exports

Client exports1
  • HasAccessToServicingMenu
Server exports3
  • EndTestDrive
  • GetVehicleSystems
  • StartTestDrive

Callbacks

Server callbacks7
  • mech:server:beginNitrousService
  • mech:server:configureNitrous
  • mech:server:createUpgradeQuote
  • mech:server:listWorkOrders
  • mech:server:stancePresets
  • mech:server:vehicleDiagnostics
  • mech:server:vehicleSystems

Registered network events

Client registered events33
  • VCORE:Client:OnPlayerUnload
  • core:resetUi
  • mech:client:UseRepairItem
  • mech:client:applyFakePlate
  • mech:client:applyRespray
  • mech:client:attemptFakePlate
  • mech:client:attemptRemovePlate
  • mech:client:beginVehicleInstall
  • mech:client:chargeCustomerRespray
  • mech:client:chargeCustomerVehicleRepair
  • mech:client:chargeCustomerVehicleUpgrades
  • mech:client:nitrousServiceComplete
  • mech:client:openColourStation
  • mech:client:openDiagnostics
  • mech:client:openNitrousColours
  • mech:client:openStanceEditor
  • mech:client:openStancePresets
  • mech:client:openVehicleMods
  • mech:client:openVehicleRespray
  • mech:client:openWorkOrders
  • mech:client:receiveUpgradeQuote
  • mech:client:removeFakePlate
  • mech:client:repairDegHeatlh
  • mech:client:repairKitVehicle
  • mech:client:repairVehicle
  • mech:client:repairVehiclePart
  • mech:client:returnVehicleDeg
  • mech:client:saveVehicleUpgrades
  • mech:client:testDriveEnded
  • mech:client:testDriveStarted
  • mech:client:useSpraycan
  • mech:client:vehicleEjection
  • mech:client:vehicleInstallComplete
Server registered events9
  • mech:server:cancelUpgradeQuote
  • mech:server:completeNitrousService
  • mech:server:completeVehicleInstall
  • mech:server:payUpgradeQuote
  • mech:server:returnTestDrive
  • mech:server:saveStance
  • mech:server:setNitrousPurge
  • mech:server:stopNitrous
  • mech:spraycanStash

Commands

Client commands15
  • +nitrous
  • +nitrousflowdown
  • +nitrousflowup
  • +nitrouspurge
  • -limiter
  • -nitrous
  • -nitrousflowdown
  • -nitrousflowup
  • -nitrouspurge
  • -seatbeltEnabled
  • returntestdrive
  • stance
  • stancepresets
  • vehiclediagnostics
  • workorders

Database / SQL

No resource-local SQL file was detected.

No CREATE TABLE statements detected inside this resource.

The root Base package also ships the consolidated VCORE_INSTALL.sql.

Source Layout

AreaDetected files
Client Lua7
Server Lua6
Other/shared Lua3
JavaScript0
HTML0
CSS0
SQL0

Troubleshooting

  • Confirm all manifest dependencies are started before mech.
  • Check the supplied start-order note above; resources absent from server.cfg need an explicit decision before enabling.
  • If database queries fail, import the consolidated Base SQL and any resource-local SQL listed above.
  • If the UI fails, verify the resource's NUI files and ui_page when one is declared.