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 Nov 18, 2012Hello Berger Killer
first a big fat lob for this plugin, it's just the hammer: D
so now the problem-namely, the pathfinder I try since a few such days stretch to build but do not want the soft if they are to make the tag or label switcher (there were 5 times 1-good test for 1nen train then without what funkionierte impossible to change it)
to be on the safe number I even made a server with only Traincarts (and BKCommonLIB) I changed nothing in the confys (= original) but the same result: S
hope I can help you Bisle mfg Schwarzmönch PS: this was written in German and translated googel
-
View User Profile
-
Send Message
Posted Nov 18, 2012@bergerkiller
Hi Bergerkiller, i've just downloaded your 1.4.4 Dev Test and installed it on my server. There are lots of Messages in the Chat which tell:
"Unable to locate sign at 1153 ,66, 438"
Other coordinates are used, too. All of those coordinates belong to signs with SignLink variables on it, but all of them are operating. Those messages dissappear, if i remove SignLink from the plugins.
There is also a little bug. I've got a train without destination set. If this train moves about a trigger, sometimes the sign gives "Unknown" as the destination, but also sometimes the destination variable stays not updated.
Greetings, iKoze
-
View User Profile
-
Send Message
Posted Nov 18, 2012@startup Properties loss & Performance drop
Hello bergerkiller,
Still:
Here is my TrainProperties.yml. You will find huge numbering of Train# which should not exists at all. Each train is given a colour name upon spawning it "Jaune#, Vert#, Bleu#". This bugged trains and carts loose their owner as well.
Server logs show how TrainCarts could not find its carts at restart:
This contribute to server lag as after every restart I get huge number of bugged carts, through it has become less critical since the latest release and properties bug fixes.
Nonetheless, even after a /train removeall, the sole plugin takes a significant amount of CPU cycles, drowning to 8-9TPS instead of normal 20TPS with only 6 players online. The server barely handle 20TPS with up to 3players. This is in a hosting service VQS Unlimited slots.
If you like to have a taste of my TrainCarts setup, you are welcome to mc.sphere-ville.fr:25565.
And here a map of my minecarts network:
Cheers
-
View User Profile
-
Send Message
Posted Nov 18, 2012Bug: the minecarts with the coal and stuff don't work anymore? Please help!
-
View User Profile
-
Send Message
Posted Nov 18, 2012@bergerkiller
They're normal carts ;)
-
View User Profile
-
Send Message
Posted Nov 17, 2012I solved the issue. I never specifically did /stop. I always just restarted the server manually. On a side note, I can't seem to find the permissions/config setting to disable players exiting carts manually. Was it taken out?
Edit: Nevermind. It started acting up again.
-
View User Profile
-
Send Message
Posted Nov 17, 2012@grybo101 That is...weird. Without errors I can't explain it either. Have you tried running the server with only TrainCarts and BKCommonLib installed? It could be another plugin is freezing the server or something...
-
View User Profile
-
Send Message
Posted Nov 17, 2012So I have a major issue here. A few days ago, TrainCarts was running fine. It was before 1.4.4. I was testing out speeds, and everything was running smoothly. Later that day, it started bugging out. No additional plugins had been added, nothing had been updated (the game, bukkit, or the plugins). The speedlimit signs just stopped working. I wasn't too sure what was wrong, as it was working about 2 hours before. I tried creating new signs, and nothing was working. Then, out of nowhere, the stations started acting buggy and not launching in the correct directions.
I figured the update may fix it, so I updated my client, bukkit, this plugin, and BKCommonLib. Still the same issue. I'm no as up to date on everything as possible, I even tried wiping the plugins and files, and it's still not working. I tried removing other plugins that may cause interference, but it's still not working.
There are no errors coming up in console, and I'm out of ideas. Can you please help me? Thank you!
-
View User Profile
-
Send Message
Posted Nov 17, 2012@rcth Just use /train :) And I'll take a look at the vertical rails, I did spot some problems with powered carts, nothing else otherwise though.
-
View User Profile
-
Send Message
Posted Nov 17, 2012@bergerkiller
Well my bad, you can keep you name in plugin.yml as "TrainCarts". It's a long story, I thought spaces was'nt allowed in name, didnt see the blank space in http://wiki.bukkit.org/Plugin_YAML
If you are making a extended query (gamespy 4 protocol) to a server, you get a plugin list. The plugins is seperated by ";" in following format "pluginname pluginversion;" - with spaces allowed in both pluginname and pluginversion it is impossible to separate pluginname from pluginversion.
-
View User Profile
-
Send Message
Posted Nov 17, 2012Running fine on 1.4.4, but the transation between rail-ladder-rail doens't work fine, and the speeds on ladder doesn't work also.
About the namechange: I think it's better too, because it's annoying when I try to do /version traincarts it sais the plugin doens't exists.
-
View User Profile
-
Send Message
Posted Nov 16, 2012bergerkiller, running awesome on 1.4.4 =) I found one bug, though. If a train runs into an animal on the track (Sheep for me, specifically) the train slowly pushes forward until the animal gets off the track, but then only the powered cart kept going, until it went around my loop and re-linked with the rear of the train. =)
Edit: Probably not your problem, but I still seem to get massive lag with trains run down the track into the distance, and stays until they return. :s
-
View User Profile
-
Send Message
Posted Nov 16, 2012@xcanner Why exactly? I agree on the namechange though, but why? Just curious.
Official development test version of this plugin and others: https:dl.dropbox.com/u/3681706/DEV%20TEST%201.4.4%20VERSIONS%20OF%20PLUGINS.zip
Found a bug? Feel free to report, I'll update the download ASAP.
-
View User Profile
-
Send Message
Posted Nov 16, 2012@bergerkiller
Can you please change "name: Train Carts" to "name: TrainCarts" in plugin.yml :-)
-
View User Profile
-
Send Message
Posted Nov 16, 2012@SnyTe You are correct about that, I'll fix it up for the next version. The next version will be for 1.4.4 though.
-
View User Profile
-
Send Message
Posted Nov 16, 2012Seems like there is a small problem with item transfer.
When no specific item for chest transfer is assigned it should accept all, right? It accepts nothing. When what it should transfer is specified it works fine.
-
View User Profile
-
Send Message
Posted Nov 16, 2012@bergerkiller
Ok it works, my setup did work before though.
-
View User Profile
-
Send Message
Posted Nov 16, 2012@SnyTe Nope, the workbench has to be aligned with the tracks. So put it on the other side of the sign or above the sign.
@xaaron32x My latest version should work properly, as I've tested it. (1.72.1 official). Yes, it does not work on 1.4.4 yet, has to do with a function name change. The 1.4.4 compatible version will have this fixed.
@leagris I can thank you more FOR the issue reports being so detailed, it's not always like that :)
-
View User Profile
-
Send Message
Posted Nov 16, 2012@bergerkiller
Really, I owe you a big friendly hug for the huge pile of fixes and the time you spent dealing with my random issue reports.
Congratulations and Cheers.
-
View User Profile
-
Send Message
Posted Nov 16, 2012Hey bergerkiller, you're probably aware, but traincarts seems to break powered carts (Coal/Charcoal does nothing) on the latest 1.4.4 dev builds. Or it could be bukkit itself, I don't know. =)