🛤️TrainCarts

All aboard!

Overview

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.

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.

By default all minecarts placed by players become TrainCarts managed Minecarts. If you want to spawn Vanilla Minecarts that behave with original Minecraft Physics, you can do so through permissions or by spawning with a dispenser.

Mobs no longer get into Traincarts Minecarts by default.

Properties

Trains and individual carts of trains have properties. These can be set using commands (/train and /cart) or using the property sign.

Property Sign

Property signs can perform the same tasks as you can do through commands, but then automated. They require redstone power to function and ignore cart ownership, so if you only want it to target trains you own, combine it with a switcher sign checking for owners.

[train]
property
speedlimit
1.5

The following properties can be set using both [cart] and [train]:

The following properties can only be set using [train]:

Set name

The name property alters the name of the train. To account for multiple trains being renamed, and because every train needs a unique name, the # value is added as a counter-based replacement. For example, the first train passing over the property sign with name value: Intercity#A would be named Intercity1A and the second Intercity2A, and so on. You can use this in combination with the spawner sign to spawn trains with a fixed naming system. This naming system can then be used for remote control to control all trains of a certain spawner or category.

Wait Property

The wait properties control when a train will automatically slow down. This can be used to slow a train down when obstacles are ahead of the train. This feature largely replaces the older waiter sign, and is a lot more intelligent:

The following 'wait' properties exist:

They can also be configured with the /train wait <property> <value> set of commands.

Physics

Introduction

TrainCarts also features physical changes. Pressure plates and ladders can act as rails, and minecarts can be placed on top of them. The entire plugin recognizes these blocks as actual rails.

X-crossing

X-Crossing using a wooden and stone pressure plate

Pressure plates act as a simple X-crossing, letting both sides continue to the other side. If one side is not connected to another rail, it will act as a simple one-way rails. Both wooden and stone pressure plates can be used.

Vertical rails

A ramp made using ladders and sloped tracks

Ladders can be used as vertical rails. Trains will glide next to them nicely, and exit them without problems. To get trains off the vertical rails, put a sloped track connected to it. This connection is automatically handled by the plugin. To change from horizontal to vertical without losing momentum, put a sloped track between the two rails.

Stations also work vertically, you then power above or below the sign to change directions, or use the up and down directions.

Last updated