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 May 10, 2013@leagris Enhanced ownership...I dunno, that's going to be rather tricky. How exactly would you imagine it being used? (note that owners are per minecart/train)
I dislike adding 'special' tools though, it results in conflicts most of the time. Let's keep it obvious shall we? :)
Right (?) click with rail on rail A connection (normal rail) is made facing the direction you look. Facing towards an up-slope? A slope is made. Block place event is fired (can place), no item is subtracted.
Right click with minecart onto minecart / place minecart Based on the sneaking position, alternates between TC and default minecarts. Entering/interacting with the minecart is only cancelled when minecart type is changed. This entire feature will probably be a configuration option, by default false.
The command I can add.
I'm not sure how many people are interested in the right-click sneak/nosneak system, so yeah, should I really implement this knowing that only one person will ever use it? Kinda the issue.
The track switching suggestion is a good idea, and a very useful one, too. I will also add the command to change between the two.
-
View User Profile
-
Send Message
Posted May 10, 2013@bergerkiller
Hello,
The
train.place.traincartpermission work wonderfully.Please would you add some commands and sneak placing + tools to allow placement of regular minecarts and TC minecarts?
Sneak dependent placement:
train.place.traincart)TC tool item (wooden pickaxe / configured item ID like MM):
train.use.tool&&train.place.traincart&&owner)train.use.tool&& block place/break permission)Commands:
train.place.traincart)train.place.traincart# && owner)Enhanced ownership:
g:groupname(should be fine with vault andgroup.groupnamepermission node check).-
View User Profile
-
Send Message
Posted May 10, 2013@Etsija @DJTomek Changes for TrainCarts build #92: - Sorted item transfer is now implemented, with width and height radius. Use negative radius value to transfer from/to outer to inner - SpawnItemDrops property for minecarts, can be set using property signs and using command /train or /cart spawnitemdrops true/false. spawnitemdrops is the property name.
Do note that servers previously using the default spawnitemdrops false in the config.yml will have to edit defaulttrainproperties (after restart) so they are set false there. Existing trains are probably left unaffected, and you will have to manually set those to false, or edit trainproperties.yml and put 'spawnitemdrops: false' after each displayed cart.
That is all.
-
View User Profile
-
Send Message
Posted May 10, 2013@DJTomek Yup, I can add that, and I will add it. It's a simple matter of moving the 'spawnItemDrops' property from config.yml to train props. I will make it a cart property, but it can be set for entire trains.
-
View User Profile
-
Send Message
Posted May 10, 2013@bergerkiller
It would be nice, because I have railway system, where carts are spawning from sign and I disabled drops. But if someone build his own rails system (or anything else with any type of carts), place cart on wrong way and want pickup it.. he can't.
My imagine is to setup in DefaultTrainProperties.yml something like dropitem: true/false. In group default I can set true and in spawner set false.
-
View User Profile
-
Send Message
Posted May 10, 2013@DJTomek Hmn no, there are no permissions set for who can pick up what items, and TC does not keep track of the destroyed minecart items. You can set permissions for who can destroy trains, however.
Do you need a train 'spawn drops' property? I can easily add it. :)
@Etsija I am now going to finish off the sign ordering system. Format will be a bit simple, like this, since I have a text length limitation:
-
View User Profile
-
Send Message
Posted May 10, 2013Is possible to allow player destroy and pickup carts, which he placed (or another player) and disable pickup destroyed carts spawned by [train] sign?
-
View User Profile
-
Send Message
Posted May 10, 2013@Trioxinz 1.) What version of TC is it that you are using? If not the latest found on the dev-build server, update first.
2.) See also 1. There is a train.place.traincart permission, only players with that permission can place a traincarts minecart. By default this is TRUE for everyone.
@ThePersonally Dev-build of TC (see above) and BKC 1.52 dev-build.
-
View User Profile
-
Send Message
Posted May 9, 2013Bergerkiller So I have been using your plugin for almost a week its great but there seems to be a bug or something, on some occasions the train will lose its data values and reset to default. Is there a fix for this or did I do something wrong? Second thing is there a way to let only me to make traincarts and all others players on my server just place norm carts that way they don't bulk up the data storage with them?
Thanks in advance. Trioxinz
-
View User Profile
-
Send Message
Posted May 9, 2013Traincart 1.5.2?
-
View User Profile
-
Send Message
Posted May 8, 2013@Jacold I still need to decide on a good way to have the best of both worlds. Some people only want the default movement control that is in Minecraft, others, like you, want absolute control sort of like uCars can on rails.
My best option is to add a train property that sets whether 'full control' is enabled...would that do for you?
-
View User Profile
-
Send Message
Posted May 8, 2013"There is a 'allowManualMovement' property for trains, when enabled, players can (very slowly) move the minecart back and forth using WASD. But it's not exactly what you want, as that is a bit more broad."
So can you add an option to enlarge brake power? My users creates trains so this isn't defined trains with arrival times. It's very needed by my players to easiest maneuvering.
-
View User Profile
-
Send Message
Posted May 7, 2013@bergerkiller
Thank you! ;)
Now you 150% more awesome than your closest analogue.
-
View User Profile
-
Send Message
Posted May 7, 2013@bergerkiller: awesome, been looking for the improvements to chest in/out ordering! Hope you get it sorted out soon!
Awesome work, as always - as leagris commented.
-
View User Profile
-
Send Message
Posted May 7, 2013@XanvvdeR 1.) LINK 2.)
-
View User Profile
-
Send Message
Posted May 7, 2013The Development builds that i use don't work plzz give me TrainCarts for 1.5.1
-
View User Profile
-
Send Message
Posted May 7, 2013As requested, I added a 'jumper' sign. It's still in a very primitive form, as I want to expand it further, but for now, 'it works'.
What this does, is jump a single cart, or all carts of a train, at the given offset towards a certain direction. The offset is relative to the sign like eject offsets are, which means you can jump forwards using 0.0/0.6/1.0
Mind you: this feature required me to add several other changes so it properly works. In addition, I also fixed some issues with trains sometimes hanging 'stuck' in the air when jumping up vertically.
Please, if you use it, test everything carefully to see if all physics are behaving as they should. I did, but not very extensively. Keep a close eye on vertical rails especially.
I'm now going to look into some sort of way to do item transferring in an order fashion. I previously got stuck because of limited line space to put arguments, so I may decide to add aliases for the sign name to make room for more arguments.
-
View User Profile
-
Send Message
Posted May 7, 2013@bergerkiller
Yeah, now it work wonderfuly.
I am so exited of your latest fixes. No more stuck minecart on restart, smooth rides, low server charge, exit offset... well unless the server crash due to some other plugin bug or the java VM explicit kill, but it is no longer a TC issue :)
Praises to you, Train Carts now is approaching a very mature state if not already. I'd let the others experiment the chest transfers and automations as I don't uses these on my server.
Many thanks.
-
View User Profile
-
Send Message
Posted May 7, 2013@Etsija
Thanks! It is working now
-
View User Profile
-
Send Message
Posted May 7, 2013@leagris Was a properties sign error, forgot that the / separator now also allows a 'true or false' setting based on sign power level. Had to add an exemption. Latest version fixes your problem.
Now looking into the ordering argument for transfer signs.