Traffic management for FiveM roleplay servers. Toggle vehicle pathing nodes, define speed zones and secure zones from an in-game menu, without depending on a framework.
Archived. Built in 2021 and kept public as a reference. Not actively maintained.
- Toggles GTA V vehicle pathing nodes on or off across an area, so traffic can be cleared for events or scenes
- Defines speed zones that cap AI vehicle speed in a region
- Defines secure zones for locking down an area
- Runs standalone; no ESX, QBCore or other framework required
- Access is gated through FiveM ace permissions rather than a hardcoded admin list
- A FiveM server
- Visual Studio with the .NET desktop development workload, only if you want to build from source
-
Copy the resource into your server's
resourcesdirectory. -
Add it to your
server.cfg:ensure TrafficManager
-
Restart the server.
| Action | Default |
|---|---|
| Open or close the traffic menu | /trafficmenu |
| Keybind | F5 — rebindable per user under Settings → Keybindings → FiveM |
Configuration values are defined in fxmanifest.lua.
To restrict access, set use_permissions to "true" in the manifest and grant the relevant players the TrafficManager.Access ace:
add_ace group.admin TrafficManager.Access allowWith use_permissions set to "false", the menu is open to everyone on the server.
C# source lives in the Client and Server directories, with TrafficManager.sln at the root.
Original author: DelphinusBeta. This repository contains that work plus subsequent changes.
Attribution–Non-Commercial 2.0 England and Wales (CC BY-NC 2.0). Commercial use is not permitted and the original author must be credited. See LICENCE.md for the full terms.