iceiix / stevenarella

Multi-protocol Minecraft-compatible client written in Rust
Apache License 2.0
1.45k stars 59 forks source link

server_list: automatically show LAN servers #401

Open PureTryOut opened 4 years ago

PureTryOut commented 4 years ago

Vanilla Minecraft has an option to open a single player world to LAN play. Other vanilla clients will automatically show these LAN servers in the multiplayer screen. Stevenarella should show these automatically as well rather than having to add it manually every time (the port changing every time you start such a server makes this more annoying as well).

iceiix commented 3 years ago

https://wiki.vg/Server_List_Ping#Ping_via_LAN_.28Open_to_LAN_in_Singleplayer.29 https://wiki.vg/Code_Snippets https://gist.github.com/timmyRS/3760aa3cfbef822bac57fbccde73c119

A simple multicast UDP protocol (see also: protocol/src/protocol/mod.rs // TODO SRV record support)