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 Sep 21, 2012@oelpest Yeah it has to stop this quickly, otherwise it would collide into trains ahead. Unlike stations, I can not center the train above the sign, as that would not really make it a waiter...
I'll add a simple permission statement then. Something like pm@<permission>. For trains, I will use a 'one of the players' system.
-
View User Profile
-
Send Message
Posted Sep 20, 2012@bergerkiller i think its enough, when get access to a single permission of one player. I just want to detect a diffrenz of VIP and Denizen... if the VIP has the permission "loltrainlol" (for example, cause it should be short enough, to write it on a sign) :) , there will be a difference between these groups...
the lunchoption and the delayer works great at the waitersign! also the adjustable currency!
Only little thing is, the train stops abrupt at the waitersign and not so soft as a station...
BIGThx for the quick integration :)
-
View User Profile
-
Send Message
Posted Sep 20, 2012@oelpest Ok uploaded a new version. The updated version is on DropBox again (same link) The waiter sign now has a launch delay on the third line, and a launch distance on the fourth line.
The currency display format can be configured in the config.yml now.
Did not yet add the permission thing, not sure how to deal with trains. All players have the permission? One of them?
-
View User Profile
-
Send Message
Posted Sep 20, 2012@oelpest I'm not sure if Bukkit permissions has permission groups I can read, though. If that is possible, sure, I can add it easily.
The ticket sign thing is very simplistic, never really worked it out completely. I guess a currency is a good idea to make configurable...
Waiter sign has no additional arguments on the sign anyhow, so I guess I could add it.
EDIT
No, All I can do right now is add an 'has permission' statement. For carts, it would check the current cart passenger only, for trains, it would check if someone in the train has that permission.
-
View User Profile
-
Send Message
Posted Sep 19, 2012maybe 3 more ideas
great job :) I really love your plugin more and more
-
View User Profile
-
Send Message
Posted Sep 19, 2012@oelpest Hmm I'll have to look into that. Could be the isEmpty state right now checks if any of the carts are empty..obviously it should be that the entire train is empty. On it.
EDIT
Updated the download. It is still the same link. Right now train isEmpty means that the entire train is empty..like it should be.
-
View User Profile
-
Send Message
Posted Sep 19, 2012I just want to destroy the train, if it is empty... if one passenger is in any cart of the train, the complete train should still exist
-
View User Profile
-
Send Message
Posted Sep 19, 2012@oelpest If you want to destroy single carts, use [cart] destroy instead of [train] destroy. Also use [cart] switcher instead of [train] switcher. This way it can (actually) pick the empty carts and destroy them from the train.
-
View User Profile
-
Send Message
Posted Sep 19, 2012I've testet the new testverion... good job :) but, I've got some problems with a sign
It destroys the hole train, if only one cart is empty greetings oelpest
-
View User Profile
-
Send Message
Posted Sep 19, 2012That testing version works a lot better for me, it fixes the stations. Did not test much "off-track" but looks promising.
-
View User Profile
-
Send Message
Posted Sep 18, 2012Status update:
Still need to test a lot, so here is a test version for the time being. Note that other plugins that use BKCommonLib, like NoLagg, MyWorlds and Redstone Mania <do not!> work with this BKCommonLib version. A lot has changed, and I will update all of my plugins accordingly in the end. These versions are already prepared, so it will not take long.
https://dl.dropbox.com/u/3681706/TrainCarts%20v1.71.6%20TEST.zip
-
View User Profile
-
Send Message
Posted Sep 17, 2012@Mystra007
Now now, don't say that, a smart developer knows how to maximize capabilities. Why do you think I went for a redstone-based sign set of inputs and outputs (switcher, detector, station)? It's the perfect way to link signs together.
But are there any errors displayed? Maybe there is some sort of odd startup error that is causing stuff to stop enabling. One critical error is enough to grind it all to a halt.
@Dinastya
I think I can exclude MyWorlds from the teleport handling, as MyWorlds does handle the teleport event and cancels it if the player can't enter the world...or at least I hope it does. I guess I could always add a regular 'train teleporter' sign, which doesn't use the MyWorlds permissions.
-
View User Profile
-
Send Message
Posted Sep 17, 2012@Dinastya
Or you could just code it yourself, because there is no way a plugin will answer the needs of every minecraft servers in existence or be compatible with all the plugins farm peoples use.
-
View User Profile
-
Send Message
Posted Sep 17, 2012@bergerkiller
I think it does but might wanna check the source.
But if your sure it isn't possible then i will just use single carts and use multiverse portals to teleport it cart by cart. But that don't work for trains/ empty carts :/
-
View User Profile
-
Send Message
Posted Sep 16, 2012Please note that this plugin isn't compatible at all with Railcraft. You can't even claim cart and none of the signs works even if they register.
-
View User Profile
-
Send Message
Posted Sep 16, 2012@Dinastya Not sure how, though? It depends a lot of world enter permissions, and I'm not sure these get automatically handled when 'just' teleporting a player...
-
View User Profile
-
Send Message
Posted Sep 16, 2012@bergerkiller
Could you please make teleportation between the same world possible without a external plugin? Or maybe with Multiverse compatible. I don't really want to switch my world loading plugin i'm using multiverse for more then a year and i don't like to switch to another plugin. But i really need the teleport function though.
-
View User Profile
-
Send Message
Posted Sep 16, 2012I'm now in the final stages of updating this plugin. So far fixed:
Still to do:
If you got more, feel free to reply.
-
View User Profile
-
Send Message
Posted Sep 14, 2012@gibatross
Get the most up to date version... That means you're using an old version. Or you're using a new version with the wrong craftbukkit version.
-
View User Profile
-
Send Message
Posted Sep 14, 2012when the next update coming i need it coz my server says is traincart up to date