LANBeacon
Allows your Fabric server to be discovered by other clients on the local network, as well as by multiplayer tools like Terracotta.
截图
介绍
When you run a vanilla dedicated Minecraft server (e.g., server.jar), it does not broadcast its presence over the local network. In Minecraft, the “Open to LAN” feature is triggered by the client: when a player opens their single‑player world to LAN, the client starts sending a special UDP broadcast packet. Other clients on the same network see this packet and display the world in their multiplayer LAN list.
A dedicated server, by default, only listens for incoming connections; it never announces itself. As a result, even if you are on the same local network, launchers like HMCL, PCL2, or the official client cannot discover your server via the LAN scan.
This mod mimics the behaviour of a Minecraft client. Once the server has started, it periodically sends the exact same UDP broadcast packet that a client would send when opening a world to LAN. The packet contains the server’s MOTD and port number.
When any Minecraft client (or launcher with LAN scanning) on the same network receives this packet, your server automatically appears in the LAN server list. Players can join directly without manually typing an IP address.
So it can also allow multiplayer software like terracotta to detect your server processes
(开发过程中使用了 DeepSeek AI 辅助编码)
常见问题
LANBeacon 支持哪些 Minecraft 版本?
LANBeacon 支持 Minecraft Java 版 1.21–1.21.11,共 12 个版本,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。
LANBeacon 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
评论
登录后评论和评分