How is this done (scoreboard)

Discussion in 'Plugin Development' started by ThatGuyWhoDied13, Dec 9, 2013.

Thread Status:
Not open for further replies.
  1. Hey, I was recently playing on a server and I noticed this on the scoreboard.
    [​IMG]
    The question is how did they make the title more than 16 chars long?
    when I did this in my plugin it kicked the player evertime
     
  2. Offline

    kreashenz

    I know someone who may be helpful.
    stuntguy3000 remember the prison plugins scoreboard? You did this with it.
     
  3. Offline

    samosaara

    Want to know too! BUMP!
     
  4. Offline

    stuntguy3000

    The title is up to 32 chars.
     
  5. Offline

    L33m4n123


    If you use more chars for the title it would only throw an IllegalArgumentException. So you must have messed up somewhere else when setting the scoreboard. Tested localy and online.. works like a charm to get 32 chars as a titel


    The setDisplayName() method is within the Objective-Class of the Scoreboard http://jd.bukkit.org/rb/apidocs/org/bukkit/scoreboard/Objective.html

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 5, 2016
  6. L33m4n123 it was only an objective that I messed up and put 17 chars because i miss counted
     
  7. Offline

    Garris0n

    You can bump the scores up to I believe 48 with prefixes/suffixes, but it might be less.
     
Thread Status:
Not open for further replies.

Share This Page