Mech
A full mechanic system: job tablet, tuning bays, servicing and part wear, engine swaps, dyno runs, diagnostics, quality control, warranties, invoices and shop business screens.
Frameworks: Qbox, QBCore, ESX Legacy (auto-detected). Requires: oxmysql, ox_lib, ox_inventory, GR1M_Bridge (free), OneSync, server build 7290+.
#Install
- Install the free
GR1M_Bridgeand this resource. - Add the items in
install/ox_inventory-items.luatoox_inventory/data/items.lua, and copyinstall/images/*toox_inventory/web/images/. - Add to
server.cfgin this order:
ensure oxmysql
ensure ox_lib
ensure qbx_core # or qb-core / es_extended
ensure ox_inventory
ensure GR1M_Bridge
ensure GR1M_Handling # optional, from the Mech Pack
ensure GR1M_Mech
- Admin access:
add_ace group.admin gr1m.mech.admin allow(holders of thecommandace are admins too). - Start the server. Database tables are created automatically (
Config.AutoRunSQL = true).sql/install.sqlis a reference copy.
#Shops
Two vanilla-map shops are set up: Benny's (self-service) and LS Customs (owned, job mechanic). More example shops are in install/example_locations.lua; some sit inside custom MLOs, so check their coords on your map before copying them into Config.MechanicLocations.
Owned shops use your framework jobs: anyone with the shop's job is staff, and jobManagementRanks decides who can manage it.
#Business money
Shop revenue goes to the job's society account through GR1M_Bridge, which supports Renewed-Banking, qb-management and esx_addonaccount. Anything else: fill in BridgeHooks in GR1M_Bridge/custom/server.lua.
#Features
- Tuning bay: repair, performance, cosmetics, respray, wheels and tyres, liveries, extras, neon and xenon, stance, with preview and revert
- Owned-shop orders (customer pays, mechanic installs with animations and skill checks) and self-service shops
- Job tablet: intake, assignment, OBD diagnostics, quotes with customer approval, parts reservations, QC release gate
- Performance simulation: boost, driver assists, thermal limits, tyre wear, gearbox behaviour, EV restrictions
- Dyno runs with before and after proof
- Warranties by date and mileage, comeback jobs, offline-safe notifications, mechanic skill progression, commissions and 30-day analytics
- Nitrous, lighting controller, animated car lifts, manual gearbox
- Invoices saved even when the owner is offline
- Server-side pricing: client cart prices are ignored and every line is re-priced on the server
#Commands
| Command | Who | What |
|---|---|---|
/mechanicadmin | Admin | Orders, overrides, lookup, audit log |
/mechmigrate | Admin | Import data from jg-mechanic tables |
/mechdebug | Admin | Callback timings |
/vfix | Admin | Fix the current vehicle |
#Moving from jg-mechanic
Stop jg-mechanic, start GR1M_Mech, then run /mechmigrate (see also sql/migrate_from_jg.sql). Common jg-mechanic events and exports keep working through server/bridge_jg.lua and client/bridge_jg.lua.
#Config
Everything in config/ and locales/ is editable:
config/config.lua: integrations, tablet, skill checks, servicing, nitrous, stance limits, repairs, shop locationsconfig/config.mods.lua,config.servicing.lua,config.tuning.lua,config.engine_swaps.lua: catalogue dataconfig/config.diagnostics.lua,config.qc.lua: scan and release thresholdsconfig/config-sv.lua,config/webhooks.lua: server-only settings and Discord webhook URLslocales/en.lua: every player-facing string
Support: https://discord.gg/m38m33G6jK
GR1M