docker-minecraft-bedrock-server icon indicating copy to clipboard operation
docker-minecraft-bedrock-server copied to clipboard

Server not discoverable through the friends tab as a LAN world. Although connects when directly connecting using the IP.

Open NanoQuark opened this issue 1 year ago • 3 comments

Using tcpdump I see that the server pings my other device on the same network when I punch in the address of the host (Raspberry Pi 4B). Connection works and I see no problems other than the need for my server to BE discoverable on LAN for easy cross-compatibility. However, I also noticed something weird. When removing the saved server in the servers tab, it then immediately appears in the LAN games section, then disappears on the next ping. I'm not sure if this is a bug or a network problem as I am using a public university network, locally only.

NanoQuark avatar Aug 26 '24 04:08 NanoQuark

This image only downloads and runs the software provided by Mojang. Please contact their forum or issue tracker about issues specific to their software.

itzg avatar Aug 26 '24 12:08 itzg

with version 1.21.30 the discovery works on my network

ViperRNMC avatar Sep 30 '24 11:09 ViperRNMC

If you don't see the server in the friends tab as a LAN world, but can connect through the IP, check the level.dat of your world. Look out for

LANBroadcast: LANBroadcastIntent:

Both values must be set to 1 to be visible in the LAN.

LANBroadcast: Whether the world has been opened with the "Visible to LAN players" world setting enabled. LANBroadcastIntent: Whether the "Visible to LAN players" world toggle is enabled.

https://minecraft.wiki/w/Bedrock_Edition_level_format#level.dat

Took me couple of hours to solve my issue. After copying my world on my pc and openend it locally, and then copied it back to the server, the server (world) was not visible in the friends tab anymore, but I was able to connect directly through the servers tab. I didn't change the world settings of the LAN, no clue how that happened. After setting the value to 1 for LANBroadcast the world was visible again in the friends tab.

I have the same issue with the saved server in the servers tab not visible in the friends tab. Although my world stays visible in the friends tab, when I remove it from the servers tab. Maybe that's by design

kimonxx avatar Dec 23 '24 17:12 kimonxx