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 Mar 24, 2013Another thing I'm getting... Yeah, the train spawns. But it doesn't move. It just spawns it and stays still. Lol
-
View User Profile
-
Send Message
Posted Mar 24, 2013Okay I just did a tiny bit of testing with the latest devs of TC and BKcl - the routing issue still seems present... the destination is a few hundred blocks away from the departure train station, a train would have to pass through 5 intersections to arrive.
An annoying little 'glitch' ... a train from the right (relative to the sign text - the sign is under the track) passes over ( [+train:left] | destroy ) and gets destroyed. I don't think this should happen!
-
View User Profile
-
Send Message
Posted Mar 24, 2013@bergerkiller
Wow thanks, I'll let you know if it works tomorrow - it's quite late for me now, must go to bed!
If I can't get into work due to bad weather (snow & ice everywhere!), I'll test it first thing in the morning.
(also, don't forget to update version/bukkit build info at the start of the plugin description :P )
-
View User Profile
-
Send Message
Posted Mar 24, 2013Changes from last announcement to the latest build, build #24:
@andrewvpo Please try this latest development build, in combination with the latest BKCommonLib build, and see if your issue is still happening. My test-setup of destinations now works, it was indeed broken. This was not related to destinations, but to the switcher logic.
New feature
Allows you to set the blocks displayed in minecarts. For example, you can make a train with alternating grass/dirt/wood blocks. The format on the third and fourth lines is the same as on transfer signs.
See also this link.
-
View User Profile
-
Send Message
Posted Mar 24, 2013If you could fix pathfinding (in large networks) for the 1.5 version, I'd admire you forever!
-
View User Profile
-
Send Message
Posted Mar 24, 2013@bergerkiller
The destroyall empty train command would be really nice. My server is setup as a service, and everything is done via screen+cronjobs, and sometimes someone will mess something up and tons of trains get spawned and slow stuff down, so I could have it remove the empty trains every now and then without kicking anyone riding a working train out of it. Lol :)
-
View User Profile
-
Send Message
Posted Mar 24, 2013@therealduckie Haven't been added (yet), I was thinking of adding support for statements in the /train destroyall command. Then you can use /train destroyall empty to destroy all empty trains.
@Daikenkaiking Destinations, for some reason, always starts failing on new versions, so this is no surprise. Probably some naming error somewhere that messes things up. I know of the destroying thing, part of my move to controllers. Has to do with damageEntity not always killing the entity - slightly annoying.
-
View User Profile
-
Send Message
Posted Mar 23, 2013Well I'm not sure what everyone below is saying "Working great in 1.5.1 now" unless they're rockin non-automated routing systems. Because I have a large rail network, sidings and everything, 15+ destinations and and detector regions and such. It's always worked, but now that I've upgraded, I can at least spawn the trains! Whoop...
However, even after switching track positions around and multiple reroutes, they pretty much pick a random destination to go to. And thats if they even get to the destination, most times they derail via going off in a direction without a track at a siding, and thats that. Game over. haha
I've tried from multiple locations along the rail system, it's all pretty much completely random. The same station-takeoff will go to one destination one time, and another one the next time...
Other than that, so far so good. I'll mess around and see if I can find anything else, or a mistake in my workings. Though trains be going off in directions that don't even have rails, so I'm thinking it's probably not that. haha
Great work though man! Appearance it big time! Making railway transportation on our world is my addiction, Train Carts makes Minecraft 5x better. haha :)
EDIT: Oh yeah, and destroying a cart via a sword/ect drops an item again, even when set not to. :)
-
View User Profile
-
Send Message
Posted Mar 23, 2013Forgive me. I checked the Wiki and maybe I did not see it, but - Is there a command I can use with a commandblock to clear all idle carts on the server? Just having a sign will not work as our tracks are extra long in some places and Minecarts stack up in the hundreds from Guests placing them.
I saw a request for this feature from last year, but did not see any commands in the Wiki.
Thanks for any help you can offer. Working great in 1.5.1, now!
-
View User Profile
-
Send Message
Posted Mar 23, 2013hey wanneer kom de volgende update van de train carts alvast bedankt gr.Het staff team van eftelingcraft
-
View User Profile
-
Send Message
Posted Mar 23, 2013My trains are moving! Thanks BK!
Having some funny issues with my stations though. I don't use the routing feature, so my stations just handle trains as they come.
I have a 'MMMP' train that's getting hung up on (station | 2 | west) in this example. The first two cars make it past the station sign, but once the remaining cars roll over it, the train stops and backs up (only to start west again once the 'lead' has reached that station sign). If I run a train with only two cars it does not have this problem. I'm using powered track, one powered car and empty passenger carts.
Hope I offered some helpful information!
-
View User Profile
-
Send Message
Posted Mar 22, 2013@Daikenkaiking Yeah spawning wasn't implemented yet.
Notice: Updating to 1.5.1 R0.1 is nearly complete. I fixed various bugs in BKCommonLib regarding the new Entity controllers, and all seems to be working well now. TrainCarts now supports hopper/TNT minecarts in it's full extent, the spawner sign will also get the new minecart types.
I only have to look at several things, which appear to be broken, or somewhat broken:
Activator rail is all fully implemented in the latest development build of TrainCarts and BKCommonLib. In that build, there are also fixes for various kinds of errors that were occurring. It appears to be stable, so if you want to try it out, feel free to do so.
-
View User Profile
-
Send Message
Posted Mar 22, 2013@colefrick
Try installing the latest release first, get it to generate the files and folders you are looking for then switch the Jar to the newest Dev... BkCommonLib won't generate any other folders/files at all, it's just a Jar. So there is no worries there..
-
View User Profile
-
Send Message
Posted Mar 22, 2013@martijn12807
This is updated, it just hasn't been approved yet. Check the development builds. There's nothing berger can do about getting anything approved any faster than what Bukkit will do... So just because the released information isn't labeled updated, doesn't mean the plugin isn't.
-
View User Profile
-
Send Message
Posted Mar 22, 2013I've updated TrainCarts, NoLagg, and BKCommonLib, as well as CraftBukkit, to the latest devs, and everything works...until I push a button to spawn a train again. Then it throws an errror.
However, I am using MagicTorches to spawn them, but I'm almost certain that isn't the problem as we have tons of other non-TrainCarts thigns with MagicTorches that are working just fine without throwing errors. It's something to do with the redstone by the looks of the error:
http://pastebin.com/98DCEDjK Or is that what a "minecart mobspawner" is considered?
-
View User Profile
-
Send Message
Posted Mar 22, 2013The latest development builds of TrainCarts and BKCommonLib work, and you need CraftBukkit 1.5.1 R0.1. (yeah, they started a new dev-build, isn't it nice?)
I am now working on getting the hopper/tnt/mobspawner minecarts fully implemented in TrainCarts.
-
View User Profile
-
Send Message
Posted Mar 22, 2013update plzzzzz
-
View User Profile
-
Send Message
Posted Mar 22, 2013@sakura_blades
I have attempted to find any more updated versions, it seems nothing is working..Neither BK or Train Carts create their own folders...Trying to figure this out is impossible
-
View User Profile
-
Send Message
Posted Mar 22, 2013@stanneman99
You're Craftbukkit looks up to date, I can't see a version for your Train Carts and I see nothing about BkcommonLib. It was Bk where my problem was, the #17 build thats linked to Train carts didn't work for me, I had to get like #23 or #24.. Whichever you'll find now.
It doesn't hurt to double check that you have the latest files, I thought I had everything the latest too.. But I was surprised when I found a few newer versions for Bk! I remember trying it the first time with #17 and it just not working at all...
-
View User Profile
-
Send Message
Posted Mar 22, 2013I have tried Dev Build after Dev Build for a little while now and none of them seem to be working at all! I can't get the carts to connect, the stations aren't working either... Everything I need for this is up-to-date too... ><;
EDIT: Nevermind! I was apparently behind on something or another, when i updated a few things it fixed. We'll see if i run into any of the problems i've been reading below though. :\
EDIT2: I am also having trouble getting the [Train] station to work properly. It is trying to launch the train but then it just goes back again after inching forward as if it were just arriving. :\
@Neusor
"The spawner sign is broken/disabled right now because I need to decide on a good way to spawn entities first."