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 Feb 22, 2014For me the same: No spawner works in #3020. Also with updatet BKCommonLib.
EDIT:
I have the solution!
I founded in the bukkit-plugin-dir two directorys for the train-plugin: "train carts" and "train_carts". The "train_carts" is the newer directory. I copied all the files from "train carts" into "train_carts" (by replacing the new files). Then I deleted the directory "train carts". And: The spawners working again.
-
View User Profile
-
Send Message
Posted Feb 19, 2014@Daikenkaiking
Same issue, I have opened the ticket about it..
Vote here http://dev.bukkit.org/bukkit-plugins/traincarts/tickets/205-spawners-does-not-work-w-r0-3/****
-
View User Profile
-
Send Message
Posted Feb 18, 2014http://pastebin.com/8Se2cyTg
-
View User Profile
-
Send Message
Posted Feb 18, 2014I can also confirm that, at least spawners (so I couldn't get any further to test stuff. Lol) don't work with Beta build #3020. They work fine on Beta build #2974, however. :)
-
View User Profile
-
Send Message
Posted Feb 17, 2014@Jax2
Are you an admin? If I remember correctly, there are separate defaults for admin's carts. Make sure you change all the defaults, or use a property sign to keep carts on that track loaded.
-
View User Profile
-
Send Message
Posted Feb 16, 2014@satgat
Minecart teleporting works for me although it did take a little time to get the right setup.
I used a sign like:
I put this sign 2 blocks below the track facing the cart and powered it with a redstone torch. I tried using a non powered sign using [+portal] but that didn't work.
Once you have two portal signs setup you should be able to teleport from one to the other and back again.
I have mine going from one world to another and it works fine. My only issue is with the routing. I'm not sure if this is working across the portal. It certainly doesn't link when I check the destinations.dat file with tcgraph.
-
View User Profile
-
Send Message
Posted Feb 15, 2014I have been unable to keep chunks loaded with this... I have set it to true in defaulttrainproperties yet the train never returns to me unless I move to where it is stuck / unloaded.
Any suggestions? I have a very large area I need the train to travel in, so if it's never getting to it's destination, pretty much makes it useless for me :(
-
View User Profile
-
Send Message
Posted Feb 15, 2014Thank you! I was able to solve the problem, thanks
-
View User Profile
-
Send Message
Posted Feb 15, 2014@ryupyon
You can use Switcher Signs to split a train back into carts.
-
View User Profile
-
Send Message
Posted Feb 15, 2014@Minecraft__Bryce
Did you also install the BKCommonLib?
-
View User Profile
-
Send Message
Posted Feb 15, 2014*Google Translate ***
It will be nice to meet machine translation, because it is not good at English.
Could you tell me how to release the connection of the truck?
-
View User Profile
-
Send Message
Posted Feb 14, 2014Traincarts won't work, I installed through FTP, my server is 1.7.2 and I don't have any other plugins that could make it incompatible.
-
View User Profile
-
Send Message
Posted Feb 14, 2014minecart can't teleport using myworld portal signs.
-
View User Profile
-
Send Message
Posted Feb 14, 2014@laurensvh
'java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/v1_7_R1/TrigMath'
\ Are you running a modified version of bukkit?
Also please mention your craftbukkit/other version
-
View User Profile
-
Send Message
Posted Feb 7, 2014@hellphish
I have just done the same test as Etsija unfortunately with the same result. The destination was set to an empty string (presumably contents from the 3rd line of the sign, not 4th) and the cart did not get to the correct destination.
-
View User Profile
-
Send Message
Posted Feb 7, 2014@hellphish
I agree this would be the SENSIBLE way for it to work. Alas, I just tested it on my test server with a sign
next to where I take off on a station. The plugin should have responded with a "You set my_dest as destination for all minecarts in this train!", however, it did respond with "You set as destination for all minecarts in this train!". In effect, the plugin did NOT set my_dest as the destination but an empty string instead, and as a result, the minecarts did not reach my_dest at all.
This clearly seems like a bug to fix.
-
View User Profile
-
Send Message
Posted Feb 6, 2014@xmybu
From what I understand, the Destination signs should work as you intend, you just have to leave the 3rd line blank. The 3rd line marks the sign as a destination node, the 4th line sets the train's destination like a powered property sign would.
-
View User Profile
-
Send Message
Posted Feb 6, 2014@Etsija
I like the way that it's possible to click a destination sign now without needing to worry about having a button and the associated redstone. Not only does the clickable sign take up much less space, it's simpler to implement and easier for the user too - which button corresponds to which sign can be a problem.
The issue with the current implementation is that the destination sign has been "overloaded". ie one type of sign (destination) has two different functions - mark destination and set destination.
I think a destination sign should only mark a destination and not be clickable. To provide the functionality to set destinations a new sign could be added (as discussed offline) that is clickable. Something like:
This should be relatively straightforward to implement as it's a new sign.
An alternative approach which might be slightly more risky in terms of coding would be to make the existing property sign clickable in the same way that the destination one is now.
I like this solution as any property, not just destination, could then be set by just clicking on a property sign should the user wish. So something like maxspeed could be easily set by the cart user without needing to resort to the command line.
-
View User Profile
-
Send Message
Posted Feb 6, 2014@hellphish
Ah, come to think of it, this is probably the safest way to do this! So, a sign
with a button beneath it to power it should be enough? I must experiment with this, as it would also make our metro network's usage a lot simpler.
EDIT. I was probably oversimplifying it: a button wouldn't be enough to "set up the destination property", is it? So, a continuous redstone power would be needed to be provided to the property sign...which will complicate the design at the station quite a bit.
-
View User Profile
-
Send Message
Posted Feb 5, 2014So, apparently my trains are randomly not recognizing each other anymore? None of the trains are functional as anything other than individual Minecarts now, and there doesn't seem to be any real logical reason for it. We didn't update anything or change any settings... they just stopped working randomly. There aren't any console errors, either... they just randomly broke. I reinstalled BKCommonLib, ProtocolLib, and of course Traincarts itself, and nothing seems to fix it.