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 Jan 1, 2013@pitoucc
do you have the right permissions? tip: for al the traincarts permissions just add the node: train.*
-
View User Profile
-
Send Message
Posted Jan 1, 2013@Etsija
@Etsija
Hi, Could you give me the server ip so i can join your server to look at your rails network
-
View User Profile
-
Send Message
Posted Jan 1, 2013I'm having a problem with traincarts. When I have the plugin loaded I am unable to place down carts. When the server loads theres no errors being reported for bklib or traincarts... has anyone encountered the same thing?
-
View User Profile
-
Send Message
Posted Jan 1, 2013Hi, just informing that I completed installing TrainCarts for 1.4.5-R1.0 to our "production server", and it is working beautifully for us. I made an ultimate pathfinding test: hopped on on one end of our world and typed "/train dest station_name", where station_name is on the other end of the vast network (almost 30 stations/destinations and hundreds of switchers).
After 22 minutes of boring-ish ride, my cart arrived flawlessly on the destination!
Also performed a lot of "/train reroute", since our network had small flaws (rails missing, wrongly set up junctions etc.). No trouble at all, and most importantly - no server crashes.
Hats off (again!) to bergerkiller - pathfinding works BEAUTIFULLY now.
For a reference, here is our current network the way TrainCarts sees it. I hopped on at "janna" and arrived at "dragonia" (again, just for a reference). https://dl.dropbox.com/u/6411310/destinations.pdf
-
View User Profile
-
Send Message
Posted Dec 31, 2012Happy New Year
From the Traincarts Team!
-
View User Profile
-
Send Message
Posted Dec 31, 2012@leagris
The chunk load function works fine for me.
Maybe its an issue with anorther plugin
i tested it with in my roleplay server (wich has NoLagg)
and it works fine
btw, nicely done. that spawn
-
View User Profile
-
Send Message
Posted Dec 31, 2012We already have a similar dynmap layer implemented on our server but it is done manually. I agree an automatic tool would be nice but TCgraph is an analysis tool only and destinations.dat doesn't have any rail data available, only the length of the connection.
-
View User Profile
-
Send Message
Posted Dec 31, 2012@Etsija
At this stage, having Train Carts link to dynmap markers could be a great.
Here is how it could render (sample from my own server)
-
View User Profile
-
Send Message
Posted Dec 31, 2012@hellphish
Graphviz is by far the most known DOT tool. It includes Gvedit, which is handy in learning the DOT language; you can build your dotfile from scratch and with a push of a button see which kind of graph it creates. http://www.graphviz.org/
-
View User Profile
-
Send Message
Posted Dec 30, 2012@leagris
i will check on it
-
View User Profile
-
Send Message
Posted Dec 30, 2012@Etsijathat is freakin cool, thanks for sharing that. Are there other tools to generate images from DOT output?
I think I have figured out everything TrainCarts has to offer, except for eject signs. If I have a train coming in from the left side of an eject sign, I can't for the life of me get it to eject the players the direction the text is facing. 0/0/3 and 0/0/-3 both put the player on the other side of the sign. I'm hoping I'm just doing something stupid here.
-
View User Profile
-
Send Message
Posted Dec 30, 2012Now, since TrainCarts seems to have been saved ;) I decided to give a little something to the community. Enter TCGraph: https://dl.dropbox.com/u/6411310/TCGraph.zip
This is a tool by which you can take TrainCarts's destination.dat file and transfer it into a nice graph. The tool can help you in spotting logistical errors in your valued train network. Or just to draw funny pictures looking like a strand of DNA ;)
The zip includes the tool (jarfile), instructions and one example from our server.
Have fun!
-
View User Profile
-
Send Message
Posted Dec 30, 2012I can't reproduce the chunk loading issues. My trains seem to be respecting the flag.
I am getting one issue: When I leave or enter an area with signs, I get lots of "unable to locate sign at XYZ" errors on the console. It doesn't seem to be affecting anything. It seems to be related to the chunk loading in and out, but it isn't affecting the short distance trains (trains without keepchunksloaded set)
I only discovered this plugin a week ago, and my hat is off to bergerkiller for the incredible work, and to lenis0012 for keeping this great plugin alive.
-
View User Profile
-
Send Message
Posted Dec 30, 2012Got the 1.4.6 version installed in the 30+ plugin server I admin, so far so good!
Great to have it back! :D
-
View User Profile
-
Send Message
Posted Dec 30, 2012Built a 1.4.5-R1.0 test server, and judging from my first pathfinding trials, it seems to work flawlessly...no lag at all at switchers, no server crashes and so far the carts have found themselves to the correct destinations. Great work from bergerkiller!
Have to test this a bit more thoroughly, but so far so good.
-
View User Profile
-
Send Message
Posted Dec 30, 2012@lenis0012
Hello Lens,
New bug with this build: http://dev.bukkit.org/server-mods/traincarts/tickets/95-train-spawner-ignore-if-train-mincart-already-on-rail/
-
View User Profile
-
Send Message
Posted Dec 30, 2012@dockter
ill look into that
@grybo101
thats wheird, using v1.72.3?
-
View User Profile
-
Send Message
Posted Dec 29, 2012Using the 1.4.6 build of TrainCarts, the carts are ignoring the "keepchunksloaded" ability.
Soon as the cart ventures into a chunk thats not loaded, it stops.
-
View User Profile
-
Send Message
Posted Dec 29, 2012I've updated TrainCarts and BKCommonLib, and I can't do anything related to the plugin. It tells me I don't have permission, even though I'm OP.
-
View User Profile
-
Send Message
Posted Dec 29, 2012@lenis0012
thanks :>