xAuth messages.yml error

Discussion in 'Bukkit Help' started by FrancescoTG, May 26, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    FrancescoTG

    Hi.
    Recently I installed in my server the plugin xAuth. I found his official italian transaltion, but when I change my messages.yml file to the translation and I reload xAuth, I get this error:

    Code:
    2012-05-26 15:18:24 [INFO] [xAuth] Enabling xAuth v2.0.9
    2012-05-26 15:18:24 [SEVERE] Cannot load plugins/xAuth/messages.yml
    org.bukkit.configuration.InvalidConfigurationException: unacceptable character '�' (0xFFFD) special characters are not allowed
    in "<string>", position 224
        at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
        at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:143)
        at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:109)
        at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:177)
        at com.cypherx.xauth.MessageHandler.reloadConfig(MessageHandler.java:30)
        at com.cypherx.xauth.MessageHandler.getConfig(MessageHandler.java:24)
        at com.cypherx.xauth.xAuth.loadConfiguration(xAuth.java:128)
        at com.cypherx.xauth.xAuth.onEnable(xAuth.java:47)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:371)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:358)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: unacceptable character '�' (0xFFFD) special characters are not allowed
    in "<string>", position 224
        at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:70)
        at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:50)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
        at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
        ... 17 more
    Here you messages.yml:
    Code:
    join:
      register: '{RED}Non sei registrato.{NEWLINE}{RED}Registrati utilizzando /register
        <password>.'
      login: '{RED}Autenticati usando /login <password>.'
      resume: '{BRIGHTGREEN}Bentornato, La tua sessione di accesso è stata ripristinata.'
      error:
        lockout: Sei temporaneamente bloccato per aver superato i tentativi massimi d''inserimento password.
        name: Il tuo nome contiene uno o più carattere proibiti.
        online: Sei già online!
    register:
      usage: '{RED}Uso corretto: /register <password> [email]'
      success: '{BRIGHTGREEN}Sei stato registrato con successo!{NEWLINE}{BRIGHTGREEN}Ora
        autenicati usando /login <password>'
      error:
        disabled: '{RED}Le registrazioni sono attualmente disabilitate!'
        registered: '{RED}Sei già registrato!'
        limit: '{RED}Non puoi registrare altri account!'
        password: '{RED}La tua password deve essere lunga almeno {PWMINLENGTH} caratteri!'
        email: '{RED}Utilizza un indirizzo email valido durante la registrazione!'
        general: '{RED}Qualcosa è andato storto durante la creazione del tuo account!'
    login:
      usage: '{RED}Uso corretto: /login <password>'
      success: '{BRIGHTGREEN}Ora sei autenticato!'
      error:
        registered: '{RED}Non sei registrato!'
        authenticated: '{RED}Sei già autenticato!'
        password: '{RED}Password errata!'
        active: '{RED}Il tuo account non è attivato!'
        general: '{RED}Qualcosa è andato storto mentre ti stavi autenticando!'
    logout:
      success: '{BRIGHTGREEN}Ti sei sloggato!'
      error:
        logged: '{RED}Non sei autenticato!'
        general: '{RED}Qualcosa è andato storto mentre ti stavi sloggando!'
    changepw:
      usage: '{RED}Uso corretto: /changepw <old password> <new password>'
      success: '{BRIGHTGREEN}Password cambiata!'
      error:
        disabled: '{RED}Il cambio della password è attulmente disabilitato.'
        logged: '{RED}Non sei autenticato!'
        incorrect: '{RED}Vecchia password sbagliata!'
        invalid: '{RED}La tua nuova password non soddisfa i requisiti di complessità!'
        general: '{RED}Qualcosa è andato storto durante il cambio della password!'
    authurl:
      registration: '{RED}le registrazioni di AuthURL sono disabilitate.'
      changepw: '{RED}AuthURL non supporta il cambio della password.'
    misc:
      illegal: '{GRAY}Devi essere autenticato per continuare!'
      timeout: Ci hai messo troppo per autenticarti!
      strikeout: Hai inserito troppe password sbagliate!
      reloaded: '{RED}Server ricaricato, devi ri-autenticarti.'
    admin:
      permission: Non hai i permessi per utilizzare questo comando!
      register:
        usage: '{RED}Uso corretto: /xauth register <player> <password> [email]'
        success: '{BRIGHTGREEN}Account creato correttamente per: {WHITE}{TARGET}'
        error:
          registered: '{RED}Questo giocatore è già registrato!'
          general: '{RED}Qualcosa è andato storto durante la creazione dell''account di
            {TARGET}'
      changepw:
        usage: '{RED}Uso corretto: /xauth changepw <player> <new password>'
        success: la password di{TARGET} {BRIGHTGREEN} è stata cambiata!
        error:
          registered: '{RED}Questo giocatore non è registrato!'
          general: '{RED}Qualcosa è andato storto durante il cambio della password di
            {TARGET}!'
      logout:
        usage: '{RED}Uso corretto: /xauth logout <player>'
        error:
          logged: '{TARGET} {RED}Non è autenticato!'
          general: '{RED} Qualcosa è andato storto durante il log-out di questo giocatore!'
        success:
          player: '{TARGET} {BRIGHTGREEN}È stato sloggato!'
          target: '{BRIGHTGREEN}Sei stato sloggato da un amministratore!'
      unregister:
        usage: '{RED}Uso corretto: /xauth unregister <player>'
        error:
          registered: '{RED}Questo giocatore non è registrato!'
          general: '{RED}Qualcosa è andato storto durante la deregistrazione di questo
            giocatore!'
        success:
          player: '{TARGET} {BRIGHTGREEN}è stato deregistrato!'
          target: '{RED}Sei stato deregistrato e sloggato!'
      location:
        usage: '{RED}Uso corretto: /xauth location set|remove [global]'
        set:
          error:
            global: '{RED}La zona di teletrasporto globale è stata impostata per questo
              mondo.{NEWLINE}{RED}prima rimuovilo.'
            general: '{RED}Qualcosa è andato storto durante l''impostazione di questa
              zona!'
          success:
            regular: '{BRIGHTGREEN}Zona di teletrasporto per questo mondo impostata alla
              tua locazione!'
            global: '{BRIGHTGREEN}Zona di teletrasporto globale settata alla tua posizione!'
        remove:
          error:
            noglobal: '{RED}Non è settata una zona globale di teletrasporto!'
            notset: '{RED}Questo mondo non ha una zona di teletrasporto!'
            global: '{RED}Zona globale di teletrasporto impostata per questo mondo.{NEWLINE}{RED}utilizza
              /xauth location remove global'
            general: '{RED}Qualcosa è andato storto durante la rimozione di questa zona!'
          success:
            regular: '{BRIGHTGREEN}La locazione di teletrasporto per questo mondo è stata
              rimossa!'
            global: '{BRIGHTGREEN}La zona di teletrasporto locale è stata rimossa'
      reload: '{BRIGHTGREEN}xAuth ricaricato.'
      activate:
        usage: '{RED}Uso corretto: /xauth activate <player>'
        error:
          registered: '{RED}Questo giocatore non è registrato!'
          active: '{RED}Questo giocatore è già attivo!'
          general: '{RED}Qualcosa è andato storto durante l''attivazione di questo giocatore!'
        success: '{BRIGHTGREEN}{TARGET} è stato attivato!'
      config:
        usage: '{RED}Uso corretto: /xauth config <node> <value>'
        error:
          exist: '{RED}Questo nodo di configurazione non esiste!'
          int: '{RED}Questo nodo di configurazione richiede un valore intero!'
          invalid: '{RED}Questa impostazione non può essere modificata utilizzando questo
            comando!'
        success: '{BRIGHTGREEN}Configurazione aggiornata!'
    
    Where is the error?
    Thanks for all your support.
     
  2. Offline

    JWhy

    Don't use (spanish ?) special characters...
     
  3. Offline

    FrancescoTG

    Which is the special character?
    P.S= It's an italian translation :D
     
  4. Offline

    JWhy

    Oh yeah sorry, it's italian... In this case i found the 'è' first, but you shouldn't use any special character (or test it out)
     
  5. Offline

    jacklin213

    i recommend using AuthMe
    because xAuth has some weird bugs now
     
  6. Offline

    JWhy

    Thats about YAML, which is used by almost every single plugin, including AuthMe
     
  7. Offline

    jacklin213

  8. Offline

    JWhy

    This error is 'caused' by YAML, so using special characters with authme isnt different
     
  9. Offline

    jacklin213

    thats not the point
     
  10. Offline

    JWhy

    This thread is about an error
    => the error needs to be solved... its not about a specific plugin
     
  11. Offline

    jacklin213

  12. Offline

    JWhy

    Hope so ._.
    *Sarcasm?*
     
  13. Offline

    jacklin213

    but im just trying to say that AuthMe is easyer to use /setup
     
  14. Offline

    FrancescoTG

    Thanks anyway, but I solved removing all these characters: à, è, ì, ò, ù.
    Thanks for your support! :D
     
  15. Offline

    JOPHESTUS

    Buy the game
     
  16. Offline

    JWhy

    And then please kill the plugin developer!!! (haha not really)
    WTF not every player of every server owner has bought minecraft
     
  17. Offline

    CypherX

    FrancescoTG
    If you want to use special characters open the messages.yml file in Notepad++ and switch the encoding to UTF-8.

    Wrong. To set up xAuth you just drop the .jar in the plugins directory. It doesn't get much more simple than that. AuthMe requires Vault which in turn requires more time and thus is more difficult to set up.
     
  18. Offline

    FrancescoTG

    I bought the game, but I'd prefer to have a server with online-mode: false, because lots of users haven't bought minecraft! :D
    Thanks very much! :D
     
Thread Status:
Not open for further replies.

Share This Page