Geoff Bourne
Geoff Bourne
You're mixing and matching too many concepts there. That mc-router article is good; however, I think they shouldn't have mentioned the /etc/hosts part especially with saying you can put "localhost"...
When running on a LAN, I wouldn't even recommend using mc-router. Just point to the host and port of the LAN machine. If you do still want to use on...
It's wasn't implemented for the beta Minecraft protocol. PRs are welcome. It would only be a few frame types that would need to be supported.
That's a great idea!
@Codrax with [this library](https://github.com/fsnotify/fsnotify) it looks like I could have it watch for file changes. Would that be even better or still prefer/recommend a timer based approach?
> at lest for the fsnotify backend for linux the CPU over head is very little Right. It's driven by existing filesystem OS events, so there's virtually no extra overhead.
Looks like it'll probably take a code fix. Just noting that more nil checking is needed here https://github.com/itzg/mc-router/blob/ff7ef24f4cd0ca9b7eb0d7436ffd27a4066917f4/server/docker.go#L176
Can you clarify what you mean by refreshing the servers?
For both Docker and Kubernetes there is support for auto-discovery at runtime. Take a look at the README for more info.
...to clarify though, it is just a router and doesn't include some of the other features of Infrared like idle server and auto-start.