-
Notifications
You must be signed in to change notification settings - Fork 36
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
Parse forge mods from status response #556
Comments
Originally posted by @ItsDrike in #555 (comment) |
We support modded server cores as well as vanilla one (#446, #433, etc). Although, they usually just follow the protocol, we sometimes change some things to fit their needs (#439, we didn't have a required part of request, but vanilla was fine with it, so why we would change it?).
It's and it doesn't have documentation which makes it hard to general user to understand it (it has quite strange structure and multiple fully different versions).
They are, but they are also often used and referenced. Both mcstatus.io and mcsrvstat.us parse |
This comment was marked as off-topic.
This comment was marked as off-topic.
This sounds concerning, I don't necessarily love the idea of adding support for parsing something that might constantly end up changing with newer versions in major ways. But it depends on what these changes are, how many of them we'd need to support at a time, and other factors.
In this comment, I was talking about the This means that users can already access |
I've actually already written a forgeData response reader for my discord bot StatusBot (decoder module linked here), it would just be a matter of making a nice interface for it here |
Why do you need to transform dict object to buffer and use bytes? Why can't you just use dict? |
Actually, it has quite poor documentation, but we anyway need to do our own research. |
From the example code CoolCat467 sent, it seems that |
I tested it with |
Yeah, I also didn't find any good documentation for it, do you have some docs or even source code link to the forge implementation that describes this @CoolCat467? |
Yes, let me try to go find it. I was meaning to find the link to this the other day but it was getting a bit late. |
Here we go, this file from forge explains everything pretty well: |
Oh, that makes everything much more cleaner... I will approve #555 after you will resolve the conversation. |
This includes
forgeData
key in the answer and other modded cores, if they provide this information.The text was updated successfully, but these errors were encountered: