TrainCarts
TrainCarts Development has moved to SpigotMC.
You can get the new versions at the following URL:
https://www.spigotmc.org/resources/traincarts.39592/
This page is no longer being actively monitored, please seek for support on SpigotMC.
Plugin: TrainCarts - Linked Minecarts, sign-redstone systems, easy to use and realistic
Version: v1.73.0
Build: 1.7.2 R0.1/R0.2
Incompatible with: RailCraft
Description
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

Links
For configuration, permissions and how-to's, see the Wikipedia page (it is rather long):
Note that I would prefer having comments, bug reports and others in the main Bukkit page, since I visit that site the most. :)
Addons
Special Addons for TrainCarts
Features
- Link minecarts using collision: no commands needed to make a train
- Move trains as easily as you would with single Minecarts
- Store 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
- Spawn
- Teleport
- 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
- Supports Minecart Mania's features
- Infinite minecart speeds are possible
- 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
FAQ
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.
Why not boats?!?!
Incompatibilities
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.
Metrics
This plugin sends server count statistics to MCStats.org. You can (globally) opt out in the PluginMetrics/config.yml file.







-
View User Profile
-
Send Message
Posted Jul 8, 2012I would also like to say wonderful plugin.... I use this as my main attraction for the server. Thank you for all your dedication towards this plugin.
I hate to say... but...I have another bug as well... When the server restarts or reloads....every minecart in my world gets duped.... including chest carts and the items inside of them.... not good... not good at all. Most of the time it only happens to the carts not on a track... but every once and awhile I get them duped even on the track.
This wouldn't bother me to much but the problem is... I am attempting to start a new public server and everything is finished except this will be an issue fast Any ideas?
Thanks!
@Matze0811
I had this same issue.. set the owner of the cart to a non real name.. because by default it belongs to everyone.. and it ignores the owner of the train from being pushed.
-
View User Profile
-
Send Message
Posted Jul 8, 2012First, i have to say, you build an awsome plugin there, on our Server we use it with great pleasure. But i've got a "little" problem. I've setted up all three "push away's" in DefaultTrainProperties for players and admins, but it only pushes misc and mobs away, so players can block the trains if they are on the tracks. is there a way to fix that issue?
Here is my DefaultTrainProperties.yml:
maybe i've got an issue in my config, any suggestion to fix that behavior?
-
View User Profile
-
Send Message
Posted Jul 8, 2012@Tobi4426
I made it now that normal users cannot link minecarts to trains, but the minecarts of normal user have not the normal slow down behavior
So is there no way to add something like disabledworlds to the config so that I can disable TrainCarts for specific groups?
Also it would be great when the minecarts of normal users are not stored in the database file.
-
View User Profile
-
Send Message
Posted Jul 7, 2012Just dropping a random comment to tell you that this plugin is great and I appreciate the work you put into it. I haven't come across any errors using it yet and it has come a long way since I first started following it. So thank you for the all the effort you put into it and to maintaining it. Authors don't usually get enough thanks :) So Thanks!
-
View User Profile
-
Send Message
Posted Jul 7, 2012<<reply 797904="">>
Could be the lowercase check got wiped during the + mode addition, but not sure. The WIKI does state to use [train][cart] and not use upper case chars, but I guess a case-insensitive check is better as well.
-
View User Profile
-
Send Message
Posted Jul 6, 2012@Daikenkaiking
Considering I now have to change +100 signs because it requires lowercase and it didn't before...and I only used caps on my signs?
I'm gonna say that's a bug. (-.-)
-
View User Profile
-
Send Message
Posted Jul 6, 2012@xJoshJx
I'm not really sure thats a bug... ;)
-
View User Profile
-
Send Message
Posted Jul 6, 2012Just found a bug... If I use [!Train] (with a cap) it doesn't work(doesn't show message it's a train sign) if I use [!train] it then works... I don't know if this is just property signs or all... I also don't know if this happens with just [Train] and [train]
-
View User Profile
-
Send Message
Posted Jul 5, 2012@bergerkiller
ooooh. and if you had a spout version, eventually you could do custom entities when those come out. locomotives and specialized carts and stuff, trains mod style.
speaking of trains mod, now that 1.3 adds the ability to control minecarts with the arrow keys, how will that affect traincarts? suggestion: create an engine for trains by having a power cart and a standard cart couped really close together (so it looks sorta like it's one big cart), and have the person in the standard cart have control of the rest of the train.
just a thought.
-
View User Profile
-
Send Message
Posted Jul 5, 2012<<reply 793075="">>
Well there is an announce sign system which uses SignLink, probably also works without SignLink.
Eventually I will port TrainCarts to Spout, which will allow me to do the custom sounds and a lot more. Think of different colours carriages and such... :)
<<reply 793070="">>
I updated the WIKI. Basically, just like [!train]. [+train] and [+cart] see themselves as always powered and ignore external redstone power.
<<reply 791109="">>
It can be tricky to set the switcher signs up right. When in doubt, power the sign or use [+train] switcher. Trains will be redirected to switcher signs, other tracks are not toggled.
I'll update this page to link to the right WIKI...separate pages can be a pain.
-
View User Profile
-
Send Message
Posted Jul 4, 2012@lorenzo_p
Set a destination sign somewhere, and then use a property sign on the train to set it's destination...
-
View User Profile
-
Send Message
Posted Jul 4, 2012Hi bergerkiller,
I wish my trains to sound more realistic, so what about putting different sounds onto trains? I thought about mixing this plugin [http://dev.bukkit.org/server-mods/musicservice-play-music-anywhere] with this sheme:
Another idea is to damage/kill mobs/players relative to the speed the train collides to them. But trains should not stop then, they should continue as nothing happened ;) (oops, why is there blood on the rails? Oo ... Not important, we must be on time at the next station...)
Anyway: TrainCarts is a great, powerful plugin. Because I like to construct complex train networks to servers where TrainCarts' trains act like trains in reallife you can say: TrainCarts + me = pure love ^.^ Really great work!
YouTrundle
EDIT: Would be great if there was also a possibility to make sign-controlled station announcements :)
-
View User Profile
-
Send Message
Posted Jul 4, 2012Where can i get info for + mode??
-
View User Profile
-
Send Message
Posted Jul 2, 2012is there a debug mode or anything for signs? I've been trying for many months to get the routing working in my subway. I can get it working in a small test track, then I come back and set it up the same way and can't figure out what prevents it from working. I would absolutely love this plugin if it was easier to get working right. I'm only trying to set a destination on a cart when it leaves the station, then go to wherever it needs to go.
-
View User Profile
-
Send Message
Posted Jul 2, 2012After Update to 1.70 - Not the first cart at all trains dies after Serverrestart , now only the last Cart of only one train dies.
-
View User Profile
-
Send Message
Posted Jul 2, 2012@Dibujaron
Ahhh thank you very much :)
-
View User Profile
-
Send Message
Posted Jul 1, 2012@gabessdsp
the wiki can be found here he never updated the link on this page
-
View User Profile
-
Send Message
Posted Jul 1, 2012How am I supposed to use this plugin if the wiki is broken and I can't give permissions? -_-
-
View User Profile
-
Send Message
Posted Jul 1, 2012@Tobi4426
Pretty sure there's something like that in default properties yml, you can set admin and user properties.
-
View User Profile
-
Send Message
Posted Jul 1, 2012Hey there,
Did you have any luck making a special sign which 'sucks in' nearby players when an empty cart arrives at a station?
The wiki seems a bit outdated now, sadly. :p