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 8, 2012so I disabled all the plugins (renamed plugin dir to plugin1, created new plugin dir and pastet only train related mods, namely traincarts,trainblocks,kbcommonlib) and restarted and, unfortunately, no carts there. I really don't know why this happens.
-
View User Profile
-
Send Message
Posted Apr 8, 2012thx bergerkiller I think the two signs are too far away from each other (more than 250 blocks) But when I created teh second sign, the two signs find them.
-
View User Profile
-
Send Message
Posted Apr 8, 2012@dTrekkie If there are no trains inside the region between the two detector signs, it shouldn't keep it all powered. So maybe a bug? A screenshot could clarify the issue for a bit, maybe the signs are facing away from each other and you are detecting the 'outside' of the region...you never know.
-
View User Profile
-
Send Message
Posted Apr 8, 2012I have a question about the Detector: Why my detectors aren't stop there redstone output, when there is no train in the region. Or must i have Statements? My Detector: 1.[train] 2.detector 3. 4.
-
View User Profile
-
Send Message
Posted Apr 8, 2012@MeisterL
If your plugins are abandoned, ask nicely here http://forums.bukkit.org/threads/62906/ for them to be updated.
But make sure you check this spreadsheet first to see if the plugins you want have already been updated: https://docs.google.com/spreadsheet/pub?key=0ApGUEm1R916SdDlId3dneVpvWERZMk8yTHNhS2RJN1E#gid=0
-
View User Profile
-
Send Message
Posted Apr 8, 2012@ToddVee
Disable every plugin you have except bkcommonlib and traincarts. Does the problem persist?
Failing that, delete bkcommonlib and traincarts, and all the traincarts data (the folder) and re-install - then see if the problem persists.
If you disable all plugins except traincarts + bkcommonlib and the problem is fixed, the issue is not with traincarts. Re-enable all your plugins one by one until you find the culprit, then nag the author of the plugin in question.
-
View User Profile
-
Send Message
Posted Apr 8, 2012@ToddVee
Don't be blaming the mod for your problems until you know for sure they are because of the mod, because both of those things work perfectly fine on my server, and I'd be willing to bet you have slowdown set to true in the trains properties for the slowing down problem. Don't be so quick to assume it's the plugin...
-
View User Profile
-
Send Message
Posted Apr 8, 2012Well I don't get it then. If I restart the server, all trains are gone. Even if i build a very short track circle, build a train, resatart. Moreover, if I spawn trains from a spawn sign, they will stop after a certain number of blocks. these are two flaws in an otherwise perfect mod.
-
View User Profile
-
Send Message
Posted Apr 8, 2012@ToddVee After a restart all trains are and should be - still there. There is a train storage system for a reason...
-
View User Profile
-
Send Message
Posted Apr 8, 2012hey, I read that you're aware of the problem that after restarting the server, all traincarts are gone. To implement it in the minecart system on our server, it would be necessary to fix this, because of the big number of trains. will you fix this soon or does it take much more time?
-
View User Profile
-
Send Message
Posted Apr 7, 2012@dTrekkie Added a fix for it, just in time too, about to upload 1.63. Though a newer BKCommonLib should fix it, I added an extra line for it in MM.
-
View User Profile
-
Send Message
Posted Apr 7, 2012Hello i have this in my console after reboot my server(only the most important): http://dev.bukkit.org/paste/5058/
-
View User Profile
-
Send Message
Posted Apr 7, 2012@vivosims Dear god never ever post the entire log as a comment...try to upload the file or paste it into pastebin.com ... please do edit the comment to clear out all the cross-through text.
About the 'error', it appears to be unrelated to TrainCarts at all (?), but to GrowingOre and WorldGuard....update those plugins if you have to.
-
View User Profile
-
Send Message
Posted Apr 6, 2012it dosent work for me placing a mine cart crashes the server here is the log... server is 1.2.4 but client is 1.2.5?
EDIT (H31IX): please use pastebin next time: http://pastebin.com/jPyZu1xp
-
View User Profile
-
Send Message
Posted Apr 6, 2012@MeisterL Ow I see...yeah then I have no solution for it. Then the latest TC version doesn't support 1938 I'm afraid. Try using one of the earlier 1.6 beta versions...
-
View User Profile
-
Send Message
Posted Apr 6, 2012@bergerkiller I might have to stick to the 1.10 version for my server ( 1.1-R4 #1938) because I replaced the BKCommonLib v 1.10 with the 1.18 version and it's throwing errors.
13:03:16 [INFO] [BKCommonLib] Loading BKCommonLib v1.18. 13:03:16 [SEVERE] Error occurred while enabling BKCommonLib v1.18 (Is it up to date?): com.bergerkiller.bukkit.common.PluginBase.getName()Ljava/lang/S tring; java.lang.NoSuchMethodError: com.bergerkiller.bukkit.common.PluginBase.getName()Ljava/lang/String; at com.bergerkiller.bukkit.common.PluginBase.onEnable(PluginBase.java:159) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:380) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:200) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:183) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:142) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:151) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:411) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
-
View User Profile
-
Send Message
Posted Apr 6, 2012@MeisterL BKCommonLib v1.10
You'd do well if you update BKCommonLib to v1.18 (the latest), the one you have seems very outdated...
-
View User Profile
-
Send Message
Posted Apr 5, 2012@bergerkiller
It seems to be happening to the trains I place on the BC2 world, they seem to function ok though, just the console randomly gets spammed with the physics error, hopefully once a few of the mods I run get updated (kaevator slopes & MultiModWorld) I can update the server to 1.2.5 or so and try a new build to see if it stops complaining.
for what it's worth here is a list of the mods/plugins I'm using Mods: DynamicElevators-1.2 Buildcraft-2.2.12 Buildcraft-AdditionalPipes-32.3 minefactoryreloaded-1.4.1 PortSuperSlopes-2.4(kaevator slopes) redpower-core, lighting & wiring-2.0p4d
plugins: BKCommonLib v1.10 CommandBook ForeverALoad MineBackup-0.5.5 MobileAdmin Multiverse-Core Multiverse-Portals NoLagg Permissions PermissionsEx PrivatChest SignLink SkylandsPlus TerrainControl TrainCarts uHome VoxelSniper WorldEdit WorldGuard
Thanks for looking into it for me. I might just have to hold out until I update my server and see if that fixes it.
-
View User Profile
-
Send Message
Posted Apr 5, 2012@MeisterL One of the players on your server is being on a world, but has a different world set for some reason. Order everyone to leave or teleport to another world (BC2 needs to be cleared of players) and check it again. This looks more like a strange CraftBukkit bug or another plugin bugging.
-
View User Profile
-
Send Message
Posted Apr 5, 2012It did it again, it's kind of random when it happens, and the server doesn't crash because of it. also another error occured.
16:58:15 [SEVERE] [Train Carts] Failed to perform physics on train 'train4': 16:58:15 [SEVERE] java.lang.IllegalArgumentException: Cannot measure distance between BC2_ModExchange and BC2 16:58:15 [SEVERE] at org.bukkit.Location.distanceSquared(Location.java:380) 16:58:15 [SEVERE] at org.bukkit.craftbukkit.CraftWorld.playEffect(CraftWorld.java:687) 16:58:15 [SEVERE] at org.bukkit.craftbukkit.CraftWorld.playEffect(CraftWorld.java:677) 16:58:15 [SEVERE] at com.bergerkiller.bukkit.tc.MinecartMember.playLinkEffect(MinecartMember.java:1205) 16:58:15 [SEVERE] at com.bergerkiller.bukkit.tc.actions.GroupActionSizzle.start(GroupActionSizzle.java:16) 16:58:15 [SEVERE] at com.bergerkiller.bukkit.tc.actions.Action.doTick(Action.java:9) 16:58:15 [SEVERE] at com.bergerkiller.bukkit.tc.actions.GroupAction.doTick(GroupAction.java:11) 16:58:15 [SEVERE] at com.bergerkiller.bukkit.tc.MinecartGroup.updateAction(MinecartGroup.java:314) 16:58:15 [SEVERE] at com.bergerkiller.bukkit.tc.MinecartGroup.updateAction(MinecartGroup.java:316) 16:58:15 [SEVERE] at com.bergerkiller.bukkit.tc.MinecartGroup.doPhysics(MinecartGroup.java:1072) 16:58:15 [SEVERE] at com.bergerkiller.bukkit.tc.MinecartGroup.doPhysics(MinecartGroup.java:1025) 16:58:15 [SEVERE] at com.bergerkiller.bukkit.tc.MinecartMember.y_(MinecartMember.java:345) 16:58:15 [SEVERE] at net.minecraft.server.World.entityJoinedWorld(World.java:1308) 16:58:15 [SEVERE] at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:110) 16:58:15 [SEVERE] at net.minecraft.server.World.playerJoinedWorld(World.java:1290) 16:58:15 [SEVERE] at net.minecraft.server.World.tickEntities(World.java:1191) 16:58:15 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:534) 16:58:15 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:441) 16:58:15 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
16:59:05 [INFO] [Privat Chest] New Room Generated 16:59:05 [INFO] [PrivatChest] Room Loaded. 17:00:04 [INFO] [MineBackup] * saving worlds\BC2
17:01:07 [SEVERE] java.lang.NullPointerException 17:01:07 [SEVERE] at net.minecraft.server.Packet.b(Packet.java:151) 17:01:07 [SEVERE] at net.minecraft.server.Packet107SetCreativeSlot.a(SourceFile:25) 17:01:07 [SEVERE] at net.minecraft.server.Packet.a(Packet.java:79) 17:01:07 [SEVERE] at net.minecraft.server.NetworkManager.h(NetworkManager.java:152) 17:01:07 [SEVERE] at net.minecraft.server.NetworkManager.c(NetworkManager.java:270) 17:01:07 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFile:76)