Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Player language

Comments in 'Plugin Development' started by Tarik02, Aug 25, 2015.

  1. Tarik02
    Offline

    Tarik02 New Member

    Joined:
    Jun 24, 2015
    Posts:
    26
    Minecraft User:
    Tarik02
    How to get player language based on language, what selected in minecraft?
  2. Dinokiller
    Offline

    Dinokiller Notable Member

    Joined:
    Sep 22, 2013
    Posts:
    376
    Minecraft User:
    Dinokiller_
    I don't think you can, you can see what country they are from though with their IP.
    EvolSoft and DunxandMinecraft like this.
  3. DunxandMinecraft
    Offline

    DunxandMinecraft Active Member

    Joined:
    Oct 26, 2014
    Posts:
    158
    Yeah. I think the only way is with IPs
  4. PixelGuy75
    Offline

    PixelGuy75 Notable Member Plugin Developer

    Joined:
    Feb 9, 2014
    Posts:
    316
    Plugins:
    2
    Minecraft User:
    PixelGuy75
    The language a player is using in their client can't be determined by the server.
  5. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    You can ask the player himself to choose when he registers.
    EvolSoft likes this.
  6. Tarik02
    Offline

    Tarik02 New Member

    Joined:
    Jun 24, 2015
    Posts:
    26
    Minecraft User:
    Tarik02
    No, in Ukraine two languages Russian and Ukrainian. And what to do, to get this language?
  7. Dinokiller
    Offline

    Dinokiller Notable Member

    Joined:
    Sep 22, 2013
    Posts:
    376
    Minecraft User:
    Dinokiller_
    I already said you can't.
  8. Primus
    Offline

    Primus Notable Member

    Joined:
    Apr 7, 2015
    Posts:
    1,470
    Minecraft User:
    PrimusLV
    Make plugin as @PEMapModder said to let them choose
  9. DunxandMinecraft
    Offline

    DunxandMinecraft Active Member

    Joined:
    Oct 26, 2014
    Posts:
    158
    For the players to choose they could use the command like:
    /lang en or /lang fr
    And you could have the user decide at login of each session.
  10. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder

Share This Page

Advertisement