tablist prefixes cut names off #11


  • New
  • Defect
Open
Assigned to sendnoodlesyo
  • leasoncre created this issue Mar 8, 2016

    What steps will reproduce the problem?
    1. set a prefix for a group
    2. press tab
    3. username gets cut off

    ie: prefix the 'executive' group to &b[Excecutive] and when i press tab my name shows up as: "[Executive]lea" but my username is "leasoncre"
    the plugin should be autosizing the tablist width. but it doesn't, so everyone's name gets cut off at the max mojang name character length.

    What is the expected output? What do you see instead?
    names to fully show in tablist. got: names get cutoff

    What version of the product are you using?
    ColoredTablist version 2.1.3

    Do you have an error log of what happened?
    no errors

    Please provide any additional information below.
    This server is running CraftBukkit version git-Spigot-3104eb1-bf43ca6 (MC: 1.9) (Implementing API version 1.9-R0.1-SNAPSHOT)
    -NOTE: problem occurs on 1.8.8 server as well.

    PS. this is an old bug, idk how long, i thought had reported it before.

    color codes and special characters count towards the name cutoff too ie: &b, &k...

  • leasoncre added the tags New Defect Mar 8, 2016
  • leasoncre edited description Mar 8, 2016
  • _ForgeUser17569537 posted a comment Apr 30, 2017

    sorry if I'm late, but in the essentials config there will be something like this

    "# When this option is enabled, nickname length checking will exclude color codes in player names.
    # ie: "&6Notch" has 7 characters (2 are part of a color code), a length of 5 is used when this option is set to true
    ignore-colors-in-max-nick-length: false"

    So all you have to do is change it to true

    "# When this option is enabled, nickname length checking will exclude color codes in player names.
    # ie: "&6Notch" has 7 characters (2 are part of a color code), a length of 5 is used when this option is set to true
    ignore-colors-in-max-nick-length: true"


    Edited Apr 30, 2017

To post a comment, please login or register a new account.