When a dedicated server is stopped via the /stop command, players sometimes see a generic network message("Disconnected") instead of the intended disconnect message ("Server closed"), which prevents some Minecraft proxy software from identifying backend server status properly.
Reproduce steps:
Start a Minecraft 1.21.11 server
Join the server
Execute /stop command
See message “Disconnected” instead of “Server closed”, if not, repeat step 1~3 should help.
Environment
Client: Vanilla 1.21.11 & Fabric 1.21.11, Server: Vanilla 1.21.11
Thank you for helping us improve Minecraft! We saved your files: