Repository navigation
language setting info packet #62
Stachelbeere1248
started this conversation in
Ideas and Feedback
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hypixel has localizations, typically set via
/lang.However, Hypixel-specific mods handle these localizations poorly, and in many cases not at all.
While the primary reason for most modders is probably effort, personally I think just figuring out the correct language should be made easier - randomly guessing regular expressions until one matches is obviously not the way to go, but there aren't that many uniquely localized literals per game, in fact I don't think they even exist for all localized games.
The packet could be event-based on language change with an initial dispatch sometime soon after handshake (probably the most reliable way), or request-based, requiring intercepting later changes downstream (not ideal as the player can change the language in several ways).
If someone knows a good alternative way to detect the language feel free to enlighten me instead.
All reactions