Because the Car Traffic Generator is a data pack rather than a client-side mod, it operates on a per-world basis. You can add moving road traffic to a single city build without altering files across your entire Minecraft installation, and players joining a multiplayer server do not need to install any client mods to see the cars.
Activating the Pack in a Singleplayer World
1. Open Minecraft, select your city or road-network world from the Singleplayer menu, and click Edit.
2. Click Open World Folder and open the datapacks folder inside it.
3. Make sure the Car Traffic Generator Data Pack is inside this folder.
4. Load into your world and type /datapack list in the chat to confirm the pack is enabled.
5. If it shows as disabled, enable it with /datapack enable or run /reload so the ctg115_gshn28 functions and 6 structures register.
Using the Pack on a Multiplayer Server
To run automated traffic on a server, place the data pack inside your server's active world/datapacks directory and run /reload from the server console or as an operator. Because the vehicles and their computer-controlled movement are handled entirely by vanilla data pack functions and structures, any vanilla client can join the server and watch the traffic drive through urban districts immediately.