Mods/TrainCarts

TrainCarts is a plugin developed by Bergerkiller and features everything related to Trains of minecarts. It was initially developed to link multiple carts together, creating a moving train. The physics got improved as much as possible, with the final result: A single moving entity. The development of this plugin eventually lead to implementing a lot of features, including sign-based actions, commands, cart properties and a broad API other plugins can implement to add their own features.

Trains
The first thing you will notice is that you can now connect carts together to form infinitely long trains. Every cart in this train is called a member, all members combined are called a group. Every member communicates with the group, so when the front cart hits a block, it stops the entire group. When someone pushes a cart, this pushing force is shared among all members. Therefore long trains are less responsive than short trains.

Connecting carts is done without commands, all you have to do is make two minecarts collide.

Path finding
Cart path finding is added, which allows you to send trains across the world without ever having to change something. This is very useful for automated stations and during cave mining expeditions. Of course, it doesn't toggle all tracks automatically, that could cause strange situations. You have to manually mark the tracks that can be switched using switcher signs. Destination signs set the destinations trains can travel to.

Signs
Sign systems are added to simplify the track logic of your stations. It allows you to destroy and eject carts, transfer items, stop and launch trains and much much more. Read more...

Commands
The plugin has lots of commands you can use to alter the behaviour of trains and minecarts, or to do something globally.

Configuration
TrainCarts can be configured in the config.yml file. All setting nodes have a header to help you understand what that particular node adjusts. Other than that, you can set the default train properties (properties applied to new trains) in the DefaultTrainProperties.yml file. The nodes should speak for themselves. Try not to touch the other files, as it can cause corrupted save data, or the plugin getting out of sync. Deleting the files should re-set TrainCarts completely, may one of the files get corrupted. The plugin automatically generates all configuration needed.

Permissions
Like in all plugins that use BKCommonLib as base, all permissions can be found in PermissionDefaults.yml in the plugin folder. There they are all listed together with a description and permission default, which you can alter as well.

Action blocks
You can install the add-on, TrainCartsBlocks, to add block-based systems to the game. They are dumbed-down versions of the sign systems mentioned above.

Resources

 * Bukkit Dev Page
 * Bukkit Forum Page
 * GitHub Download Page

Source

 * TrainCarts
 * TrainCartsBlocks