Mods/TrainCarts/Signs

= Action signs =

You can use signs to perform special actions with trains. All these signs have [train] or [cart] on the first line and require redstone power to function. If you want to invert the redstone power, this way not requiring any external redstone power at all, you can put an exclamation mark in front of train or cart: [!train] [!cart].

When [train] is used, the sign targets the entire train above this sign. When [cart] is used, the sign targets only the cart that is currently above this sign.

Certain signs toggle a lever as well, you can use this output to change the outcome of other signs. For example, you can combine an unpowered track switcher with a destroy sign to remove carts or trains with certain characteristics.

Remote Control
A few sign systems support remote control: the ability to control trains by name. You then use the [train ] format, or the shorter alias [t ]. Remotely controlled signs only respond to redstone changes, thus where you place them is not important. So far the property, destination, destroy and eject sign systems support remote control.

= Placement = Each sign targets a certain track piece above. Signs attached to walls take the block they are attached to and look up until they find a piece of track. That track is then used for that sign. Sign posts look up until they find a piece of track. There may not be blocks without signs between the bottom sign and the tracks.

You can make a pillar of blocks below a single track piece and attach signs to it, to make a bundle of actions on a single track piece. Trains look down when they enter a new track piece to check for signs, so make sure you put the output signs above the signs that use this output for correct results.

For most signs the sign direction influences what happens:


 * The train has to face the text on the sign to make the sign respond
 * Signs with the same alignment as the tracks (faces to or away from the tracks) always respond
 * The train is spawned in the direction the sign faces

Types

 * Destroyer - destroy trains
 * Ejector - eject trains (let passengers exit)
 * Blocker - blocks trains coming from a certain direction
 * Station - stop and launch trains
 * Property - set properties on the train such as tags, destinations and owners
 * Switcher - switch levers and rails based on properties on the train
 * Detector - detect trains on a set region of rails
 * Transfer - transfer items between trains and chests/furnaces/dispensers
 * Crafter - crafts items inside the storage minecarts of a train using a nearby workbench
 * Elevator - teleports trains including passengers up and down to another elevator
 * Teleporter - teleport trains including passengers (requires MyWorlds)
 * Spawner - spawn an entire train up to 30 carts long, cart types can be set
 * Trigger - display train information and a countdown of the arrival time of trains on signs (requires SignLink)
 * Destination - marks a destination for the path finding and sets the next destination for the train

To-do

 * Waiter - waits the train until the track is clear of other trains

= Permissions =

Each sign has a separate build permission. Below the permission nodes for the above sign types: