Networks and connections
A network is a computer and every device linked to it. A program can only use devices in its own network.
Two different things: links and names
Section titled “Two different things: links and names”- A link is a physical connection you make in the world with the Linking Tool. Links decide which devices belong to which computer and whether they can be reached.
- A name is a word you give a device in its form, such as
gate. Programs use names to find devices:detectors.named("gate").
A program never sees links. If a device is named correctly but not linked, the program cannot reach it. If it is linked but unnamed, the program cannot find it by name.
The rules for links
Section titled “The rules for links”- Every link needs a relay at one end. Relays are the Network Repeater, the Wireless Network Bridge and the older Network Interface. A device cannot link straight to the computer or to another device.
- Linked blocks must be within 32 blocks of each other (straight-line distance) and in the same dimension. A server operator can change this range.
- A computer or relay accepts up to 16 links. Every other device has exactly one link, to its relay.
- A network can hold up to 256 devices.
Using the Linking Tool
Section titled “Using the Linking Tool”- Right-click the first block, then the second, to link them. The message Devices linked. confirms it.
- Sneak and right-click the second block to unlink them instead.
- Right-click the same block twice to cancel. A selection also expires after 10 seconds.
- Start from the computer: link it to a relay first, then link outward from relays.
Reaching far away
Section titled “Reaching far away”Chain repeaters, each within 32 blocks of the next, or use a pair of Wireless Network Bridges to jump up to 256 blocks in the same dimension.
Naming devices
Section titled “Naming devices”Open a device with an empty hand and use Device name and Save alias. Names:
- are 1 to 32 characters of letters, digits and
_, starting with a letter or_; - are case-sensitive:
Gateandgateare different; - are unique within one network, so two computers can each have a
gate.
Leave the box empty to remove a name. The computer can be named from its dashboard with Save name. Renaming a device does not update programs: change the name in your program too.
Ownership and trusted players
Section titled “Ownership and trusted players”The player who places a block owns it. A device joins the network, and the access rules, of the computer it is linked to.
| Action | Owner | Trusted player | Others |
|---|---|---|---|
| Use the computer’s editor, start and stop programs | yes | yes | no |
| Name and configure devices, link authorized devices | yes | yes | no |
| Install, start and edit programs on drives | yes | yes | no |
| Approve inventory faces, change Access Controller lists, trust players, clear data | yes | no | no |
| Break devices | yes | no | no |
| Use a public Access Controller or Control Panel | yes | yes | yes |
The owner trusts or untrusts a player with the Player name box and Trust in any device form of the network (the
player must be online), or with /filasignal trust X Y Z PLAYER at the computer. Server operators may act as owners.
Loaded and unloaded areas
Section titled “Loaded and unloaded areas”Minecraft only runs the parts of the world near players, called loaded chunks. FilaSignal never loads chunks by itself.
- A device whose area is unloaded is unavailable: calls to it fail with
device.unavailable, and it raises no events. It reconnects by itself when its area loads again, and handlers receiveconnectedanddisconnected. - A computer whose area is unloaded stops running its program until the area loads again. Saved globals are kept.
- A relay in an unloaded area cuts the path through it.
- A device with its own drive program keeps running while its own area is loaded, even if the computer is not. See autonomous devices.
Common connection problems
Section titled “Common connection problems”| Symptom | Likely cause | Fix |
|---|---|---|
| The link fails with a distance message | More than 32 blocks apart, or in different dimensions | Add a repeater in between. |
| The tool refuses to link a device to the computer | No relay at either end | Link the device to a repeater instead. |
| A device already has a link | Devices accept one link | Unlink it first with a sneak-click. |
| The form says Not linked to a computer yet | The device has no path to a computer | Link it to a relay that is linked to the computer. |
| The form says Computer unreachable | A relay or the computer is unloaded or was removed | Load the area, or repair the chain. |
A program reports device.unknown |
No device with that name in this network | Check the name’s spelling and case. |
A program reports device.type |
The name belongs to a different kind of device | Use the matching factory, such as alarms.named. |
See troubleshooting for more.