-
Notifications
You must be signed in to change notification settings - Fork 75
Python: Use a higher protocol number to get the gradient motd. #256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
✅ Build minestat 1.0.0.505 completed (commit 3dea70f941 by @) |
|
|
Sounds initally like a good idea, if older servers behave correctly with protocol versions above their own. This would need to be tested (and also how the other MC server implementations handle this, like Sponge, Bukkit/Spigot/PaperMC) and esp. servers with ViaVersion. |
|
This modification only affects Java servers. From the documentation, the change in this protocol number does not affect the integrity of the query results. |
That might be correct, but better check to make sure. Especially with so many server implementations, mods and vendors 😉 So I've tested the change with the following servers:
And everything looks good :) Thanks & BR |
|
For example, on a java server with MiniMOTD installed, if a gradient color is used, MiniMOTD will return a MOTD message that does not contain a gradient to clients with a lower version than the current server. References from:
This means: This is because versions of Minecraft below 1.16 do not support RGB colors. MiniMOTD identifies the client version by the protocol number sent by the client, if the value sent is |
|
In fact, this should be an optional parameter for the user to pass in an arbitrary protocol number. |
|
Will this pull request be merged? |
|
✅ Build minestat 1.0.0.516 completed (commit 350363f345 by @molanp) |
|
|
Ok, now I'm using the correct protocol version 1.21.10(773)
ref: https://minecraft.wiki/w/Java_Edition_protocol/Server_List_Ping |







Proposed Changes