Undername Scoreboard Formatting

Discussion in 'Plugin Development' started by SuperOriginal, Jul 9, 2014.

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

    SuperOriginal

    Hello, i'm making a plugin in which a player's mining level is displayed below their name. But whenever it is displayed, it automatically puts the score in front of the display name. Ex. It says

    4 Mining Level:

    When I want it to say:

    Mining Level: 4

    Can anyone tell me if this is possible or how to do it? Thanks :)
     
  2. Offline

    valon750

    @SuperOriginalOnly Only thing I would say would be a new objective for every player, setting the objectives name to something like ("Mining Level:" + miningLevel), then setting the score to 0...
     
  3. Offline

    SuperOriginal

    valon750 If I do that, then it says

    0 Mining Level: 4

    it still puts 0 in front, even if I don't set anything.
     
  4. Offline

    valon750

    SuperOriginal

    Unfortunately that's the closest you can get :/
     
  5. Offline

    SuperOriginal

  6. Offline

    JBoss925

    Just a thought, maybe format it so it's like,

    4 < Mining Level:

    or

    4 <-- Mining Level:

    That way there's not a 0 at the beginning.
     
  7. Offline

    valon750

    SuperOriginal

    Bukkit's potential is great, its limitations are poor :/
     
  8. Offline

    SuperOriginal

    So there isn't any possible way to get a string at all under a player's name?
     
  9. Offline

    valon750

Thread Status:
Not open for further replies.

Share This Page