- Tested Minecraft Versions:
- Source Code:
- bergerkiller, Friwi, mg_1999, KamikazePlatypus, lenis0012, timstans
Please use GitHub to file an issue report
This plugin requires BKCommonLib
Since April 16, 2017 release version names will be in a MCVersion-pluginversion format. Older versions of Minecraft are also supported.
Plugin: TrainCarts - Linked Minecarts, sign-redstone systems, easy to use and realistic
TrainCarts/BKCommonLib for MC 1.7.10 can be found here (outdated)
Join our discord server for plugin help. https://discord.gg/P34bUPT
Incompatible with: RailCraft
This plugin looks for suitable Minecarts and links them together if possible. When two Minecarts are being "linked", the Minecarts will act as one single moving train.
Once carts are successfully linked, an effect is played and their velocity is shared in combination with an individual factor for each Minecart, which is used to remain a steady gap between carts. This gap is adjustable, the force at which this happens as well.
End result: a train! You can move it, make a roller-coaster out of it, split it in half, watch trains collide, whatever you want to do with trains.
As for 1.21, it is also possible to safely exit your train by setting an exit offset with a (sideways) push factor for the train. This feature is disabled by default. (only affects dropped items). If you want to display arrival times on signs (see redstone circuit part) you need SignLink, see the downloads on the bottom of the page.
As for 1.35 you can set train properties to make 'special' trains, or to 'finalize' a train
For testing out the new attachment system introduced in 1.12.2-v2, there is a free to download test resource pack available here:
The models are bound to durability values of the golden pickaxe.
The locomotive and carriages were made by Nullblox, a very talented voxel modeler. Maxi made the different color rollercoaster carts. If you want your own train models commissioned, you should definitely contact these and other very talented people on this website!
Here's some links if you are interested in making or setting up your own models:
Special Addons for TrainCarts
- ActionBlocks - Blocks below tracks perform actions
- HangRail - Trains floating below iron fences and also below/above other kinds of blocks
- FloatRail - Trains floating above blocks (no longer supported as of 1.12.2-v2)
- Link minecarts using collision: no commands needed to make a train
- Move trains as easily as you would with single Minecarts
- Stores trains to file for persistence during reloads and server restarts
- Use sign-redstone circuits for subway systems, complete railroads and much more
- Station to gracefully stop and launch trains
- Player enter/ejector
- Property setters
- Tag systems to switch certain tracks based on tags on the train
- Destination systems to make your train travel to far-away lands all on it's own
- Transferring items between trains and storage blocks (chest, furnace, etc.)
- Supports Minecart Mania's features
- Infinite minecart speeds are possible, higher speed than vanilla!
- Change the blocks displayed in trains
- Cancel collisions with players, mobs, other trains using a variety of collision modes
- Loads of fixes for vanilla minecart physics, fixing network synchronization bugs (off the rails)
- Detector regions, to detect trains on stretches of track
- Vertical rails using ladders
- X-crossing rails using pressure plates
- API for custom rails and custom sign actions
- Teleport trains /w passengers (MyWorlds needed)
- Show arrival times on signs (SignLink needed)
- Push-away: Push mobs, players and items away from your trains to keep them running
- Everything is configurable, if something proves not to be, I will make it that way
- When non-operator players ride a train, the train glitches out and the player's cart gets stuck in position
NoCheatPlus thinks the player is cheating, because the cart is moving in unintended ways. The cart is teleported back to a valid state causing these strange glitches. To fix this, set the following to false in the NoCheatPlus configuration:
- When players are near, trains reach their destinations. With no one near, they don't. What do I do?By default trains do not keep chunks loaded, and they will unload once they move into unloaded chunks. To make trains keep the chunk area (and themselves) around them loaded, set the 'keepchunksloaded' property to True. This can be done using the /train keepchunksloaded true command, using a property sign or by changing it to true in the DefaultTrainProperties.yml file. For more information about train properties, see here.
- I have a iMac and signs don't work. What do I do?Add 'parseOldSigns: true' to the config and type signs like 'train' instead of '[train]'.
If you have another plugin that performs similar Minecart replacement techniques, it is likely that TrainCarts will not function or function poorly. For the 'chunk persistence' part of this plugin, other plugins that unload chunks without firing events result in this feature failing. Minebackup is known for having this problem.
If you really like my work and want to give something in return, feel free to donate something small to me using the link down below. Thank you!
- Boom! New features finally officially released! Custom models and a whole lot more :) Jan 22, 2018
- Loopings, improved physics, and new signs! Oct 14, 2017
- General bugfixes Sep 28, 2017
Amazing plugin I’ve been using it for many years now, really helps with my server, what should be added in a future update is a sign that allows you to teleport a player into a mine cart. I’ve seen players on my server have trouble getting into the 3D model seats, so hopefully this would be added! There’s another plugin that can tp players into a Minecraft, but it wouldn’t work with traincarts and it’s outdated. Thank you for reading and I hope my suggestion can be taken into consideration! ~Jp
This plugin is sooooo huge!!! There are only two things remaining for my use. First would be, that there is a possibility to make Announces in the train on maybe screens (if this works). The second thing is, that you can upload sounds to your server which are played as announcements like "Next Stop: Central Station". But everything is fine. I love this plugin <3
I really want to give 5 Stars for this awesome, powerful Plugin you´ve made. But sadly there is a big problem or bug for me. I´ve build a Vanilla station for 10 Carts. It starts the single carts with delay to build a (not connected) train and incoming Trains will be sperated to the 10 startingrails. This works perfectly on vanilla, even with really close driving carts.
Now my problem. I´ve uploaded a screenshot of my sortingsystem for better imaginiation. https://kedo-mc.de/shared/2018-02-08_11.21.16.png
the Train/cart is joining the station from the left. From Left to right the rails are counted 1 to 10. There is also a big Redstonebuild underneath. It saves if there is a cart on one rail or not.
With Traincarts it works also perfetly, even with connected trains, as long as there is no player inside a cart.
If there is a Player in the Cart most of the time the playercarts just drives from the entrance to the right exit (its build as exit if all 10 rails are full). The Picture shows all 10 rails as emtpy.
The Playercart trigger the first detectorrail and just goes straight to the end. Sometimes it does not. For empty- or chestcarts it works 100% perfectly.
I cant remove the first detector because it slows down the sorting. The cart have to enter one of the 10 rails and close it immediately.
I would love if you find a to fix this <3
Have a good Day :)