Glownet

Glownet is a system in MaddTech for interconnecting terminals, which can then establish connections between each other, and can be used to connect other types of cables (redstone, fluid, item, but not energy) over the glownet cable. Cables from other mods, which use the MaddTech API, may also be used.

For example, a single glownet cable may interconnect the terminals of all players on a server, and say we have players A, B and C. The terminals of players A and B may be configured to connect to each other, and then a fluid pipe and redstone wire may be connected to different sides of each terminal, to send fluids and redstone signals between them. Player C will not be able to intercept the signals unless the players also agree to connect him. It is also possible to configure a terminal to connect with everyone who asks.

Transporting over glownet costs 1 J/t of energy, plus another 1 J/t for every 10 blocks of glownet cable (so it takes more energy to transport further).

Terminals
A glownet terminal is used to establish connections with other terminals, to multiplex other cables. A glownet cable must be connected to the bottom side of a terminal. The top side of the terminal is an energy input. The other sides are colored red, green, blue and white, and each has an "address" and a "target". Those can be changed in the GUI, which may be opened by right-clicking said terminal with a screwdriver.

To set the target of a given side, we type the target address into the GUI and click the appropriate "SET" button. By clicking "PUB", you agree for anyone to connect to said side. For the connection to work, the selected target address must actually be connected with a glownet cable to your terminal. If the other side also sets you as as a target, you are connected, and another cable may be connected to the corresponding sides of each terminal, and they will act as if they were directly connected.

Cables
A glownet cable is used to interconnect terminals, forming the glownet network.

Switch
A glownet switch acts as a glownet cable but only if it receives a redstone signal; when there is no redstone signal, it disconnects the adjacent cables.

Cabinet
A glownet cabinet can be used to cross over different glownet cables without them interconnecting. It has 3 inputs, and 3 outputs - one input opposite each output. You can swap each input with each output by right-clicking with a screwdriver on the necessary side. The input/output also means that only transmissions initiated by the input are sent over. This means for example, that a pump will only push fluids from the input to the output.