Roadworks

Roadworks

Immersive American-style traffic management

by
2.8K Downloads
fabricdecorationtechnology
Rent Server with this Mod

About this Mod

Roadworks

Roadworks add immersive, American-style traffic management features to Minecraft. It is currently in beta, so please expect some bugs! Currently, the mod adds markings, cones, signals, bollards, and signs, though more may come in the future.

Todo

  • Add an included resource pack to add European-style signage
  • More signs
  • More markings
  • Pedestrian crossing signals
  • Make CC an optional dependency

Features

Signals

Controllable via a Traffic Controller and can be connected to one with a linker. Signals connected to a traffic controller can be controlled via a ComputerCraft computer, wrapped as a peripheral.

Posts

Posts connect when placed next to each other. They can connect to signals and signs.

Signs

Signs can be placed onto posts, or onto walls. Many are currently included, but there will hopefully be even more in the future.

Markings

Most that extend over a whole block will connect to a filler is placed in the correct way. Hopefully it's pretty easy to understand.

Bollards

Pretty simple. Kinda neat.

CC API

This will be improved in the future and moved to a wiki page.

getSignalType(id: int): string?

Gets the type of signal ID. Will be one of:

  • three_head
  • three_head_left
  • three_head_right
  • three_head_straight
  • five_head_left
  • five_head_right

getSignals(): table

Gets all signals connected to this controller. This returns an array of dictionaries containing the signal ID and the signal's type.

getSignalsOfType(type: string): table

Returns an array of IDs which have the specified type. See getSignalType for available types.

hasId(id: int): boolean

Returns true if the traffic cabinet has the specified id.

hasLight(type: string, light: string): boolean

Returns true if the specified type has the specified light.

setThreeHead(id: int, red: boolean, yellow: boolean: green: boolean): boolean

Sets the specified three-head signal of ID to the specified values.

setFiveHead(id: int, red: boolean, yellowLeft: boolean: greenLeft: boolean, yellowRight: boolean, greenRight: boolean): boolean

Sets the specified five-head signal of ID to the specified values.

Contribute

If you find a bug or have a feature request, please make an issue. PR's, as always, are accepted and appreciated. PR's will not be accepted if they produce bugs or add additional dependencies.

Available Versions

Roadworks 1.0.0-beta5beta
MC 1.20.1fabric
February 21, 2025
Roadworks 1.0.0-beta4beta
MC 1.20.1fabric
December 2, 2024
Roadworks 1.0.0-beta3beta
MC 1.20.1fabric
November 27, 2024
Roadworks 1.0.0-beta2beta
MC 1.20.1fabric
October 22, 2024
Roadworks 1.0.0-beta1beta
MC 1.20.1fabric
June 7, 2024

How to Install Roadworks on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.1).

3

Install Mod

Open the mod browser in the dashboard and search for "Roadworks". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.20.1

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Roadworks server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.1). You can switch loaders with one click in the panel.

Is Roadworks compatible with fabric?

Roadworks officially supports fabric for Minecraft 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Roadworks – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Roadworks consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Roadworks with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.20.1