Solved help Symbol

Discussion in 'Spigot Plugin Help' started by PABVLOASD, Feb 19, 2020.

  1. I have been looking for the solution in forums and I can't find it, my problem is that I get weird symbols when putting color formats in the gui menu or some things in the chat, I use the formats accordingly & / § and it gives me the same problem, here I leave the images


    https://prnt.sc/r4dq0w

    https://prnt.sc/r4dq8y
     
  2. Don't use the section symbol, use unicode where you can or make a request to the plugin developer to support a color code variable (such as &).

    Try replacing some of your section symbols with '\u00A7(colorcode)' of course remove the parentheses.
     
  3. it didn't work, I don't know if it's because of the symbol but I see that symbol on almost all the servers in its menus gui

    https://prnt.sc/r4ebj1


    CONFIG:

    items:
    next:
    type: command
    item:
    material: PAPER
    quantity: 1
    damage: 0
    name: "\u00A75» &2&l&nNext &2&l&nPage&r &b&l»"
    commands:
    - "shop %PLAYER% blocks2"
    slot: 50
     
  4. the truth is not if you have to add a complement or a complement already made makes this disaster
     
  5. Save your file as UTF-8, if it didn't work, add the java argument -Dfile.encoding=UTF-8 to your server start script before the -jar
     
  6. you say that I have to add in my server's start.sh the code Dfile.encoding = UTF-8 or I misunderstood, here is a picture of my run

    https://prnt.sc/r4phjp
     
    • Agree Agree x 1
  7. and what solved thanks to you, thank you very much the truth
     
  8. java -Xmx1024M -Xms1024M -jar -Dfile.encoding=UTF-8 servername.jar
    pause
     
    • Agree Agree x 1
  9. you need to put it before the the -jar
     
    • Agree Agree x 1