Trajectcontrole Installation & Setup
Setting up MTM-TRAJECTCONTROLE on your FiveM server requires only a few minutes. The resource is completely standalone-ready and utilizes automatic file-based JSON storage, meaning no SQL database setup or migrations are necessary.
Prerequisites & Dependencies
Section titled “Prerequisites & Dependencies”MTM-TRAJECTCONTROLE is completely standalone and has no mandatory dependencies. Optional resources can be added to expand functionality:
| Resource | Requirement Level | Purpose |
|---|---|---|
MTM-MATRIXBORDEN or MTM-MATRIXDEV |
Optional | Dynamic speed limit synchronization with overhead highway gantries |
MTM-ANPR |
Optional | Automated dispatch forwarding for speeding violators and off-road evaders |
| Billing / Banking Script | Optional | Automatic fine collection (ESX, QBCore, Qbox, okokBilling, Renewed, pefcl) |
Installation Steps
Section titled “Installation Steps”-
Extract Resource Files Extract the downloaded folder directly into your server’s
resources/directory. Ensure the folder is named exactly:resources/MTM-TRAJECTCONTROLE/ -
Verify Folder Hierarchy Confirm that the resource contains the following internal structure:
MTM-TRAJECTCONTROLE/├── client/│ ├── camera_props.lua│ ├── creator.lua│ ├── effects.lua│ ├── gates.lua│ └── main.lua├── data/│ └── trajecten.json├── server/│ ├── billing.lua│ ├── evasion.lua│ ├── main.lua│ ├── matrix_sync.lua│ └── storage.lua├── ui/│ ├── index.html│ ├── style.css│ └── app.js├── config.lua└── fxmanifest.lua -
Configure Boot Sequencing in
server.cfgAdd MTM-TRAJECTCONTROLE to yourserver.cfg. If you use optional integrations like matrix signs or billing, place them before MTM-TRAJECTCONTROLE:# Optional integrations (start before Trajectcontrole if used)ensure MTM-MATRIXDEV # or MTM-MATRIXBORDENensure MTM-ANPRensure okokBilling # or your preferred billing / phone system# Main resourceensure MTM-TRAJECTCONTROLE -
Review Configuration Settings Open
config.luain your code editor to verify basic gameplay parameters:- Language: Set
Config.Language = "en"or"nl". - Measurement Unit: Set
Config.SpeedUnit = "kmh"or"mph". - Speed Multiplier: Keep
3.6for km/h or2.236936for mph. - Fine System: Choose your billing system (
"auto","direct_bank","okokBilling", etc.). - Admin Permissions: Set
Config.CreatorPermissionto restrict who can create or delete routes.
- Language: Set
-
Start or Restart Server Start your FXServer. The server console should display:
[MTM-TRAJECTCONTROLE] Succesvol dynamic trajecten geladen uit data/trajecten.json[MTM-TRAJECTCONTROLE] Matrix Synchronization Engine: Geactiveerd via MTM-MATRIXDEV
In-Game Verification Commands
Section titled “In-Game Verification Commands”After connecting to your server, verify the installation using these commands:
| Command | Permission | Purpose |
|---|---|---|
/trajectmap |
Configurable | Opens the interactive section control map tablet. Verify that existing default routes render. |
/trajectcreate |
Admin | Opens the 3D in-game section creator tool to build new highway corridors. |
Troubleshooting Common Setup Issues
Section titled “Troubleshooting Common Setup Issues”Matrix Signs Not Synchronizing
Section titled “Matrix Signs Not Synchronizing”If speed limits on the highway do not adjust when matrix signs are changed:
- Verify that
MTM-MATRIXBORDENorMTM-MATRIXDEVis started beforeMTM-TRAJECTCONTROLEinserver.cfg. - Ensure
Config.SyncWithMatrix = trueis set inconfig.lua. - Check the server console upon boot to confirm that the synchronization engine successfully bound to the matrix resource.
Camera Props Not Rendering
Section titled “Camera Props Not Rendering”If camera mast props do not appear above the highway:
- Ensure
Config.EnableCameraProps = trueis set inconfig.lua. - Check
Config.CameraStreamingDistance(default140.0meters). - If using custom props, verify that your server is streaming the corresponding prop pack (
MTM-MATRIXPROPSor standard GTA V objects).