MINECRAFTHUB.IO
Server Plugins

TrainCarts

TrainCarts links minecarts into full custom trains for Spigot, Paper, and Purpur servers, with sign-based stations, path finding, and real rail physics. It requires BKCommonLib, the same creator's utility library, to run.

By bergerkiller via Modrinth.

TrainCarts demo locomotive and painted carriages riding a rail line in Minecraft
Section
Server Plugins
Platform
Java
Checked
Updated
Versions
1.8.9, 1.12.2, 1.16.5, 1.18.2, 1.20.1, 1.20.6, 1.21.1, 1.21.8, 1.21.11, 26.1, 26.2
1/2
TrainCarts rail junction automatically switching four connected minecarts onto a new track

What TrainCarts works with.

PlatformJava Edition
LoadersBukkit, Paper, Purpur, Spigot
Minecraft versions1.8.9, 1.12.2, 1.16.5, 1.18.2, 1.20.1, 1.20.6, 1.21.1, 1.21.8, 1.21.11, 26.1, 26.2

TrainCarts links minecarts together into complete, customizable trains for Spigot, Paper, and Purpur servers. Server owners use it to build automated metro networks, rollercoasters, gondolas, and amusement park rides, all driven by in-game signs, commands, and an attachment editor for custom cart models. It needs BKCommonLib installed alongside it and will not start without it. The current 2.0.0 release covers every Minecraft version from 1.8 up to 26.2 in one build.

Why TrainCarts needs BKCommonLib first

TrainCarts is built directly on top of BKCommonLib, a shared utility library from the same creator, bergerkiller. The TrainCarts project states this plainly: the plugin requires BKCommonLib and refuses to load without it. BKCommonLib changes nothing players see on its own, so if it is the first plugin that has ever sent you looking for it, TrainCarts is almost always the reason. Install both jars together, always take the newest BKCommonLib build regardless of your server's Minecraft version, and restart rather than reload so the library finishes loading before TrainCarts starts.

What TrainCarts turns minecarts into

The attachment editor lets you build custom cart models in Blockbench and ride inside them in-game, with TrainCarts handling the animation of multi-part models automatically. Rides can be fully animated too: doors that open and close, carts that spin, or theme-park mechanisms like Ferris wheels and merry-go-rounds (the creator's own demo Ferris wheel model is marked very laggy in the plugin's own documentation, a fair warning before building one on a live server). Trains are simulated with real gravity, rail switching, and wheels that track the rails, rather than following Minecraft's built-in minecart movement, with a default top speed of 5 blocks per tick, roughly 300 km/h, that server owners can raise or lower.

TrainCarts animated rides in action

Signs, stations, and path finding

Signs placed along the rails do the automation work: launching trains, creating stations, switching junctions, and changing train properties, all extendable through TrainCarts' own API. Trains can also path find on their own, travelling between named destinations across a whole rail network with nobody driving them. Everything a sign can do is available as a command too, built on the Cloud Command Framework, with @train and @ptrain selectors that can target trains, or the players riding them, by area, distance, or property.

  • Keep chunks loaded turns a train into its own moving chunk loader, so it keeps travelling with nobody nearby.
  • A wait property slows or stops a train automatically when another train, or an occupied mutex zone, is up ahead.
  • Per-train properties cover banking, gravity, friction, mob and player collision behavior, and whether riders can enter or exit.

Installing TrainCarts on Paper or Spigot

  1. 1.Download the latest BKCommonLib build first. It is not optional, and TrainCarts will not start without it.
  2. 2.Download the latest TrainCarts jar from Modrinth, or SpigotMC, where the same builds are also listed.
  3. 3.Drop both jars in the server's plugins folder. TrainCarts stores its own data in a plugins/Train_Carts folder once it starts.
  4. 4.Restart the server rather than reloading, so BKCommonLib finishes loading before TrainCarts starts.
  5. 5.Lay track and use the /train commands, a spawner item, or the in-game attachment editor to create the first train. The plugin's own wiki covers every sign and property in depth.

Known limits and the wider addon family

TrainCarts can trip false positives in anti-cheat plugins like NoCheatPlus, because a moving train looks like an out-of-bounds player to a vehicle movement check. The fix lives in NoCheatPlus' own config (disabling vehicle location enforcement), not something TrainCarts controls. CraftBook's minecart exit remover can also delete a train the moment a player steps out of it, so turn that off if trains keep vanishing. Beyond the base plugin, an addon ecosystem covers what TrainCarts leaves out on its own: hanging rails, freeform rollercoaster track without real rail blocks, ticket-sign shops, and cross-server train portals, all built on TrainCarts' own API by the creator's team and other developers.

Questions about TrainCarts.

5 questions

Does TrainCarts need another plugin to work?

Yes. TrainCarts requires BKCommonLib, a shared utility library by the same creator, and will not start without it. Install the latest BKCommonLib jar alongside TrainCarts and restart the server rather than reloading, so BKCommonLib loads first.

How do I install TrainCarts on a Paper or Spigot server?

Download the latest BKCommonLib and TrainCarts jars, drop both into the plugins folder, and restart the server. TrainCarts creates its own plugins/Train_Carts folder on first start. From there, lay track and use /train commands or the in-game attachment editor to build a train.

Which Minecraft versions does TrainCarts support?

The current 2.0.0 release covers every version from 1.8 up through 26.2 in a single jar, the same range BKCommonLib supports. Always download the newest build rather than an older one matched to your server's Minecraft version.

Do players need to install anything to ride a TrainCarts train?

No. TrainCarts is a server-side plugin, so players connect and ride without installing a client mod. An optional resource pack from the creator adds extra locomotive and carriage models, but the base plugin also works with plain minecart textures.

Does TrainCarts work with anti-cheat plugins like NoCheatPlus?

Mostly, but a moving train can trigger NoCheatPlus' vehicle movement check as a false positive. Disabling vehicle location enforcement in NoCheatPlus' own config fixes it. CraftBook's minecart exit remover can also delete trains unexpectedly and is worth turning off.

More Server Plugins like TrainCarts.

Guides for Server Plugins.

Browse all Minecraft server plugins