Does Minecraft chat support tabs? (for lining stuff up)

Discussion in 'Plugin Development' started by Rockslide, Oct 2, 2012.

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

    Rockslide

    I have a highscore list on my server and I'm trying to line up the columns.

    I'm talking about tabs as in /t

    Is there any way?
     
  2. asfar I know, it dont support anny control token, but I actually never tried
     
  3. Offline

    madmac

    this would be awesome if it did, never really looked to much into myself.
     
  4. Offline

    andf54

  5. Offline

    Rockslide

    The problem with that is in my case, the first column is player names, so they vary in length.

    I tried adding spaces at runtime, based on the length of the player name, but that only partially lines it up. The problem is that not every character is the same width in pixels.

    I don't see an easy way to the determine the length of a name in pixels :/


    EDIT: just noticed you added your code for this, thx
     
Thread Status:
Not open for further replies.

Share This Page