mirror of
https://github.com/CivMC/Civ.git
synced 2026-07-18 00:20:44 +00:00
27 lines
1.1 KiB
Markdown
27 lines
1.1 KiB
Markdown
# RailSwitch
|
|
|
|
## How to use
|
|
|
|
### Setup
|
|
|
|
1. Place a sign in the block above a detector rail. **It must be reinforced on the same group as the detector rail.**
|
|
2. The first line must be `[destination]` (case insensitive)
|
|
3. The second, third and fourth lines can be destination names.
|
|
4. When a player passes over the detector rail, it will only activate and emit redstone if a player set their destination as any of the three on the sign.
|
|
|
|
You may also use `[!destination]`, which will activate the rail if a player's destination is **not** on the signs.
|
|
|
|
### Usage
|
|
|
|
1. Type `/dest <destination>`
|
|
2. Go AFK
|
|
3. Arrive
|
|
|
|
You can also use spaces in a `/dest` command as an "or" operator, like `/dest <destination1> <destination2>`. In this command, RailSwitch will route players towards signs that contain either `<destination1>` or `<destination2>`.
|
|
|
|
Another way to think about it is that `/dest` takes multiple arguments. Each argument is a destination that will be checked as you pass a sign.
|
|
|
|
### Example Video
|
|
|
|
[](https://www.youtube.com/watch?v=GKku2fcB-wY)
|