Skip to content
Irmo van den Berge edited this page Jul 8, 2023 · 10 revisions

Moved

You can find an up-to-date wiki here: https://wiki.traincarts.net/p/TrainCarts

Welcome to the TrainCarts wiki!

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 features.

Trains

The first thing you will notice is that you can now connect carts 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 with signs.

Pathfinding

Cart pathfinding 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.

Read more...

New physics

Trains can travel on top of pressure plates and alongside ladders, adding an X-crossing and vertical rail to be used.

Read more...

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.

Read more...

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 the configuration needed.

Read more...

Permissions

Like in all plugins that use BKCommonLib as the 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.

ActionBlocks (Deprecated)

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.

Read more...

Resources