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.
MAKE IT 1.6.2 PLEASE
Hi Bergerkiller,
my players can push my carts away, this is my Permissiondefault folder. : http://pastebin.com/8uZeUavZ can you give me tips? Please :)
From Drawguy124
Sorry for the no-responding lately, had two wisdom teeth pulled and was forced to not do anything for the last 3 days as a result. My main priorities right now is:
Mainly the second point has been a bit of a problem as I've noticed from the questions. It's caused by me appending endlessly, resulting in a bit of a mess after several months. A total rewrite is probably required. I'm not sure whether I want to move the documentation to dev.bukkit since the formatting abilities are extremely limited here. I may have to start my own WIKI website to host it all, but I haven't decided on that yet.
For the switcher sign:
@k3kz0r
its needs the hole time power! of the redstone tortch!
how to get trains that you not can push
@k3kz0r
EDIT: I might interpret the picture wrong and you have the sign on the correct block...but try to use [+train] on the first line and see if it helps. If not, then I have a diagnostic tool that works with TrainCarts's destination.dat file. With it, you can check whether the plugin "sees" your intersection at all or not.
@damiankil1999
Do i have to place a Redstone torch every time near a switcher? i thought that a ! in front of the train enables the sign even without Redstone power...
I Have a Big Problem, when i plce the carts they cant connect and they are frozen!
Plzz Help me
I need to know how to lock my chestcart. All the people have acces to the admin chestcart... and steal coal. I tried with claim, private and owner
@k3kz0r
dear, k2kz0r jou need to place the sign under the track not on the side of a block but on the block and place a redstone tortch !
i have a problem with switcher signs.
When i place a switcher sign under the rails as shown in the picture, it doesn't work.
The train comes from the right and would have to get redirected right, but the rail doesn'T switch and i always drive left.
The sign just shows [!train] in the first line and switcher in the second.
The destination is set and the rails are connected to the destination sign.
can anyone tell me what im doing wrong?
Berger, I am having a serious issue finding the right combination of bkcommonlib/traincarts/craftbukkit1.6.2 that works.
I have tried almost every 1.6.2 jar of CB from 2808 to 2812, every Traincarts from 108 to 113, and every bkcommonlib from 216 t0 222. In my haste I may have missed a few combos, but I am fairly certain I tried them all.
Am I doing something wrong? Should I remain on 1.6.1?
The server freezes completely and the CPU shoots up to 80% and I get messages about java heap running out of memory. Is there any stable combination I am missing?
Hello, I'm the owner of a theme park server and I have been trying to get this plugin for hours now. I still cannot get it to work. I have BKCommonLib1.52 and TrainCarts 1.72.8 I cant get it to work. I know 2 other servers that have this working I did what they told me to and it still doesn't work. When I do /plugins they are both there but show up in red and do not work. In the log when I start up the server it says "BKCommonLib 1.52 Disabled! Im thinking this is a BKCommonLib Problem. Update: I just tried with latest BKCommonLib, in the log it says its being disabled for it may need updating..
Please Help! P.S My server is on 1.5.2
@Etsija Yep, the fun exit offset of vanilla can be a bit of a pain. I've had to add the exitoffset default 0/0/0 manually, but I'm not sure whether this still works as of 1.6.2. Last time I checked something was wrong...I think.
@cytkid11 Development builds are already available.
When is it going to be updated to 1.6.2
Actually, this effect is even WORSE when we replace our traincarts with vanilla minecarts. Now when a player exits a vanilla minecart, he doesn't exit on top of the cart, but 2 blocks to NE of the cart. Always. And, in our puzzle, this leads the player to the lava wall and he dies.
This is clearly a vanilla bug, and I can reproduce it every time. the effect is always the same: put a vanilla minecart somewhere stationary. Enter the cart. Exit the cart. The player does not end on top of the exited minecart, but 2 blocks NE of it!
I don't know what to do.
@bergerkiller
Thanks for the tip. Meanwhile, I researched the carts in question and they all seem to have Players: PUSH setting (inherited from our global TC setting). Is there a command to set Player to something else than PUSH, as I'm suspecting this is the source of the problem? Or, do I have to edit the TrainProperties file directly, save it and reload the plugin (was there a reload command?). And, what would be the best "non-invasive" selection for the "player: " option?
@Etsija This is possible, yes. Currently the best way to do it is to let a player that has the train.place.minecart permission and does NOT have the train.place.traincart permission place a minecart. This is now the default minecart and this stays this way.
@FrontBack It's a nice thing to do...but sadly it can't know the full remaining distance to the end-destination. The best thing you can do for now is to place trigger signs in multiple locations and make it refresh the sign properly. It might jump a few seconds when counting down, but it's more accurate at least.
You know what would be cool? Real-time calculation of the time remaining with the trigger if you use path finding: it monitors the train speed and the path's length, so it can calculate the exact time missing for the train.
Bergerkiller, is it possible to exclude some minecarts from TrainCarts physics handling totally in the config? The reason I'm asking is we have a collection of puzzles on our server, written with a story and all, and players are playing through the puzzles.
One particular puzzle has a wall of lava through which the player needs to go. In front of the wall sits a lonely minecart, and the player doesn't know that there is a similar minecart sitting behind the wall, like a mirror. The way to go "through" the lava wall is to right-click the minecart on the other side, whict sort of "teleports" the player throug the wall without burning him, and he ends up sitting in the minecart on the other side.
This is all according to Minecraft game "physics". But now, some players experience that after passing through the wall and exiting this minecart, an invisible force draws them back towards the lava wall and they die. It doesn't happen to me, but I've witnessed this numerous times to a lot of our players. I built a test setup (lava walls to all directions), and this bug seems to be even direction specific.
I suspect there is something in the TC properties of these minecarts which causes this. That's why i'm asking whether there is a way to "stop" TrainCarts handling those minecarts we use in our puzzles. That would at least shed some light to the issue (whether it is TC's fault or not).