Custom servers/Bukkit/TrainCarts/Signs/Detector

From Minecraft Wiki
Jump to: navigation, search
The contents of this page are not supported by Mojang AB, the Minecraft Wiki, or the Minecraft Forums.
This mod page is not supported or maintained by the developer of the mod.
The content on this page and its sub-pages may be incomplete and inaccurate.
The supported wiki for this mod can be found at http://tcwiki.minenews.de/.

Introduction[edit]

Detector signs are very similar to switcher signs, only difference being that:

  • They do not switch the tracks
  • They detect multiple tracks

You can use detector signs to detect certain trains on a very long piece of track. You can use it, for example, to stop spawning trains if the track is currently in use. You can also use it to make trains take alternative routes if a certain track is in use.

Syntax[edit]

First line: Whether to detect trains or single carts

Second line: detector

Third line: Statement 1

Fourth line: Statement 2

Blank Sign.png
[train]
detector
o@player1
tag1

If the third and fourth lines are kept empty, it will toggle the lever whenever it finds a train.

Placement[edit]

Two detector signs in operation

Placement is rather difficult, since you need to use pairs of detector signs, one on both ends of the track to detect. The detector signs have to face each other, or they will have a hard time finding each other. Both signs are operated simultaneously, so you can use both ends to toggle a lever, using 4 statements in total. By adding multiple detector signs underneath one track you can expand the amount of statements.

Statements[edit]

On the third and fourth lines you can put the statements to evaluate.