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 22, 2013The train spawners dont work in train carts version R v1.72.6
-
View User Profile
-
Send Message
Posted Mar 22, 2013I am getting an error al the time i startup my server. http://pastebin.com/tXYAnvBv Please help me!! I have al the latest dev builds.
-
View User Profile
-
Send Message
Posted Mar 21, 2013Hey, not sure if this holds any merrit since i'm running the newest DEV build of bukkit, traincarts and BKCommonLib.
Anyhow, everything is working as it should except for 1 thing, the actual trains.
When a train enters a station, things go fine but when it tries to exit the station, each cart that crosses the station sign makes it think that the train is just entering the station.
So, on launch, the train will move 1 block forward, then back into station again.
Single carts behaves as intended though, stopping at station and launching in the right direction.
-
View User Profile
-
Send Message
Posted Mar 20, 2013I'm getting this with the latest Nolagg, BKCommonLib, and Traincarts: http://pastebin.com/bURWFAGu
EDIT: That probably has something to do with the spawner signs being disabled though, eh? haha EDIT2: And note, this means I can't spawn anything. Anytime I push a button to spawn a train, I get spammmmmmmmed with that message over 20+ times. Lol
-
View User Profile
-
Send Message
Posted Mar 20, 2013All right, hopper/tnt/furnace/storage/rideable minecarts are now all supported, network synchronization is back in, and I am now working on getting everything bug-free again.
The spawner sign is broken/disabled right now because I need to decide on a good way to spawn entities first.
One known bug that is a bit vague: When minecarts move faster than 1.2 blocks/tick, and they hit a curve, they derailed badly, but then virtual. On the server it is correct, on the client it glitches out. I am not sure of how I am going to fix it, as it is clearly a Client bug. Maybe send extra adjustment packets in curves.
Please report any bugs you have. The latest development builds of BKCommonLib and TrainCarts are stable, but not fully tested.
-
View User Profile
-
Send Message
Posted Mar 20, 2013Latest dev build works with the latest bkcommonlib build :)
-
View User Profile
-
Send Message
Posted Mar 20, 2013@bergerkiller
Trying to break a [train] destination... sign under a rail track sets the destination of the last minecart you selected rather than removing the sign.
-
View User Profile
-
Send Message
Posted Mar 20, 2013@stuffer999
Hi there, please familiarise yourself with the recent comments and stop being lazy!
-
View User Profile
-
Send Message
Posted Mar 20, 2013Hi there. Is it possible to update to 1.5 yet as this plugin is kind of crucial to my server. Thanks!
-
View User Profile
-
Send Message
Posted Mar 20, 2013@andrewvpo I don't think it exists, anyway, it doesn't matter much - long paths can't crash the server. It will just take more than one tick to go by this long route.
Also, the latest development build barely works, I am mainly working on getting things done in BKCommonLib, all I've done in TC thus far is keep things compatible.
-
View User Profile
-
Send Message
Posted Mar 19, 2013So I've updated nolagg, Traincarts, and bkcommonlib to the latest dev builds, yet I'm still getting this TC error: http://pastebin.com/L0h6LH8X
Is there a certain craftbukkit build I need to use? Or whats going on here? I updated all nolagg, tc, and bk to the latest dev. That didn't work, so I updated craftbukkit to the latest dev and it gives me that error but loads bk and nolagg. Gahhh Lol
EDIT: Whoops, scratch that. Thats not the right error. This is: http://pastebin.com/3iTM0GSL Other than that, no other errors. It says "loading traincarts at the start", does a bunch of other plugin stuff, then it throws that error. Sorry about the wrong one linked above. Lol
-
View User Profile
-
Send Message
Posted Mar 19, 2013@bergerkiller
(I might be going crazy, but...) I seem to remember there once being a configuration value for the amount of blocks the path finding system will travel down a rail network when looking for a certain destination - but I could only find a similar setting for detector regions... did that get removed? did it ever exist?
-
View User Profile
-
Send Message
Posted Mar 19, 2013@therealduckie
TrainCarts was pretty mcuh dead when 1.5 released
BergerKiller has been working on it and the latest dev build from jenkins should work
Also make sure to use the latest jenkins build from BKCommonLib
-
View User Profile
-
Send Message
Posted Mar 19, 2013Ok, using 1.76.2 TC with 1.5.1 dev build of BKCommonLib says it loads:
1:53:40 PM Train: Carts] Loading Train Carts v1.72.6 1:53:40 PM EssentialsChat: Loading EssentialsChat vPre2.10.1.4 1:53:40 PM BKCommonLib: Enabling BKCommonLib v1.51 1:53:40 PM BKCommonLib: BKCommonLib is running on Minecraft v1_5_R1
When i launch a minecart from a button, I get this error and no minecart shows up:
http://pastebin.com/fXDdD5hj
Forgot to mention I am using bukkit 1.5 dev - I assumed by other responses it was ok to try it on 1.5 now. If not, ignore my post.
-
View User Profile
-
Send Message
Posted Mar 19, 2013@jessefjxm What BKCommonLib version are you using? (You need 1.5 from dev-bukkit)
-
View User Profile
-
Send Message
Posted Mar 18, 2013Error report using spigot 1.5R0.1 snapshot
2013-03-19 13:50:22 [INFO] [Train Carts] Enabling Train Carts v1.72.5 2013-03-19 13:50:22 [SEVERE] Error occurred while enabling Train Carts v1.72.5 (Is it up to date?) java.lang.NoClassDefFoundError: Could not initialize class com.bergerkiller.bukkit.common.conversion.Conversion at com.bergerkiller.bukkit.common.utils.ParseUtil.convert(ParseUtil.java:542) at com.bergerkiller.bukkit.common.config.ConfigurationNode.get(ConfigurationNode.java:518) at com.bergerkiller.bukkit.common.config.ConfigurationNode.get(ConfigurationNode.java:506) at com.bergerkiller.bukkit.common.PluginBase.loadPermission(PluginBase.java:301) at com.bergerkiller.bukkit.common.PluginBase.loadPermission(PluginBase.java:288) at com.bergerkiller.bukkit.common.PluginBase.loadPermission(PluginBase.java:256) at com.bergerkiller.bukkit.common.PluginBase.loadPermissions(PluginBase.java:245) at com.bergerkiller.bukkit.tc.TrainCarts.permissions(TrainCarts.java:461) at com.bergerkiller.bukkit.common.PluginBase.onEnable(PluginBase.java:609) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:383) at org.bukkit.craftbukkit.v1_5_R1.CraftServer.loadPlugin(CraftServer.java:304) at org.bukkit.craftbukkit.v1_5_R1.CraftServer.enablePlugins(CraftServer.java:286) at net.minecraft.server.v1_5_R1.MinecraftServer.j(MinecraftServer.java:309) at net.minecraft.server.v1_5_R1.MinecraftServer.e(MinecraftServer.java:288) at net.minecraft.server.v1_5_R1.MinecraftServer.a(MinecraftServer.java:248) at net.minecraft.server.v1_5_R1.DedicatedServer.init(DedicatedServer.java:154) at net.minecraft.server.v1_5_R1.MinecraftServer.run(MinecraftServer.java:387) at net.minecraft.server.v1_5_R1.ThreadServerApplication.run(SourceFile:573)
-
View User Profile
-
Send Message
Posted Mar 18, 2013@andrewvpo No ideas, but I'll keep it in mind for the next update of TC. Currently working on getting entity replacement working right.
Also, updating went faster than I thought. TrainCarts is now fully NMS-free, running solely on Bukkit and BKCommonLib. The regular minecart is now working, I only need to set up a proper network synchronizer so it doesn't bounce around as much as it does now.
It shouldn't take too long to fix up all minecarts...
-
View User Profile
-
Send Message
Posted Mar 18, 2013I have a line going from my station platform to an intersection.
This intersection allows trains to (apart from leaving the station platform):
* Join 'main line A'
* Join 'main line B'
* Go to the station arrivals line
I have a destination named 'Oranjestad' along one of the main lines (a train has to go through 6 [train] tag intersections if it is to actually get to the destination)
However, the trains after leaving the platform go to the intersection and go to the trains arrivals line (destination called 'central')
I noticed if I remove the central destination sign under the arrivals line, the trains stop going there (however they don't get routed correctly)
Something really unusual is going on - I cleared all my traincarts data and started again, I've been carefully checking all the railways to make sure there are no stray problem-causing signs along the path.
Running TC 1.72.6 (Build 30 on Jenkins) on Bukkit API 1.4.7
...any ideas?
Thanks
~Andrew
-
View User Profile
-
Send Message
Posted Mar 18, 2013I agree. You and your team rock! We'll wait as long as it takes for you to sort out the updates in 1.5 the right way. Thanks for the hard work!
-
View User Profile
-
Send Message
Posted Mar 18, 2013Who can send me the traincarts map in the plugins map? (I am not good in English)