Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a feature to advertise servers to LAN #11

Open
Gunni opened this issue Sep 6, 2023 · 2 comments
Open

Add a feature to advertise servers to LAN #11

Gunni opened this issue Sep 6, 2023 · 2 comments

Comments

@Gunni
Copy link

Gunni commented Sep 6, 2023

Is your feature request related to a problem? Please describe.
I'd like if the server manager advertised my dedicated servers to lan using multicast.

Describe the solution you'd like

On the technical side, a Minecraft client with an opened LAN game sends a UDP multicast to the local address 224.0.2.60:4445 every 1.5 seconds. Other clients then listen for this multicast to show your game in their multiplayer menu.

I'd like the server manager to do this for any servers it's running.

Example hax: echo "[MOTD]test[/MOTD][AD]25565[/AD]" | netcat -w 1 -v -u 224.0.2.60 4445

Describe alternatives you've considered
Tried looking for a lan setting or such.

Additional context
Just playing on a server with the kid, find it silly to hardcode things, multicast ftw!

@Fiahblade
Copy link
Member

Hi, I'm afraid I never got a notification for this issue. I see you've been developing this feature (LANAnnouncer). Looks like you got the desired functionality after all ;)

@Gunni
Copy link
Author

Gunni commented Jan 15, 2024

While I got the functionality I wanted (i made it after posting this issue), it's definitely a feature your server manager could trivially add, even when managing vanilla servers!

The protocol is drop dead trivial to implement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants