meh-is / LANAnnouncer

Minecraft Fabric mod that adds LAN server announcements to dedicated servers.
MIT License
4 stars 0 forks source link

logo

LAN Announcer

Announces the server to the LAN using multicast UDP.

Sends an announcement packet every 1.5 seconds on both IPv4 and IPv6, similar to how the normal Minecraft client does when you "Open to LAN".

Makes the server automagically appear on all Minecraft clients on the same local network.

Really nice when making home server for LANs or for the kids.

Technical details

Every 1.5 seconds it sends the payload:

[MOTD]<server motd>[/MOTD][AD]<server listen port>[/AD]

For example:

[MOTD]A Minecraft Server[/MOTD][AD]25565[/AD]

Over UDP port 4445 to the IP addresses:

Published on

Credits

A majority of this project was created with the help of GPT-4.