Solved Adding a line to scoreboard and a player name

Discussion in 'Plugin Development' started by plisov, Oct 19, 2016.

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

    plisov

    I've been trying to make a scoreboard. I've got everything down however now I'm trying to make the scoreboard look nicer. When I try to add a line "------" is marks setScore as red. I've tried board.setScore("----"); but that doesn't work. I've seen plugins that have lines and player names. Is there any other way of drawing a line?
     
  2. Offline

    Zombie_Striker

    @plisov
    If you want to add a strike through existing letters ( LIKE THIS ), add chatcolor.STRIKETHROUGH.

    If you want to just add those characters top the scoreboard, try to get the offline player with the name "----" and add that to the scoreboard. It should work the same way you would add player names to the scoreboard.
     
  3. Offline

    plisov

    I've figured it out. Thanks!
     
Thread Status:
Not open for further replies.

Share This Page