Create Track Map
Create Track Map (CTM) is a multi-loader mod that displays a track map of Create trains in your world, including all tracks, signals, stations, and trains. The signals and trains are updated in (practically) real time.

Usage
CTM is available for download on Modrinth. Please make sure you download the correct version for your loader, Minecraft version, and Create version. Below is the compatibility chart for Create versions:
| CTM ≤1.3 | CTM 1.4 | CTM ≥1.5 | |
|---|---|---|---|
| Create 0.5.0 | ✅ | ✅ | ❌ |
| Create 0.5.1 | ❌ | ✅ | ✅ |
Installation
Simply place the .jar file in your mods folder (or install with a modloader) like any other mod! CTM is intended to be a server side mod, but can also run in single-player worlds and LAN servers. It runs a web server on port 3876 by default, but this can be configured. You must forward this port if you wish to see the map. (How do I do this?)
The map itself is visible at the root (by default http://localhost:3876/). If using a proxy to serve the map, make sure to configure it to let Server-Sent Events through.
Singleplayer
The map is hosted on your computer so while Minecraft is open, enter http://localhost:3876/ into your browser.
Multiplayer
A) Local (LAN) server\
The map is still hosted on your computer so while the game is open, enter http://localhost:3876/ into your browser.\
Those in your household can see the map by entering http://[your computer's IPV4 address]:3876/ into their browser.\
How do I see my computer's IPV4 address?
B) The server is on my PC\
The map is still hosted on your computer so while the server is open, enter http://localhost:3876/ into your browser.\
Those in your household can see the map by entering http://[your computer's IPV4 address]:3876/ into their browser.\
Those outside your household can see the map by entering http://[your public IPV4 address]:3876/ into their browser.\
How do I see my public IPV4 address?
C) The server is hosted with a hosting service\
The map is hosted with the server on that service. You can see the map at [your server address]:3876/ while the server is up.\
NOTE: YOUR SERVICE MUST SUPPORT EXTRA PORT FORWARDING. You can check with support/the docs for the service or just good old Google. If the service doesn't support this, you are out of luck. You can switch services or try hosting your own.
Just so it's clear: Do not include the brackets around your IPV4 address! For example: 192.168.0.0:3876
READ THIS BEFORE ASKING FOR HELP!
To use this mod, you must be able to open a second port, in addition to your Minecraft server, which CTM will run its web server on. If you are using Aternos, this is not possible. If you are using a shared hosting provider, please contact your host for assistance in opening a port. No support will be provided to open a port or to diagnose issues which are not caused by a bug in the mod.
Advanced Usage
CTM API
CTM provides the following API, also accessible through the same port:
/api/network,/api/network.rt: List of all track pieces and train stations/api/signals,/api/signals.rt: List of all train signals, including their states (green, yellow, red)/api/blocks,/api/blocks.rt: List of all signal control blocks, and whether they are occupied or reserved by a train/api/trains,/api/trains.rt: List of all assembled trains, including their names and positions/api/style.css: CSS style sheet generated from configured colors and fonts/api/config.json: Map configuration
The .rt versions update in real time with Server-Sent Events (SSE).
Configuration
CTM's config options can be found at create-track-map.json in your server's config directory. It is automatically created at startup if it doesn't exist.
The following options are available:
{
// Whether to actually start the watcher and the server.
"enable": false,
// How long to wait between track data updates.
"watch_interval_seconds": 0.5,
// The port the internal web server listens on.
"server_port": 3876,
"map_style": {
// Font to use for the map's UI. Must be a valid CSS font stack.
"font": "ui-monospace, \"JetBrains Mono\", monospace",
// Colors for individual components of the map. Must be valid CSS colors.
// Any CSS color format will work, such as named colors and rgb().
"colors": {
"background": "#888",
"track": {
"occupied": "red",
"reserved": "pink",
"free": "white"
},
"signal": {
"green": "#71db51",
"yellow": "#ffd15c",
"red": "#ff5f5c",
"outline": "black"
},
"portal": {
"primary": "purple",
"outline": "white"
},
"station": {
"primary": "white",
"outline": "black"
},
"train": "cyan",
"lead_car": "darkturquoise"
}
},
"map_view": {
"initial_dimension": "minecraft:overworld",
"initial_position": { "x": 0, "z": 0 },
// Zoom levels must be integers, but may be negative.
// Each zoom level is twice as big as the previous.
// 0 is a decent minimum but may be impractical for large networks.
// 3 is the sensible default for viewing double-tracked networks.
"initial_zoom": 3,
"min_zoom": 0,
"max_zoom": 4,
// Whether a zoom control should be visible on the screen.
"zoom_controls": true,
// Which side of the track a signal should be displayed on.
// Valid values are LEFT or RIGHT (all uppercase).
"signals_on": "RIGHT"
},
"dimensions": {
// Dimension names must be namespaced.
"minecraft:overworld": {
// Label that shows up in the layer switcher.
"label": "Overworld"
},
"minecraft:the_nether": {
"label": "Nether"
},
"minecraft:the_end": {
"label": "End"
}
},
"layers": {
"tracks": {
"label": "Tracks",
"min_zoom": 0,
"max_zoom": 4
},
"blocks": {
"label": "Track Occupancy",
"min_zoom": 0,
"max_zoom": 4
},
"signals": {
"label": "Signals",
"min_zoom": 0,
"max_zoom": 4
},
"portals": {
"label": "Portals",
"min_zoom": 0,
"max_zoom": 4
},
"stations": {
"label": "Stations",
"min_zoom": 0,
"max_zoom": 4
},
"trains": {
"label": "Trains",
"min_zoom": 0,
"max_zoom": 4
}
}
}
Reload the config without restarting the server by running /ctm reload (operator permissions required).
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 |
- Added support for Minecraft 1.20.1.
- Added support for Minecraft 1.20.1.
- Added support for Create 0.5.1 on Fabric.
- Added support for Create 0.5.1 on Fabric.
- Added support for Create 0.5.1.
- Hopefully fixes some crashes (especially on Forge) relating to trains not being on tracks.
- Signals are now displayed with the correct colors and at the correct angles.
- Different layers (signals, stations, etc.) can now be turned on or off in the Layers menu.
- Layers can be configured to only be visible at certain zoom levels. Check the
layerssection of the example config in the README for an example of how to set this up.
- Hopefully fixes some crashes (especially on Forge) relating to trains not being on tracks.
- Signals are now displayed with the correct colors and at the correct angles.
- Different layers (signals, stations, etc.) can now be turned on or off in the Layers menu.
- Layers can be configured to only be visible at certain zoom levels. Check the
layerssection of the example config in the README for an example of how to set this up.
- Added support for Create 0.5.1.
- Hopefully fixes some crashes (especially on Forge) relating to trains not being on tracks.
- Signals are now displayed with the correct colors and at the correct angles.
- Different layers (signals, stations, etc.) can now be turned on or off in the Layers menu.
- Layers can be configured to only be visible at certain zoom levels. Check the
layerssection of the example config in the README for an example of how to set this up.
Create 0.5.1 integration is happening as soon as Create Fabric 0.5.1 is out.
- Hopefully fixes some crashes (especially on Forge) relating to trains not being on tracks.
- Signals are now displayed with the correct colors and at the correct angles.
- Different layers (signals, stations, etc.) can now be turned on or off in the Layers menu.
- Layers can be configured to only be visible at certain zoom levels. Check the
layerssection of the example config in the README for an example of how to set this up.
Create 0.5.1 integration is happening as soon as Create Fabric 0.5.1 is out.
- The lead car of each train now has a triangular tip, and is now colored differently to visually distinguish it from the train's other cars. The
map_style.colors.lead_carconfig option can be used to change the color. - Chain signals are now triangular, pointing towards the next signal. The colors still reflect the state of the signal.
- Signals can now be configured to display on either side of the track with the
map_view.signals_onoption.
- The lead car of each train now has a triangular tip, and is now colored differently to visually distinguish it from the train's other cars. The
map_style.colors.lead_carconfig option can be used to change the color. - Chain signals are now triangular, pointing towards the next signal. The colors still reflect the state of the signal.
- Signals can now be configured to display on either side of the track with the
map_view.signals_onoption. - _(Forge)_ Move config file from
defaultconfigstoconfigwhere it should be.
- The lead car of each train now has a triangular tip, and is now colored differently to visually distinguish it from the train's other cars. The
map_style.colors.lead_carconfig option can be used to change the color. - Chain signals are now triangular, pointing towards the next signal. The colors still reflect the state of the signal.
- Signals can now be configured to display on either side of the track with the
map_view.signals_onoption. - _(Forge)_ Move config file from
defaultconfigstoconfigwhere it should be.
- The lead car of each train now has a triangular tip, and is now colored differently to visually distinguish it from the train's other cars. The
map_style.colors.lead_carconfig option can be used to change the color. - Chain signals are now triangular, pointing towards the next signal. The colors still reflect the state of the signal.
- Signals can now be configured to display on either side of the track with the
map_view.signals_onoption.
- Adds support for Forge! I know quite a few of you have been asking for it.
- Backported to 1.18, with thankfully minimal changes.
- Switched the web server backend to CIO instead of Netty, for better portability (i.e. the Forge version couldn't quite build right with Netty)
- Adds support for Forge! I know quite a few of you have been asking for it.
- Backported to 1.18, with thankfully minimal changes.
- Switched the web server backend to CIO instead of Netty, for better portability (i.e. the Forge version couldn't quite build right with Netty)
- Adds support for Forge! I know quite a few of you have been asking for it.
- Backported to 1.18, with thankfully minimal changes.
- Switched the web server backend to CIO instead of Netty, for better portability (i.e. the Forge version couldn't quite build right with Netty)
- Adds support for Forge! I know quite a few of you have been asking for it.
- Backported to 1.18, with thankfully minimal changes.
- Switched the web server backend to CIO instead of Netty, for better portability (i.e. the Forge version couldn't quite build right with Netty)
- Adds train and station lists to the top right. Clicking on each one moves the map to the location of the train or station, changing dimensions if necessary.
- Fixes an issue with train cars not having location information, causing an exception in the update loop.
- Each dimension is now its own separate layer, and you can switch between them using the layer button on the top right of the screen. Check the README for more information on configuring this.<br><img width="124" src="https://user-images.githubusercontent.com/65937586/226819206-53f8dd2e-d0ae-4bb5-8505-f3bdd41fc0cf.png">
- Clicking on a portal icon now also automatically switches to the other dimension.
- Trains crossing portals are now shown properly as heading into the portal and emerging from the other portal, rather than jumping across the screen.
- Added config options for the map's initial viewport (coordinates and zoom level), and maximum and minimum zoom levels. Check the README for more information.
- Added an overlay to the map that displays the coordinates of the map center and the cursor:<br><img width="147" alt="Screenshot 2023-03-21 at 12 15 09 AM" src="https://user-images.githubusercontent.com/65937586/226516219-2a8ed9ba-1159-4db1-be70-26ec99b6f328.png">
- Allows CTM to be used in single-player worlds and LAN servers.
- Adds a config option to disable the server.
- Map styling can now be configured! Check the README for more information.
- Configuration is now available! The file
create-track-map.jsonis automatically written to if it isn't found at startup. You can configure the web server port (3876 by default), and the update interval (0.5 second by default). You can also reload config changes on-the-fly using/ctm reload.
- The web server now serves
/correctly, no need to go to/index.html.