Skip to content
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

Give different resource pack depending on language #14

Open
Andre601 opened this issue Jan 18, 2020 · 2 comments
Open

Give different resource pack depending on language #14

Andre601 opened this issue Jan 18, 2020 · 2 comments
Assignees

Comments

@Andre601
Copy link

What do you think should be added/changed?

I'm not sure how possible this is, but I assume you send a sort of download request to the joining player including a link for the client?

In that case, wouldn't it be possible, to enable an option that allows downloading a different RP, if the user has a specific lang set (i.e. Chinese or Korean)?
I think this could be a potential solution for showing emojis instead of text.

Any additional information that you would like to provide that would be helpful/relevant?

@RadBuilder RadBuilder self-assigned this Mar 24, 2020
@RadBuilder
Copy link
Owner

I've thought about this before, but it would require a lot more checking and looping to replace things based on the player receiving the message. It would be possible to replace normal chat messages with this easily, but not commands, signs, and other things without a lot more thinking. I'll research this more to see if more is possible, but chat messages with this option would be a good option at the least.

@Andre601
Copy link
Author

Yeah. Looking further into this, would it be quite a difficult task.
Checking for the language would be fairly easy, considering Spigot offering a method to get the currently used language.
The difficult part would be displaying the text, which while it might be easy on chat (Send different character to player depending on their lang) would be more difficult for things like signs, which would require packet manipulation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants