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 Apr 12, 2013@pnndzwdz
hey there pnn, been following the convo, noticed you mentioned that chairs wasn't working? Have you tried http://dev.bukkit.org/server-mods/chairsreloaded/ instead? I switched to this a few months back, it's working correctly in 1.5.1 for me, and I have another 58 plugins or so running at the same time.
-
View User Profile
-
Send Message
Posted Apr 12, 2013@bergerkiller
I use crafbukkit 1.5.1 R0.2, i think, that was by Bkcommonlib, because, when i restore #64 dev version of traincarts, this problem was still. I Forgot say you, that error crashing my server. Now I restore previous version of traincarts and bkcommonlib
My plugins: traincarts, bkcommonlib, myworlds, signlink, stream remover, world guard, worldedit, worldborder, authme, essentials + group manager, chairs (doesnt work), pistonchest, lavafurnace, keepitems, dynamicban, machinacraft (with this i have a problems , but rather of plugin faults), wirelessredstone, iconomy7, chestshop, openinv, easyelevator, claygen, vault, blift
-
View User Profile
-
Send Message
Posted Apr 12, 2013@pnndzwdz Hmn so it is still happening. What server software are you using? Spigot? CraftBukkit(plusplus), Libigot? Might be of importance.
@Etsija Ok, I'll look into it at some point.
-
View User Profile
-
Send Message
Posted Apr 11, 2013@bergerkiller: created a new ticket about a small-ish whitespace bug you have in the announcement signs. The problem is a bit annoying, but probably requires only a single-line fix.
-
View User Profile
-
Send Message
Posted Apr 11, 2013@bergerkiller
-
View User Profile
-
Send Message
Posted Apr 11, 2013@bergerkiller
add me in skype (plrafaelpl)
-
View User Profile
-
Send Message
Posted Apr 11, 2013@RafaelPL Ok first of all, see if disabling uCars solves any issues. It is minecart-related, so there is a chance it conflicts. If it is proven to be the cause: don't worry, I can add support.
Other than that it's all fine, so if this isn't it, it must be something else.
(Note: See if JUST running TrainCarts + BKCommonLib solves this bug. If not, then it is not an incompatibility)
-
View User Profile
-
Send Message
Posted Apr 11, 2013@bergerkiller
ImgMap, NocheatPlus, AntiCuss, MidiBanks, TabChange (author's), FishingPlus, PermissionsEx, Trampoline, ProtocolLIB, ZavAutoMessager, WorldEdit, Vault, Lift, CommandHelper, TabAPI, JoinMassage, Citizens, Essentials, Mutliverse-Core, EssentialsSpawn, uCars, BKCommonLIB, WorldGuard, LWC, EssentialsChat, Quester, CommandSigns, Train Carts.
-
View User Profile
-
Send Message
Posted Apr 10, 2013@RafaelPL Hmmm all right, I'll try to inspect the code further to see if there is anything that can cause this. Just in case, can you pastebin a list of plugins running on the server?
@Etsija Fixed your issue (hopefully) in the latest BKC build.
@pnndzwdz Fixed your issue (hopefully) in the latest TrainCarts build. It now has some extra checks to avoid groups adding unloaded minecarts.
-
View User Profile
-
Send Message
Posted Apr 10, 2013@bergerkiller
still the same :(
-
View User Profile
-
Send Message
Posted Apr 10, 2013@RafaelPL Well it DOES matter, you have two powered stations next to each other. When the train enters the first one, it then enters the other one. Remove either station and see what the results are, it can make a difference.
@pnndzwdz No problem, that is why I made the commenting practises page. :) Anyway, I have to thank you for reporting this, because the bug was deep into the system. It may have affected a lot more than just this.
@Etsija Do you use Spout? What server software do you use? It is kind of strange that it fails to identify the Player as a CommonPlayer type, so something must be up with the Player handle that is used.
-
View User Profile
-
Send Message
Posted Apr 10, 2013@Etsija
This seems to happen when a player is ejected over an eject sign, if I am correct.
-
View User Profile
-
Send Message
Posted Apr 10, 2013We just upgraded our server to 1.5.1; in the process, upgraded into latest devbuilds of BKCommonLib and TrainCarts. Now started to get these: http://pastebin.com/4afHVTDs
-
View User Profile
-
Send Message
Posted Apr 10, 2013@bergerkiller
Sorry, I didnt know about pasting sevice ;(
Rafael ja również z polski ;D
-
View User Profile
-
Send Message
Posted Apr 10, 2013@bergerkiller
Because it is one of the largest Polish servers. But it does not matter just tell me how it was going to do: '( Sry for my EN ;p
-
View User Profile
-
Send Message
Posted Apr 10, 2013@pnndzwdz Next time, please use a pasting service.
Your error.
And I will look into it.
@RafaelPL Hmm two stations? Why exactly?
-
View User Profile
-
Send Message
Posted Apr 10, 2013@bergerkiller Station: http://scr.hu/0gfr/i61ie Redstone: No
-
View User Profile
-
Send Message
Posted Apr 10, 2013@RafaelPL A standard station did not fail to function, do you have anything such as redstone clocks or anything near that station that is required to make it function? What type of station is it?
-
View User Profile
-
Send Message
Posted Apr 10, 2013@bergerkiller
I wait for fix version :)
-
View User Profile
-
Send Message
Posted Apr 10, 2013@pnndzwdz You can use /train reroute to do this as well, it recalculates all the path finding logic. The recalculation logic caused by rails/sign placement is never 100% accurate, so if you change tracks, you will have to use that command to avoid errors.