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 Sep 13, 2012I have a problem that when I switch off at the station that the train ride away? He blifjt just stand? What can I do about it?
-
View User Profile
-
Send Message
Posted Sep 12, 2012@Daikenkaiking
All i did was upgrade from 1.3.1-R2.0 using 1.71.1 to 1.3.2-R0.1 using 1.71.5. Its the same issue as reported on ticket #73.
-
View User Profile
-
Send Message
Posted Sep 11, 2012@TheTaleteller
My entire railway system is ran using station signs with redstone signals, and it works just fine (Minus the current detector bug, but the redstone system is flawless). I'd say it's probably something you're doing, the 30+ station signs on my railway system are okay.
-
View User Profile
-
Send Message
Posted Sep 11, 2012With 1.71.5 and CB 1.3.2-R0.1 stations dont work for me anymore as before.
I use to have simple ...
... signs in the middle of a track, powered on both sides to stop the cart, having two Buttons to choose the direction of choice. station signs with delay parameter still work, but those dont.
It looks like the sign does not respond to redstone signal changes anymore.
-
View User Profile
-
Send Message
Posted Sep 10, 2012@andrewvpo
I too have an issue where players will randomly take damage when riding certain sections of rails. Not a certain block, but generally the same areas do it. And it's when the player is out in the open as well, no blocks on the side or anything.
-
View User Profile
-
Send Message
Posted Sep 10, 2012Hey there, thanks so much for your continued development of this awesome plugin :) I sometimes experience an issue under 1.71 where players start taking damage due to their carts going off the rails (It's still vaguely following the railway track, but offset from the track by a few blocks floating in the air) - If you could look into that I'd be very grateful.
Thank-you! =D
-
View User Profile
-
Send Message
Posted Sep 7, 2012[Sign] switcher empty
doesnt work anymore?!! :(
-
View User Profile
-
Send Message
Posted Sep 5, 2012@matze0811
It would be nice if it was as easy as that, but "unfortunately", I did everything correct. I stopped the server, replaced the .jar, started the server. Everytime when I stop it, the error occurs. And it is especially weired because I downloaded 1.71.5, yet it says 1.71.4.
-
View User Profile
-
Send Message
Posted Sep 5, 2012@T4LGoose
I'm still saying, there ARE running 1.3.1 Versions of Traincarts. If you follow the Links to Berger's Github, you'll find Milestones, running with 1.3.1
-
View User Profile
-
Send Message
Posted Sep 5, 2012@ToddVee
Are you sure, you're using 1.71.5?
...2012-09-04 16:52:26 [SEVERE] Error occurred while disabling Train Carts v1.71.4... is from your server-log, and it says you are using the 1.71.4 developement version.
Do this message occure everytime you shut-down the server? Did you copy the new version into your plugins-directory BEFORE you shutdown? if yes, thats the reason for this message!
-
View User Profile
-
Send Message
Posted Sep 4, 2012I use Traincarts version 1.71.5, however THIS message occurs when disabeling (shutting down the server)
2012-09-04 16:52:26 [SEVERE] Error occurred while disabling Train Carts v1.71.4 (Is it up to date?) java.lang.NoClassDefFoundError: com/bergerkiller/bukkit/tc/pathfinding/PathNode$2 at com.bergerkiller.bukkit.tc.pathfinding.PathNode.deinit(PathNode.java:289) at com.bergerkiller.bukkit.tc.TrainCarts.disable(TrainCarts.java:389) at com.bergerkiller.bukkit.common.PluginBase.onDisable(PluginBase.java:202) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:219) ...
-
View User Profile
-
Send Message
Posted Sep 3, 2012@Daikenkaiking
That was more for Matze0811, since he said it worked with 1.3.1
-
View User Profile
-
Send Message
Posted Sep 3, 2012Would it be possible to make the Teleporter sign working with Multiverse? Or maybe even without another plugin just so we can use it in the same world don't have to go to other worlds.
-
View User Profile
-
Send Message
Posted Sep 3, 2012-03 11:35:30 [INFO] Preparing spawn area: 81% 2012-09-03 11:35:30 [INFO] [Train Carts] Enabling Train Carts v1.71.5 2012-09-03 11:35:30 [INFO] [Configuration] File 'plugins\Train Carts\PermissionDefaults.yml' has been generated 2012-09-03 11:35:31 [INFO] [Configuration] File 'plugins\Train Carts\config.yml' has been generated 2012-09-03 11:35:31 [INFO] [Configuration] File 'plugins\Train Carts\DefaultTrainProperties.yml' has been generated 2012-09-03 11:35:31 [INFO] [Train Carts] Loading chunks near trains... 2012-09-03 11:35:31 [SEVERE] Error occurred while enabling Train Carts v1.71.5 (Is it up to date?) java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/util/LongObjectHashMap at com.bergerkiller.bukkit.tc.storage.OfflineGroupMap.<init>(OfflineGroupMap.java:15) at com.bergerkiller.bukkit.tc.storage.OfflineGroupManager.<init>(OfflineGroupManager.java:108) at com.bergerkiller.bukkit.tc.storage.OfflineGroupManager.get(OfflineGroupManager.java:43) at com.bergerkiller.bukkit.tc.storage.OfflineGroupManager.get(OfflineGroupManager.java:49) at com.bergerkiller.bukkit.tc.storage.OfflineGroupManager.initChunks(OfflineGroupManager.java:337) at com.bergerkiller.bukkit.tc.storage.OfflineGroupManager.init(OfflineGroupManager.java:326) at com.bergerkiller.bukkit.tc.TrainCarts.enable(TrainCarts.java:325) at com.bergerkiller.bukkit.common.PluginBase.onEnable(PluginBase.java:179) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:365) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:265) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:247) at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:296) at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:275) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:380) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.ClassNotFoundException: org.bukkit.craftbukkit.util.LongObjectHashMap at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 19 more
I used craftbukkit 1.3.1-R1.0.
-
View User Profile
-
Send Message
Posted Sep 2, 2012New version is up. (the one here is a bit outdated I see...)
Reminder: you can find the latest builds on GitHub. The download approval stuff of dev bukkit is very very slow...not sure why they still do that in the first place...
Anyhow, there are several changes, some of them being bugfixes. New features:
Effect sign - play particle/sound effect at the sign or in minecarts
Train count readout using /train list
* Can click eject signs to exit the minecart
There may be others I forgot, did some feature requests lately...
http://www.minecraftwiki.net/wiki/Bukkit/TrainCarts/Signs/Effect
-
View User Profile
-
Send Message
Posted Sep 1, 2012@T4LGoose
Thats because it requires the 1.3.2 R0.1 beta. ;) "TrainCarts version 1.71.4 (CB 1.3.2 R0.1) "
A for effort though ;P
-
View User Profile
-
Send Message
Posted Sep 1, 2012Latest version of this plugin from the github download page with 1.3.1 R2:
01.09 22:05:06 [Server] INFO ... 19 more 01.09 22:05:06 [Server] INFO at java.lang.ClassLoader.loadClass(Unknown Source) 01.09 22:05:06 [Server] INFO at java.lang.ClassLoader.loadClass(Unknown Source) 01.09 22:05:06 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) 01.09 22:05:06 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:34) 01.09 22:05:06 [Server] INFO Caused by: java.lang.ClassNotFoundException: org.bukkit.craftbukkit.util.LongObjectHashMap 01.09 22:05:06 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) 01.09 22:05:06 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378) 01.09 22:05:06 [Server] INFO at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140) 01.09 22:05:06 [Server] INFO at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225) 01.09 22:05:06 [Server] INFO at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:275) 01.09 22:05:06 [Server] INFO at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:296) 01.09 22:05:06 [Server] INFO at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:247) 01.09 22:05:06 [Server] INFO at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:265) 01.09 22:05:06 [Server] INFO at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) 01.09 22:05:06 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:365) 01.09 22:05:06 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) 01.09 22:05:06 [Server] INFO at com.bergerkiller.bukkit.common.PluginBase.onEnable(PluginBase.java:179) 01.09 22:05:06 [Server] INFO at com.bergerkiller.bukkit.tc.TrainCarts.enable(TrainCarts.java:333) 01.09 22:05:06 [Server] INFO at com.bergerkiller.bukkit.tc.storage.OfflineGroupManager.init(OfflineGroupManager.java:326) 01.09 22:05:06 [Server] INFO at com.bergerkiller.bukkit.tc.storage.OfflineGroupManager.initChunks(OfflineGroupManager.java:337) 01.09 22:05:06 [Server] INFO at com.bergerkiller.bukkit.tc.storage.OfflineGroupManager.get(OfflineGroupManager.java:49) 01.09 22:05:06 [Server] INFO at com.bergerkiller.bukkit.tc.storage.OfflineGroupManager.get(OfflineGroupManager.java:43) 01.09 22:05:06 [Server] INFO at com.bergerkiller.bukkit.tc.storage.OfflineGroupManager.<init>(OfflineGroupManager.java:108) 01.09 22:05:06 [Server] INFO at com.bergerkiller.bukkit.tc.storage.OfflineGroupMap.<init>(OfflineGroupMap.java:15) 01.09 22:05:06 [Server] INFO java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/util/LongObjectHashMap 01.09 22:05:06 [Server] SEVERE Error occurred while enabling Train Carts v1.71.4 (Is it up to date?)
-
View User Profile
-
Send Message
Posted Sep 1, 2012@craftmen1997
Did you read any post here? Or did you posted without any reason?. Here are a lot of Comments, linked to the latest Dev-Build of Traincarts Plugin, which runs fine with the latetest bukkit-builds, including 1.3.1-R2 and 1.3.2 beta and so on. Please read the posts and follow the links.
-
View User Profile
-
Send Message
Posted Sep 1, 2012Hi can u make train carts plugin for minecraft 1.3.1. We built big railroad system on our server for minecraft 1.2.5, but now it doesn´t work, beacuse our server is now version 1.3.1 So we need this plugin. Please, make it for us! Thank you. Craftmen1997 server:Moderncraft
-
View User Profile
-
Send Message
Posted Aug 31, 2012@Flenix1
What do you mean with "data wiped" ? I never had issues with storage carts.