Solved Unicode in spigot.yml

Discussion in 'Spigot Help' started by Absentt, May 17, 2020.

Thread Status:
Not open for further replies.
  1. Hi,

    I'm using 1.12.2 spigot. I want to use Unicode symbols in some of the spigot messages in the spigot.yml, but it comes up with an error. Is there a way of doing this?

    Thankssss,

    Absentt

    Error: https://pastebin.com/9sd8eNGf
     
    #1 Absentt, May 17, 2020
    Last edited: May 17, 2020
  2. Could you give us the error that it gives?
     
  3. Try wrapping the text in quotes (e.g. "like this"). YAML is pretty good about allowing unquoted text values, but certain characters are only allowed within quoted strings and I suspect that's what's going on here.
     
    • Agree Agree x 1
  4. I tried this already. Didn't work, same error.

    Considering the default is: Unknown command. Type "help" for help.

    I don't believe "" affects it.
     
    #5 Absentt, May 17, 2020
    Last edited: May 17, 2020
  5. You could try replacing the character with the unicode escape symbol which for what you are trying, should be \u2666.
    So just try something like this
    Code (YAML):

    joinmessage
    : "\u2666 >> Welcome Player to Server"
     
  6. I also already tried this, and it just posted it as is.
     
Thread Status:
Not open for further replies.