Scoreboard Score questions

Discussion in 'Plugin Development' started by Smartloser, Jun 12, 2014.

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

    Smartloser

    Hey guys. So, I made a scoreboard (obviously), and I want to put an empty score in it, to make a gap between scores so the score name is nothing (" "), so I did this:
    Code:java
    1.  
    2. p.getScoreboard().getObjective(DisplaySlot.SIDEBAR).getScore(Bukkit.getOfflinePlayer(" "));
    3.  

    It worked for me before, but now it just crashes the scoreboard and gives me an error that the name and ID cannot be null, so I was wondering how to that.

    Thanks for all the help,

    Regards,
    Smartloser
     
  2. Offline

    GrimReaper52498

    So like a separator type deal like this?
    [​IMG]
     
  3. Offline

    qlimax5000

    Ah yes, they changed how spaces work on the SB. However i don't think that a color code char get'd rendered so try just doing "§§" and then if you need another space do "§§§§" and so forth.

    Good Luck
     
Thread Status:
Not open for further replies.

Share This Page