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 5, 2012it appears PrivatChest/MultiModWorld was blocking the entity minecart because it was different from vanilla
16:33:05 [INFO] [PrivatChest] Entity Blocked: com.bergerkiller.bukkit.tc.MinecartMember
I added it to the list of allowed entities so I can place them, I'll see if it still errors.
-
View User Profile
-
Send Message
Posted Apr 5, 2012@xXFrederik94Xx OR you use an outdated CraftBukkit, or you use one that is not yet supported...update TC/CraftBukkit accordingly.
-
View User Profile
-
Send Message
Posted Apr 5, 2012@MeisterL One of the mods is teleporting a player from another thread, install NoLagg.jar (only that one) and run again. (you can disable all features in the config first)
That should give a clear log of the faulty plugin that caused this. (the location where this occurred is out of my reach, so it has to be that...)
-
View User Profile
-
Send Message
Posted Apr 5, 2012I'm having a problem running traincarts with MultiModWorld/PrivatChest or maybe Multiverse I'm running craftbukkit-1.1-R4 Traincarts was working fine until I put in MultiModWorld/PrivatChest & multiverse [BC2_nomod and BC2 are 2 different worlds] the console is saying:
14:01:38 [SEVERE] [Train Carts] Failed to perform physics on train 'train0': 14:01:38 [SEVERE] java.lang.IllegalArgumentException: Cannot measure distance between BC2_nomod and BC2 14:01:38 [SEVERE] at org.bukkit.Location.distanceSquared(Location.java:380) 14:01:38 [SEVERE] at org.bukkit.craftbukkit.CraftWorld.playEffect(CraftWorld.java:687) 14:01:38 [SEVERE] at org.bukkit.craftbukkit.CraftWorld.playEffect(CraftWorld.java:677) 14:01:38 [SEVERE] at com.bergerkiller.bukkit.tc.MinecartMember.playLinkEffect(MinecartMember.java:1205) 14:01:38 [SEVERE] at com.bergerkiller.bukkit.tc.actions.GroupActionSizzle.start(GroupActionSizzle.java:16) 14:01:38 [SEVERE] at com.bergerkiller.bukkit.tc.actions.Action.doTick(Action.java:9) 14:01:38 [SEVERE] at com.bergerkiller.bukkit.tc.actions.GroupAction.doTick(GroupAction.java:11) 14:01:38 [SEVERE] at com.bergerkiller.bukkit.tc.MinecartGroup.updateAction(MinecartGroup.java:314) 14:01:38 [SEVERE] at com.bergerkiller.bukkit.tc.MinecartGroup.updateAction(MinecartGroup.java:316) 14:01:38 [SEVERE] at com.bergerkiller.bukkit.tc.MinecartGroup.doPhysics(MinecartGroup.java:1072) 14:01:38 [SEVERE] at com.bergerkiller.bukkit.tc.MinecartGroup.doPhysics(MinecartGroup.java:1025) 14:01:38 [SEVERE] at com.bergerkiller.bukkit.tc.MinecartMember.y_(MinecartMember.java:345) 14:01:38 [SEVERE] at net.minecraft.server.World.entityJoinedWorld(World.java:1308) 14:01:38 [SEVERE] at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:110) 14:01:38 [SEVERE] at net.minecraft.server.World.playerJoinedWorld(World.java:1290) 14:01:38 [SEVERE] at net.minecraft.server.World.tickEntities(World.java:1191) 14:01:38 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:534) 14:01:38 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:441) 14:01:38 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Any help fixing this would be awesome.
-
View User Profile
-
Send Message
Posted Apr 5, 2012Now I'm sure it's definitely a bug that the powered car will keep running no matter if there is fuel or the value of SlowDown is true or false.
-
View User Profile
-
Send Message
Posted Apr 5, 2012Why my furnance cart can run forever without any coal? When I click the furnace cart it just run automatically.
Is that a bug?
I don't like this feature if it not a bug. Everything need fuel to run. Or can you make it configurable?
-
View User Profile
-
Send Message
Posted Apr 4, 2012I've got following error if i want to destroy a minecart: 00:53:19 [SCHWERWIEGEND] java.lang.NoSuchMethodError: org.bukkit.event.vehicle.V ehicleDestroyEvent.<init>(Lorg/bukkit/entity/Vehicle;Lorg/bukkit/entity/Entity;) V 00:53:19 [SCHWERWIEGEND] at com.bergerkiller.bukkit.tc.NativeMinecartMemb er.damageEntity(NativeMinecartMember.java:181) 00:53:19 [SCHWERWIEGEND] at net.minecraft.server.EntityHuman.attack(Entit yHuman.java:749) 00:53:19 [SCHWERWIEGEND] at net.minecraft.server.NetServerHandler.a(NetSe rverHandler.java:997) 00:53:19 [SCHWERWIEGEND] at net.minecraft.server.Packet7UseEntity.handle( SourceFile:33) 00:53:19 [SCHWERWIEGEND] at net.minecraft.server.NetworkManager.b(Network Manager.java:229) 00:53:19 [SCHWERWIEGEND] at net.minecraft.server.NetServerHandler.a(NetSe rverHandler.java:113) 00:53:19 [SCHWERWIEGEND] at net.minecraft.server.NetworkListenThread.a(Ne tworkListenThread.java:78) 00:53:19 [SCHWERWIEGEND] at net.minecraft.server.MinecraftServer.w(Minecr aftServer.java:554) 00:53:19 [SCHWERWIEGEND] at net.minecraft.server.MinecraftServer.run(Mine craftServer.java:452) 00:53:19 [SCHWERWIEGEND] at net.minecraft.server.ThreadServerApplication. run(SourceFile:490) 00:53:19 [SCHWERWIEGEND] Unexpected exception java.lang.NoSuchMethodError: org.bukkit.event.vehicle.VehicleDestroyEvent.<init> (Lorg/bukkit/entity/Vehicle;Lorg/bukkit/entity/Entity;)V at com.bergerkiller.bukkit.tc.NativeMinecartMember.damageEntity(NativeMi necartMember.java:181) at net.minecraft.server.EntityHuman.attack(EntityHuman.java:749) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:997) at net.minecraft.server.Packet7UseEntity.handle(SourceFile:33) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:7 8 ) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
-
View User Profile
-
Send Message
Posted Apr 3, 2012@Anonymous777 Do note that the values are now relative to the sign (see WIKI), this has been like this for a while now. So 2/3/4 is 2 to the right, 3 up 4 forwards, when facing the text-side of the sign.
-
View User Profile
-
Send Message
Posted Apr 3, 2012@bergerkiller: hm 1.62 have the same problem, all my eject sign dont work correct, they move me to another position than before the update :(
-
View User Profile
-
Send Message
Posted Apr 3, 2012@Anonymous777 Re-uploaded the one on GitHub, it did have on slightly odd line that I had to remove regarding ejector signs. (was ejecting at max cart distance of 4...) See if that works out. (same 1.62 on github)
-
View User Profile
-
Send Message
Posted Apr 3, 2012@bergerkiller
Sorry, I'm using Minecart Revolution, too and I just found out that sandstone is the default "flying" block.
-
View User Profile
-
Send Message
Posted Apr 3, 2012@bergerkiller: Thanks, but i change it to 50.0, that is not the problem. all my old stations dont work, maybe you have change the kind of the range specification on the sign ?
-
View User Profile
-
Send Message
Posted Apr 3, 2012TrainCartsBlocks v1.00 is now downloadable (see TrainCarts version 1.62 on GitHub)
It currently has station and ejector blocks, defaulting materials iron and obsidian. They are fully working and fully compatible with TrainCarts. Station blocks stop the train if left unpowered, launching it in the previous direction if powered. You can invert the power on all action blocks if you want to in the configuration, as well as change the material of these blocks.
-
View User Profile
-
Send Message
Posted Apr 3, 2012@TheCrafter2012 What exactly is the bug with it? I don't have a visual of it...
EDIT
if you mean transfer, use sandstone:0/1/2/3 etc. The data sets the type of sandstone to transfer and all should go well. Now uploading v1.62.
-
View User Profile
-
Send Message
Posted Apr 3, 2012@bergerkiller Will you fix the bug with the sandstone blocks in the next release?
-
View User Profile
-
Send Message
Posted Apr 3, 2012@Boby360 But then use what material? Wood? Maybe gold ore? It also has to look good, and that is the problem. Nevertheless, an add-on for TrainCarts is in the making. The block listening framework is already finished and the first block, Station, with all the configuration of it is already made and fully operational. I'll push it out with v1.62, together with a fix to properly check if a passenger is in a train.
-
View User Profile
-
Send Message
Posted Apr 3, 2012@bergerkiller
I love all of your work to bits. Although you couldnt be more wrong in regards to the Simplecarts. If you want an all iron rollercoaster by all means do it up. Simply change the block ID it uses in the config and BAM. There is nothing stopping you from using iron anywhere else.
-
View User Profile
-
Send Message
Posted Apr 3, 2012@bergerkiller You know, I should just be a mean guy and add a TraiNCarts add-on for action blocks myself. I can script something like that in under two days, so I don't really mind. If it is such a requested feature, I guess I have no other option...
-
View User Profile
-
Send Message
Posted Apr 3, 2012@Anonymous777 There is a max distance setting for those now, see the configuration.
@akiraic Ow god really? How many of these plugins are going to 'continue' Minecart Mania? I've seen 4 of them by now...
For the record:
So for now, I won't add support for anything, as I can't add support. Neither will I merge with any other plugin, because all other plugins so far use the faulty 'wrapper around minecart' system. If they would just support TrainCarts, all of this isn't needed, but who's to blame...
/sidenote: Action blocks limit the blocks you can use underneath rails, get over it people...not to sound rude, but I am just stating the obvious here. If all iron blocks eject a player, you can't make an iron rollercoaster or use iron anywhere.
@elgringouk I'll look into it real quick.
-
View User Profile
-
Send Message
Posted Apr 3, 2012Your physics engine doesn't work with the new sandstone blocks.