DragonetMC / DragonProxy

šŸ² A proxy to allow Minecraft: Bedrock clients to connect to Minecraft: Java Edition servers.
https://invite.gg/DragonetMC
GNU General Public License v3.0
990 stars 134 forks source link

Fix MOTD/Player count on ping passthrough #511

Closed james090500 closed 4 years ago

james090500 commented 4 years ago

This fixes server showing as offline when ping pass through is enabled.

Noticable changes:

lukeeey commented 4 years ago

Iā€™m not sure I want the world name to change as I think itā€™s useful to display the version and the software used.

As for the motd, it does sometimes display correctly. I may expand configuration options for it in the future. If you can change the world name back Iā€™ll merge this.

james090500 commented 4 years ago

As requested.

The issue was the java MOTD's have line breaks and everything else. So its cleaner for DP to have it's own MOTD

lukeeey commented 4 years ago

We can work on that in the future and we can make some MOTDs display correctly. Maybe allow regex to replace certain characters (like leading space - remove those and the hypixel motd doesnā€™t look half bad)