mcserversoft / IssueTracker

Public issue tracker for mcss.
https://www.mcserversoft.com
1 stars 0 forks source link

Add a feature to advertise servers to LAN #11

Open Gunni opened 1 year ago

Gunni commented 1 year ago

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 commented 7 months ago

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 commented 7 months ago

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.