Source-checkedVehicles & ships

CreateTrainWebAPI

by BeneHenke · for Minecraft

This mod adds an endpoint for the postion data of the create trains.

396Downloads
38d agoLast updated
MITLicense
Fabric · Forge +1Loaders

About CreateTrainWebAPI

From Modrinth

This mod adds an endpoint for the postion data of the create trains.

This mod adds an endpoint for the postion data of the create trains. To install simply place the jar file into the mods folder. By default it uses port 8080, this can be changed in the config file.

BlueMap overlay

To show trains, tracks, stations, signals and portals on the map, copy train.js into BlueMap's webroot (e.g. bluemap/web/), set host at the top of the file to the address of this API as seen from the browser, and add it to the scripts in BlueMap's webapp.conf:

scripts: [
    "./train.js"
]

Clicking a train shows its speed, destination, schedule and cargo; clicking a station shows the next arrivals; clicking a portal jumps to the map of the other dimension. If BlueMap is served over https, the API must be reachable over https as well (browsers block mixed content).

When used together with https://github.com/BeneHenke/BluemapCreateEntityAddon the path to the train models can be configured in the config aswell.

Endpoints

| Path | Content | |---|---| | /network | Nodes, edges (with length, material, network id, signal block sections), stations, signals, networks (with Create's colour) and portal node pairs. Updated every 5 s. | | /trains, /trainsLive (SSE, 200 ms) | Trains with position, speed, destination, schedule, route, owner, passengers. | | /status, /statusLive (SSE, 1 s) | Occupied and reserved signal blocks, signal states, and per station the train at the platform, the arriving train and the next arrivals. | | /cargo?train=<id> | Items and fluids per carriage (computed on request). | | /features | Which optional data is enabled in the config (see below). | | /trainModels/… | Train models from trainModelPath. |

All data is read from Create on the server thread and cached, so requests never touch the game state directly.

Example config:

#Webserver Port
# Default: 8080
# Range: 1 ~ 65535
serverPort = 8080
#Webserver hostname
serverHost = "0.0.0.0"
#Path of the train models
trainModelPath = "bluemap/train_models/"

Optional data

The [data] section of the config turns optional information on or off. Disabled data is not collected at all and is null in the answers; /features reports the current switches, and the BlueMap overlay hides whatever is disabled. Positions, tracks and stations are always included.

[data]
	owner = true           # train owner (uuid and player name)
	trainStatus = true     # speed, max speed, derailed
	passengers = true      # number of players on board
	navigation = true      # destination, distance to it, waiting at a signal
	schedule = true        # schedule title, current stop, state, wait reason
	route = true           # planned route to the destination
	stationArrivals = true # per station: train at the platform, arriving train, next arrivals
	signals = true         # signals, signal states and occupied signal blocks
	portals = true         # track nodes linked through portals
	cargo = true           # train inventories and tanks (/cargo)

Highlights

From source data

Game versions

Supports 2 Minecraft versions, the newest being 1.21.1.

Loaders

Runs on Fabric, Forge and NeoForge.

Footprint

Rated a light load on a server.

CreateTrainWebAPI on Nxeon

From our catalogue
One-click install
Supported on Nxeon Minecraft servers. We download it from Modrinth, place it, and restart the server.
Server side
Required on the server
Server type needed
Fabric, Forge, NeoForge
Server load
light
Smallest plan we suggest
Minecraft — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
1.1.0, released 2026-09-27

Game versions by loader

LoaderGame versionsNewest
Fabric1.20.11.20.1
Forge1.20.11.20.1
NeoForge1.21.11.21.1

From 5 recorded builds of CreateTrainWebAPI.

Recent builds

BuildReleasedGame versionsLoaders
1.1.02026-09-271.20.1Fabric
1.1.02026-09-271.21.1NeoForge
1.1.02026-09-271.20.1Forge
1.0.12026-05-271.20.1Fabric
1.0.12026-05-271.20.1Forge

Run CreateTrainWebAPI on a Minecraft server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Modrinth as “Mods”

Vehicles & ships

Cars, boats, aircraft, ships and other things to drive or fly.

Runs on your server

From source side support

Modrinth lists CreateTrainWebAPI as required on the server. Check its Modrinth page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
FabricForgeNeoForge
Runs on
Serverrequired on the server
Game versions
1.21.1 and 1 earlier

Verified at the source

  • ✓ModrinthOfficial listing, checked 2026-10-03Open ↗
  • ✓AuthorBeneHenke, as published on Modrinth
  • ✓LicenseMITFree

CreateTrainWebAPI, answered

Generated from the mod’s own source data.

Do my players need to install CreateTrainWebAPI?

Modrinth lists CreateTrainWebAPI as required on the server. Check its Modrinth page to see whether players need it too.

Which loaders does it support?

Fabric, Forge and NeoForge.

Is it free?

Yes. CreateTrainWebAPI is free to download from Modrinth. Its license is MIT.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run CreateTrainWebAPI on a Minecraft server.

Deploy in about a minute from $4.99 a month, then add CreateTrainWebAPI in one click.