Inactive [MISC] Hej v0.1 - Login message translated into diffrent languages [1597]

Discussion in 'Inactive/Unsupported Plugins' started by Ranzdo, Dec 22, 2011.

  1. Offline

    Ranzdo

    <Edit by Moderator: Redacted bit url>

    When a user logins on the server they get a login message. The login message is translated to their country's main language. The country is determined with ip lookup and a list with available region code -> lang code.

    If somone joins the server and you have the login message set to "Welcome %p" a player with a swedish ip-address and named "Ranzdo" will get the message "Välkommen Ranzdo".

    If the region code for the ip-address is not supported the server owner will be notified and the message will deafult to english.

    Install guide:
    1. Download the plugin and start the server. A config.yml file will be written in plugins/Hej/config.yml.
    2. Get an appid from http://www.bing.com/developers/appids.aspx and write it into your config.yml file.
    3. Set your custom login message (in english) to be translated.
    4. Restart the server and it should work.


    Features:
    * Uses the bing translator api to translate the custom login message into diffrent languages.
    * Uses a lookup ip api to determine which country the user is from.

    Todo:
    * Add more supported region codes (only 7 right now).
    * Alot more functions.

    Changelog
    * v0.1: Initial realese
     
    Last edited by a moderator: Feb 20, 2017
    Rahazan likes this.
  2. Offline

    Twebby95

    Nice job :)
     
  3. Offline

    md_5

    Nice job, approved
     
  4. Offline

    Averus

    dosnt work at all
     
  5. Offline

    TheLavaGuy

    lol are you danish? :D (hvis ja: SEJT :D) [sheep]
     
  6. Offline

    MaxxzBenedek

    Does this add a login message to the server saying: please login with /login password
     
  7. Offline

    Karlkorv

    Hej på dig
     
  8. Offline

    Frazeq

    Hej på dig
     
  9. Offline

    Miningdude

    May I ask something? Why Bing? (Mostly because it requires one to login)

    JW, thanks!
     

Share This Page