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 Aug 14, 2012Could you please make a mode that you can turn on/off for automatic cart connecting? So you can connect carts with an item instead of that they connect atomaticly?
-
View User Profile
-
Send Message
Posted Aug 14, 2012@MCFunBuilder
-
View User Profile
-
Send Message
Posted Aug 14, 2012<<quote>>Zeile 88708: 2012-08-13 05:04:10 [SEVERE] at com.bergerkiller.bukkit.tc.properties.TrainProperties.(TrainProperties.java:28) Zeile 88707: 2012-08-13 05:04:10 [SEVERE] at com.bergerkiller.bukkit.tc.properties.TrainProperties.(TrainProperties.java:45) Zeile 88706: 2012-08-13 05:04:10 [SEVERE] at com.bergerkiller.bukkit.tc.properties.TrainProperties.setDefault(TrainProperties.java:490) Zeile 88705: 2012-08-13 05:04:10 [SEVERE] at com.bergerkiller.bukkit.tc.properties.TrainProperties.setDefault(TrainProperties.java:494) Zeile 88704: 2012-08-13 05:04:10 [SEVERE] at com.bergerkiller.bukkit.tc.properties.TrainPropertiesStore.getDefaultsByName(TrainPropertiesStore.java:207) Zeile 88703: 2012-08-13 05:04:10 [SEVERE] Caused by: java.lang.NullPointerException Zeile 88702: 2012-08-13 05:04:10 [SEVERE] at net.minecraft.server.EntityMinecart.h_(EntityMinecart.java:611) Zeile 88692: 2012-08-13 05:04:10 [SEVERE] at net.minecraft.server.EntityMinecart.collide(EntityMinecart.java:754) Zeile 88691: 2012-08-13 05:04:10 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) Zeile 88688: 2012-08-13 05:04:10 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330) Zeile 88687: 2012-08-13 05:04:10 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source) Zeile 88686: 2012-08-13 05:04:10 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) Zeile 88685: 2012-08-13 05:04:10 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) Zeile 88684: 2012-08-13 05:04:10 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) Zeile 88683: 2012-08-13 05:04:10 [SEVERE] at com.bergerkiller.bukkit.tc.TCListener.onVehicleEntityCollision(TCListener.java:226) Zeile 88682: 2012-08-13 05:04:10 [SEVERE] at com.bergerkiller.bukkit.tc.controller.MinecartMember.getGroup(MinecartMember.java:283) Zeile 88681: 2012-08-13 05:04:10 [SEVERE] at com.bergerkiller.bukkit.tc.controller.MinecartGroupStore.create(MinecartGroupStore.java:37) Zeile 88680: 2012-08-13 05:04:10 [SEVERE] at com.bergerkiller.bukkit.tc.controller.MinecartGroupStore.create(MinecartGroupStore.java:49) Zeile 88679: 2012-08-13 05:04:10 [SEVERE] at com.bergerkiller.bukkit.tc.controller.MinecartGroup.add(MinecartGroup.java:227) Zeile 88678: 2012-08-13 05:04:10 [SEVERE] at com.bergerkiller.bukkit.tc.controller.MinecartGroup.getProperties(MinecartGroup.java:64) Zeile 88677: 2012-08-13 05:04:10 [SEVERE] at com.bergerkiller.bukkit.tc.properties.TrainPropertiesStore.create(TrainPropertiesStore.java:108) Zeile 88676: 2012-08-13 05:04:10 [SEVERE] java.lang.ExceptionInInitializerError Zeile 88675: 2012-08-13 05:04:10 [SEVERE] [Train Carts] You may have to update TrainCarts or look for a newer CraftBukkit build. Zeile 88674: 2012-08-13 05:04:10 [SEVERE] [Train Carts] TrainCarts encountered a critical error and had to be disabled.<<quote>>the server.log
This is Version1.3.1
-
View User Profile
-
Send Message
Posted Aug 13, 2012It seems it's to hard for some people to read things, posted only a side before!
<<quote>>There is a test version up for 1.3.1 on GitHub.https://github.com/bergerkiller/TrainCarts/downloads
If you get any problems, report them.<</quote>> Bergerkiller himself answered this. He is working on a 1.3.1 Version. And yes, the pre-build Version is still buggy but i think he will work hard for his "baby" (traincarts)
-
View User Profile
-
Send Message
Posted Aug 13, 2012@Hydragon1
yesss, please update :)
-
View User Profile
-
Send Message
Posted Aug 13, 2012Plz update to 1.3.1
-
View User Profile
-
Send Message
Posted Aug 13, 2012Zeile 88708: 2012-08-13 05:04:10 [SEVERE] at com.bergerkiller.bukkit.tc.properties.TrainProperties.(TrainProperties.java:28) Zeile 88707: 2012-08-13 05:04:10 [SEVERE] at com.bergerkiller.bukkit.tc.properties.TrainProperties.(TrainProperties.java:45) Zeile 88706: 2012-08-13 05:04:10 [SEVERE] at com.bergerkiller.bukkit.tc.properties.TrainProperties.setDefault(TrainProperties.java:490) Zeile 88705: 2012-08-13 05:04:10 [SEVERE] at com.bergerkiller.bukkit.tc.properties.TrainProperties.setDefault(TrainProperties.java:494) Zeile 88704: 2012-08-13 05:04:10 [SEVERE] at com.bergerkiller.bukkit.tc.properties.TrainPropertiesStore.getDefaultsByName(TrainPropertiesStore.java:207) Zeile 88703: 2012-08-13 05:04:10 [SEVERE] Caused by: java.lang.NullPointerException Zeile 88702: 2012-08-13 05:04:10 [SEVERE] at net.minecraft.server.EntityMinecart.h_(EntityMinecart.java:611) Zeile 88692: 2012-08-13 05:04:10 [SEVERE] at net.minecraft.server.EntityMinecart.collide(EntityMinecart.java:754) Zeile 88691: 2012-08-13 05:04:10 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) Zeile 88688: 2012-08-13 05:04:10 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330) Zeile 88687: 2012-08-13 05:04:10 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source) Zeile 88686: 2012-08-13 05:04:10 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) Zeile 88685: 2012-08-13 05:04:10 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) Zeile 88684: 2012-08-13 05:04:10 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) Zeile 88683: 2012-08-13 05:04:10 [SEVERE] at com.bergerkiller.bukkit.tc.TCListener.onVehicleEntityCollision(TCListener.java:226) Zeile 88682: 2012-08-13 05:04:10 [SEVERE] at com.bergerkiller.bukkit.tc.controller.MinecartMember.getGroup(MinecartMember.java:283) Zeile 88681: 2012-08-13 05:04:10 [SEVERE] at com.bergerkiller.bukkit.tc.controller.MinecartGroupStore.create(MinecartGroupStore.java:37) Zeile 88680: 2012-08-13 05:04:10 [SEVERE] at com.bergerkiller.bukkit.tc.controller.MinecartGroupStore.create(MinecartGroupStore.java:49) Zeile 88679: 2012-08-13 05:04:10 [SEVERE] at com.bergerkiller.bukkit.tc.controller.MinecartGroup.add(MinecartGroup.java:227) Zeile 88678: 2012-08-13 05:04:10 [SEVERE] at com.bergerkiller.bukkit.tc.controller.MinecartGroup.getProperties(MinecartGroup.java:64) Zeile 88677: 2012-08-13 05:04:10 [SEVERE] at com.bergerkiller.bukkit.tc.properties.TrainPropertiesStore.create(TrainPropertiesStore.java:108) Zeile 88676: 2012-08-13 05:04:10 [SEVERE] java.lang.ExceptionInInitializerError Zeile 88675: 2012-08-13 05:04:10 [SEVERE] [Train Carts] You may have to update TrainCarts or look for a newer CraftBukkit build. Zeile 88674: 2012-08-13 05:04:10 [SEVERE] [Train Carts] TrainCarts encountered a critical error and had to be disabled.
When come the new version of train carts? The Beta from GitHub doesn't work ... :( I need this!
-
View User Profile
-
Send Message
Posted Aug 11, 20122012-08-11 23:16:45 [SEVERE] Could not pass event VehicleExitEvent to Train Carts org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.Entity.setPassengerOf(Entity.java:1302) at net.minecraft.server.EntityPlayer.setPassengerOf(EntityPlayer.java:455) at net.minecraft.server.EntityPlayer.mount(EntityPlayer.java:448) at net.minecraft.server.EntityMinecart.c(EntityMinecart.java:897) at com.bergerkiller.bukkit.tc.controller.NativeMinecartMember.c(NativeMinecartMember.java:663) at net.minecraft.server.EntityHuman.m(EntityHuman.java:687) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1007) at net.minecraft.server.Packet7UseEntity.handle(SourceFile:36) at net.minecraft.server.NetworkManager.b(NetworkManager.java:276) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.NoClassDefFoundError: com/bergerkiller/bukkit/tc/TCListener$1 at com.bergerkiller.bukkit.tc.TCListener.onVehicleExit(TCListener.java:133) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330) ... 20 more
-
View User Profile
-
Send Message
Posted Aug 10, 2012I don't use NoLagg, and with the test version 1, trains seem to disappear after a server restart. that reminds me of a previous version, so the bug isn't new. Maybe reminds you, too and helps finding it.
-
View User Profile
-
Send Message
Posted Aug 9, 2012@bergerkiller
I do not use nolagg and the problem exists. also in the 2nd Test version.
-
View User Profile
-
Send Message
Posted Aug 9, 2012<<reply 860368="">>
I uploaded test version 2. It at least reduces the chance of this happening quite a lot. If you use NoLagg, disable the dynamic view distance (useDynamicView), as that appears to be causing that.
-
View User Profile
-
Send Message
Posted Aug 9, 2012@ToddVee
I have the same problem.
-
View User Profile
-
Send Message
Posted Aug 8, 20121. on speed 0.6, a train glitches in walls, seems like the train partly derails. same train at 0.4 seems to almost work perfectly at the same track. however, other highspeed trains work perfect at 1.5 or even 3.0 speed. only difference, the 0.6 train is a subway and there are walls next to the tracks, no space between track and wall (exepc in curves). the highspeed tracks have 1 (3 in curves) free blocks each side. do we have a lead here? 2. although "push away mobs" is set to true, the train would just go right through it, no visual interaction. no errors in the console or something.
-
View User Profile
-
Send Message
Posted Aug 8, 2012@bergerkiller
Sometimes people dissapear in carts they also glitch in walls
-
View User Profile
-
Send Message
Posted Aug 8, 2012There is a test version up for 1.3.1 on GitHub.
https://github.com/bergerkiller/TrainCarts/downloads
If you get any problems, report them.
-
View User Profile
-
Send Message
Posted Aug 8, 2012@Matze0811
He is look at commits on github https://github.com/bergerkiller/TrainCarts/commits/master
-
View User Profile
-
Send Message
Posted Aug 6, 2012Not working with 1.3.1
-
View User Profile
-
Send Message
Posted Aug 6, 2012With the latest CB build
ttp://pastie.org/4398671
-
View User Profile
-
Send Message
Posted Aug 5, 2012@Matze0811
http://forums.bukkit.org/threads/mech-traincarts-v1-71-2-link-minecarts-of-different-types-together-to-form-trains-2222.29491/page-81#post-1259406
-
View User Profile
-
Send Message
Posted Aug 5, 2012It would be nice to know, if Bergerkiller is working on a 1.3.1 Build of his glorious TrainCarts. It's one of the Key-Plugins on our Server.