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.
@bergerkiller
I've done that, but when I use /train info it says that it can be exited by players, and in the config, this i set to false. And yes, I've placed the train...
So, this is a bug I think... Could it be repaired?
Thanks!
@bergerkiller
How to make floating rails?
@P1G0M That looks more like a bug then...not sure if I solved that issue in the 1.6.2 builds though... Afraid I can't really provide much of an alternative there, since what you did should've just worked. For confirmation that setting it by default failed:
Do note that default train properties don't apply to trains that were already on the server, they are only applied to newly placed (or spawned) trains/minecarts.
@bergerkiller Sorry for replying another time but...
Is it possible to by default, set some propertys to all the trains without need of the signs in every train?
I tried using the DefaultTrainProperties.yml file and setting there the popertys, but it doesn't work, I mean, if I set allowPlayerExit: false (in all three "levels" (default, admin, spawner)), the players are still able to exit the train...
What can I do? I have Bukkit 1.5.2 and the lastest build of traincarts.
Thanks!
@NorbuGames Answer in English...the Minecraft client doesn't support player passengers to be rotated in their cart. As a result, when I were to make a minecart be upside-down, the player would look through the bottom of the cart, glitching.
Now, a 'monorail' sort of thing would be possible to add, but it won't be upside-down or underneath the rail, simply because the player head would move through the monorail blocks then.
The easiest solution I can recommend is 'faking' rails by making normal rails invisible or a different kind of block. There might be some plugins that allow you to do it, if not, try asking for one in a plugin request on bukkit.org. Someone might be willing to do it.
I Can't say this in english so:
Kan je minecarts laten hangen dat ze aan een balk in de lucht hangen of kan je dat misschien maken? als dat er niet bij hoort
@bergerkiller Thank you! That was exactly what I was looking for! And thank you for this awesome plugin, I love it!
@P1G0M You can use the playerexit property (and optionally the playerenter property)
http:www.minecraftwiki.net/wiki/Bukkit/TrainCarts/Signs/Property
Hello! How can I avoid people leaving the minecarts when they aren't in a station? I mean, I want that users only can get off the minecart when they are in a station. Is it possible?
Thanks!
@ForumDaelin When no number is specified it automatically appends a number after it, since you can't have two trains with the same name. It should not do this when the name is available though, so I might have to fix that. Thanks for looking into it though :)
Hi bergerkiller. Thanks a lot for replying to the ticket! Sorry for my late reply here. I found what issue keeps me from using the remote control the way I want. It seems that the names don't get assigned to the train correct (or at all). If i ride the train and set the name manually, remote control works like a charm! But if I use the following sign:
[+train] property name train01
It does not set the name on the train. It doesn't work with either name, rename or setname. Is that maybe something I have to change in the traincart files? If somebody has a working method for setting names on trains, aside from riding them and using console, that would help me a lot.
EDIT: Ok, I found a way around it (or maybe I just found how it should be). If I use
[+train] property name train#
it works for train1 (remote control)
I would still like to know if you could make it that way that I could assign a name without the hashtag which add the numbers. Or is that so important to give each train a unique name?I don't want to crash the server we are playing on. :-)
Thanks!
@Tissueslayer991 keepchunksloaded needs to be set to true for the train, you can set this in DefaultTrainProperties.yml too.
@FrontBack
No, But you can use stations instead
Is there a way to make the vertical rail (the ladder) that if it's powered it is like a powered rail and when it's not a normal vertical rail? It would be useful to make drop towers... :3
Is there something on the config file that allows trains to move by themselves? Because, whenever I place a train and let it go, it only goes away for like a 100 blocks and doesn't get to the desired destination I want it to go. Someone or me always have to be with the train to allow it to go to it's destination. I hope you get what I'm saying.
@pnndzwdz Like this, you can't. You will need to use property signs to set enter/exit on pre-destined locations, such as stations and the like.
How I change the option so that the train is moving, players can't enter and exit to train, and when the train is stopped players can enter and exit?
@drawguy124 Looks fine to me, perhaps something is wrong in the DefaultTrainProperties.yml that sets player collision to 'cancel'? By default it should allow pushing like normal. Do players get pushed aside by carts, or does the cart just go right through?
@cytkid11 Dev.builds, but me and Tim are currently busy getting it ready for operation again.
@U98klm Please Read
It don't work.....
@bergerkiller
"Generally, be sure to place the sign while looking in the direction the cart is expected to go"
Hmm, I think this actually should read:
"Generally, be sure to place the sign while looking in the direction the cart is expected to arrive at the intersection"
Example: the cart arrives from east, so traveling westwards to the intersection. Then you should place the switcher sign under the intersection while looking to the west (so that the sign faces east); otherwise, the cart won't react to the sign.