Find a players language!

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

pewax

Member
Apr 3, 2017
3
2
0
Dear all,

I was making a fork of ChatTranslator++ by @LimeGlass and @LuisGerdez and I was wondering if there is a way to detect what language a player is using on their minecraft when they join my server. I know this can be done using Java without skript but I don't know if it's possible with skript.

Thank you for the help :emoji_wink:

-Pewax
 
  • Like
Reactions: LuisGerdez
Thank you ^_^
Make sure that you select my answer as correct so that this thread is shown as Solved and that if other people have this question, they can find the answer quickly. :emoji_slight_smile:
 
Make sure that you select my answer as correct so that this thread is shown as Solved and that if other people have this question, they can find the answer quickly. :emoji_slight_smile:

Done, Thank you :emoji_wink:
 
code_language.skript:
On packet:
    If event-string is "PacketPlayInClientSettings":
        If packet field "locate" is "en":

code_language.skript:
On packet:
    broadcast "memes"
    If event-string is "PacketPlayInClientSettings":
        If packet field "locate" is "en":
 
Status
Not open for further replies.