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.
Thanks bergerkiller! We had only noticed this with minecarts. Looks like we'll just have to live with this bug then...
@Tapsa78 It is a client bug indeed. On rare occasions, players are unable to interact with entities. It had to do with chunk sending, and I could reproduce the same behaviour without any plugins on the server. At first I thought it was related to NoLagg's altered chunk sending, but with that disabled it still happened. There is no proper way to fix it, but one way to fix it is to make the player walk a significant distance away from the cart and then walking back. Reconnecting, like you mentioned, also works.
We have noticed a weird bug with minecarts on our server and I was wondering if anyone else has encountered this. Sometimes when a player tries to enter a minecart with a right click nothing happens. There are no errors but the player cannot get into the cart. This seems to be a client bug as other people on the server are not affected at the same time and a quick reconnect will fix this. Happens with both TC spawned carts and manually placed ones.
I'm not sure if this is related to Bukkit or TrainCarts. We got the first reports of this about two weeks ago, and we had the latest release build of TC then. Now we have the latest dev build and this happened to me just this morning after I updated Bukkit to the new release. Can't be permission related as I'm an op...
Has anyone encountered similar problems?
@pnndzwdz Appears to not be caused by a plugin, look into some tools to repair your worlds, as it appears to be a corrupted chunk.
@maxlehot1234 Was busy the past week, I'll get to it ASAP.
@miat1170 Do you have the right BKCommonLib version for your server?
Good afternoon. I can not run TrainCarts on MCPC. In what could be the problem?
Not working, I don't know why.
Hello, I have a following error and I dont know, which plugin was cause this...
http://pastebin.com/ag55GzNr
HI, i need your help, please find the bug
I have a big problem, check the picture...
http://imgur.com/uw9MskP I create 4 "subway" with 5 carts each, but they bug... I add waiter sign but they bug on it :(
If you have an idea, comment this. Please help me, and for playerexit and blockchanger, it is working very good, thank you.
@Mamesoft I already fixed this some days ago in the dev builds. (1.73.0)
@N1T3SLAY3R Out of memory, raise your allocated memory for the server as it clearly ran out of memory to have the amount of chunks required loaded.
Announce Sign like the image below doesn't work after this plugin was updated to Ver.1.72.9
new error: http://dev.bukkit.org/bukkit-plugins/traincarts/tickets/180-crash-error/
@CocoCr33p3r @maxlehot1234 Adding to that: don't forget there's a complete wiki explaining everything related to the placement of signs and the difference between [+train], [!train] and [train], plus the existence of [cart] alternatives many seem to forget about which target single carts at a time.
@maxlehot1234
you need to type
Thank you, but it is not working...
i put: [train] property playerexit no
The player can exit the cart??? but where i need to put the sign? before or after the station, do you have a video for this?
@maxlehot1234
http://www.minecraftwiki.net/wiki/Bukkit/TrainCarts/Signs/Property
playerexit (yes|no)
Set if players can exit
Hi, is it possible to disable player exit the train if they are not in station?
How can i do thie if its possible, thans?
Your plugin was very nice.
Please, need help.
BergerKiller, I tried to setup detectors to circonvent the waiter issue before switch clusters but I could not get a single one working in diagonal.
I tried placing sign-posts diagonally and facing each others, but it can't find the oppisite sign.
Please, implement detector regions or fix the waiters so they properly detect trains behind multiple opened switches. Or allow detectors across diagonals and slopes (Not fund of this but, it could help solve my trains wrecking over switch clusters until you can implement the above).
@timsavage Yeah it's one of the many 'features' added at some point in time that didn't fully migrate to the newer builds. There is some form of WASD-control in there, but it doesn't seem to do anything anymore...
@lipe124 Yeah minebackup indeed causes that. Of course, if apart from the warnings you don't get any glitches, then it's not a big of a deal. But having trains unload like this tends to cause glitches. There should be some other backup plugin out there, it's not THAT hard to write.
@Jordi699 Place a block ONTOP of the iron bar, and attach signs to that. Unlike normal rails, you now place signs above the rail.
@lvlercenary It should be removed from the config, so something is wrong with that then.
I keep getting these: [WARNING] [Train Carts] Train 'train ' had to be restored after unexpected unload
I notice you said that minebackup could be the cause and I am using that plugin. Is there a different plugin that would let me make backups without causing problems?
Has anyone tried to get minebackup fixed, i see it hasn't been updated in ages :(