1
1
Fork
You've already forked digirouter
0
A router for Luanti digiline messages
Lua 100%
2026年01月12日 19:22:20 -07:00
textures added sprite 2026年01月12日 19:22:20 -07:00
init.lua added sprite 2026年01月12日 19:22:20 -07:00
LICENSE added license 2025年12月31日 19:09:01 -07:00
mod.conf added optional mod 2025年12月31日 19:22:39 -07:00
README.md improved dos avoidance 2026年01月03日 20:15:47 -07:00

Digiline router

This is a simple digiline "router" mod that is designed allow for larger digiline networks.

Here is how it works:

  • A router listens on a configurable prefix

  • When a incoming digiline message has a channel name that matches the prefix, it retransmits the message with a new channel name that has the prefix removed from the front

The idea here is to allow for complex topologies that route messages where they need to go based on the channel name. For instance, sending to a channel called east1-area2-myhouse-dev1 might go though router prefixes east1-, area2-, myhouse- to reach channel dev1

To avoid loops, digiline routers remove all characters up to the last instance of the prefix. This means that if you set a router to dc1- and send it string dc1-dc1-dc1-dc1-test the resulting channel name will be test

Note on security and stablity

This mod needs a testing. If you do find a issue such as a denial of service attack please open a new issue.