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 30, 2013@Etsija
I'm not the official dev, but I believe that if you have your track pathed right, that is completely possible. For we have rails on our server that auto spawn carts, collect items and then deposit them. And this all works whether we're "There" or not, so I think persistence works fine.
-
View User Profile
-
Send Message
Posted Mar 30, 2013Hmm, trying to set up a persistent train system by having a "[+train] / spawn 1:00 2 / mmm" spawner spawning trains at regular 1:00 intervals at one end, and a destroyer at other end (several chunks away).
The whole system seems to work quite randomly, and the trains stop moving somewhere in between.
What am I missing; or, is the whole "persistency" thing severely broken? We are still using a version from some months back, so that might be an issue.
Actually, Leagris, would it be possible to visit your server once again to see how it's done right? Assuming you have it working...
-
View User Profile
-
Send Message
Posted Mar 30, 2013Howdy, long time no see. I've been busy elsewhere, but our server and its TrainCarts use is still very active...and what do my weary eyes see - bergerkiller you're back? That's great!
I have one question; mainly for Leagris: is TrainCarts currently in a condition which would enable us to create a "real metro" kind of system, as per SphereVille? We'd like to start planning on a system with persistent, multi-cart trains going periodically between the stations.
-
View User Profile
-
Send Message
Posted Mar 29, 2013Allrighty, I finally managed to break through the annoyance called train teleportation. Cross-world, long-distance and short-distance, with passenger, train teleportation is now possible again.
I will look into stations, pathfinding and also, redstone related aspects, tomorrow.
-
View User Profile
-
Send Message
Posted Mar 29, 2013@bergerkiller
Haters are gunna hate man. Fact is traincarts is a fantastic mod and we all love it. You take the time you need to make it the mod its always been and forget anyone whining about builds. You've done your job well with dev builds.
-
View User Profile
-
Send Message
Posted Mar 27, 2013Yeah, just chill guys. Coding is no easy task. TrainCarts is "working" per-say, minus the station signs not starting the trains so they stay still.
So while we wait for them to update the plugin on their free, unpaid time, how about you just work on the railway part of your system? Or maybe build some new stations or branches so that when it is updated and fixed, you have a bunch more stuff already built instead of just complaining until it's built?
Personally, I've been just working on my town(s) vs. make huge rail networks. Just find something else to do, there are other things minus the trains. :)
-
View User Profile
-
Send Message
Posted Mar 27, 2013@w208142002 Oh that's fine, as long as it does make clear that they can come here for any questions. This prevents possible misunderstandings when non-authors are trying to answer questions only the authors really can answer. :)
@Just4Gamezzz @martijn12807 The more you whine for updates the less developers want to update, I hope you are aware of this. It stimulates working on it the first 2 times, but after that you feel more and more like quitting development altogether. So for future reference: stop it. Now. Developers do not like it, and it will only make the developer less willing to update.
Also, if you actually wanted an update you would know that there are development builds already. How big should I make that banner? Should it cover the entire screen so you whiners FINALLY understand it?
-
View User Profile
-
Send Message
Posted Mar 27, 2013plzzzz update
-
View User Profile
-
Send Message
Posted Mar 26, 2013@Just4Gamezzz
Can you please stop being ignorant? o.O
-
View User Profile
-
Send Message
Posted Mar 26, 2013Hello! I am a Taiwanese. First, thanks to you that made this awesome plugin. TrainCarts solved many problems about players and items' transportation. So I want to write an article about introduction and utilities of TrainCarts in Traditional Chinese and put it at a Taiwan forum because some people is not good at English. I thought I need to obtain your permission about this.I will indicate this plugin's authors and where it's from.
And sorry my poor English...
-
View User Profile
-
Send Message
Posted Mar 26, 2013Can you please update :D
-
View User Profile
-
Send Message
Posted Mar 26, 2013@roughcut33
1) Please a use a pastebin or pastie link
2) That build is for 1.5.1 not 1.5
-
View User Profile
-
Send Message
Posted Mar 26, 2013@w208142002
Ejection direction does not work (yet) with negative integer.
Fortunately, it is relative to the sign orientation, so placing your eject sign at right the side of the track will allow you to eject the player anywhere to the left. Example coordinates to eject 1 block to the left by placing the sign at the right side of the track:
Sign placement: Looking downward
-
View User Profile
-
Send Message
Posted Mar 26, 2013Hello,I have some problem about ejector.I want the passenger can be ejected at the left hand side of the train,but I configured the syntax on the sign so many times,it always ejects the the passenger at the right hand side of the train.I tried both positive and negative values at the third line on the sign,but it doesn't work. So what should I do to solve this problem or my syntax has something wrong? my syntax:
[train] eject 5/0/0 0/0
or [train] eject -5/0/0 0/0
-
View User Profile
-
Send Message
Posted Mar 25, 2013Now it's impossible to launch a train from a station with a button. It goes forward, but when the redstone pulse ends it goes back.
-
View User Profile
-
Send Message
Posted Mar 25, 2013Hi, there is a problem, when i start the server.
CB: 1.5 R0.1 BK: dev #37 or #39 (maybe more, but i tried this) TK: all dev Builds
2013-03-25 23:00:11 [SEVERE] org/bukkit/craftbukkit/v1_5_R2/inventory/CraftItemS tack initializing BKCommonLib v1.51 (Is it up to date?) java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/v1_5_R2/inventory/CraftIt emStack at com.bergerkiller.bukkit.common.conversion.type.WrapperConverter.<clin it>(WrapperConverter.java:214) at com.bergerkiller.bukkit.common.conversion.type.ConversionTypes.<clini t>(ConversionTypes.java:90) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at com.bergerkiller.bukkit.common.Common.loadClasses(Common.java:100) at com.bergerkiller.bukkit.common.internal.CommonClasses.init(CommonClas ses.java:13) at com.bergerkiller.bukkit.common.internal.CommonPlugin.onLoad(CommonPlu gin.java:346) at org.bukkit.craftbukkit.v1_5_R1.CraftServer.loadPlugins(CraftServer.ja va:244) at org.bukkit.craftbukkit.v1_5_R1.CraftServer.<init>(CraftServer.java:21 7) at net.minecraft.server.v1_5_R1.PlayerList.<init>(PlayerList.java:56) at net.minecraft.server.v1_5_R1.DedicatedPlayerList.<init>(SourceFile:11 ) at net.minecraft.server.v1_5_R1.DedicatedServer.init(DedicatedServer.jav a:105) at net.minecraft.server.v1_5_R1.MinecraftServer.run(MinecraftServer.java :381) at net.minecraft.server.v1_5_R1.ThreadServerApplication.run(SourceFile:5 73) Caused by: java.lang.ClassNotFoundException: org.bukkit.craftbukkit.v1_5_R2.inve ntory.CraftItemStack at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader .java:70) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:53) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 14 more
So what to do please
-
View User Profile
-
Send Message
Posted Mar 25, 2013@TheAngryMonkey
You stop making useless comments, take a deep breath and edit your 'problem' report to include your CraftBukkit build number, TrainCarts version & BKC version.
Also go to your server console and copy the internal error stack trace to here.
-
View User Profile
-
Send Message
Posted Mar 25, 2013Hi I would like to report a problem when I do /train it says internal error what do I do
-
View User Profile
-
Send Message
Posted Mar 25, 2013Hi,
This Problem occurs when a Minecart stores items ito a chest.
-
View User Profile
-
Send Message
Posted Mar 25, 2013@Daikenkaiking
Confirmed. Routing seems to work, but spawn signs only spawn. No initial speed. Using latest BK & TC devbuilds on CB151