Solved Ranks in Tab

Discussion in 'General Help' started by Higgsboson728, Jul 10, 2017.

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

    Higgsboson728

    Hello all,

    This is a problem I've been having for a long time, but for some reason I never bothered to ask about it.

    Basically, I want to remove ranks from the player list when you press the "tab" key. Since my server ranks are too long to fit in the player list, I decided to remove it all together and make it so that the list just shows the original IGNs.

    Every time I join the server, the player list only displays the IGN, which is what I want. But when I say something in chat, the list updates and includes my rank as well. I tried editing the Essentials config to prevent this, but no matter what I do, nothing changes.

    Code:
    # Disable this if you have any other plugin, that modifies the displayname of a user.
    change-displayname: true
    
    # When this option is enabled, the (tab) player list will be updated with the displayname.
    # The value of change-displayname (above) has to be true.
    change-playerlist: false
    
    # When EssentialsChat.jar isn't used, force essentials to add the prefix and suffix from permission plugins to displayname.
    # This setting is ignored if EssentialsChat.jar is used, and defaults to 'true'.
    # The value of change-displayname (above) has to be true.
    # Do not edit this setting unless you know what you are doing!
    add-prefix-suffix: true
    
    I want the list to look like this (ignore the [Citizen]):

    [​IMG]

    What it currently looks like:

    [​IMG]

    I use PEX to set up prefixes and use Essentials to display them, if it helps.

    Thanks!

    ~~Higgsboson728
     
    Last edited: Jul 12, 2017
  2. Offline

    FrostDevStudios

    @Higgsboson728
    Since you are using Essentials, there is an option in the Essentials config which add prefixes and suffixes to the tab list
    Code:
    # Disable this if you have any other plugin, that modifies the displayname of a user.
    change-displayname: true
    
    # When this option is enabled, the (tab) player list will be updated with the displayname.
    # The value of change-displayname (above) has to be true.
    change-playerlist: false <-- Keep this at false
    
    # When EssentialsChat.jar isn't used, force essentials to add the prefix and suffix from permission plugins to displayname.
    # This setting is ignored if EssentialsChat.jar is used, and defaults to 'true'.
    # The value of change-displayname (above) has to be true.
    # Do not edit this setting unless you know what you are doing!
    add-prefix-suffix: true <-- Set this to false or add a # in-front of this option
    
    If this is set to true in your config, simply set it to false
     
  3. Offline

    Higgsboson728

    Doing that removes prefixes from the chat as well, and I only want it removed from the tab list... Any other way?

    @FrostDevStudios
     
  4. Offline

    FrostDevStudios

    @Higgsboson728
    What does this portion look like in your config file, with the changes mentioned above? Compare them with the code block i have listed below.
    Code:
    # Disable this if you have any other plugin, that modifies the displayname of a user.
    change-displayname: false
    
    # When this option is enabled, the (tab) player list will be updated with the displayname.
    # The value of change-displayname (above) has to be true.
    change-playerlist: false
    
    # When EssentialsChat.jar isn't used, force essentials to add the prefix and suffix from permission plugins to displayname.
    # This setting is ignored if EssentialsChat.jar is used, and defaults to 'true'.
    # The value of change-displayname (above) has to be true.
    # Do not edit this setting unless you know what you are doing!
    add-prefix-suffix: false
    
    READ BELOW HERE!
    
    "change-displayname: false" Should be/stay false
    "change-playerlist: false" Should be/stay false
    "add-prefix-suffix: false" <-- Should be/stay false
    If this doesnt solve your issue, then essentials may not be the problematic plugin, it may be a different chat plugin you may have installed
     
  5. Offline

    Higgsboson728

    Doing this (what I have right now)

    Code:
    # Disable this if you have any other plugin, that modifies the displayname of a user.
    change-displayname: true
    
    # When this option is enabled, the (tab) player list will be updated with the displayname.
    # The value of change-displayname (above) has to be true.
    change-playerlist: false
    # When EssentialsChat.jar isn't used, force essentials to add the prefix and suffix from permission plugins to displayname.
    # This setting is ignored if EssentialsChat.jar is used, and defaults to 'true'.
    # The value of change-displayname (above) has to be true.
    # Do not edit this setting unless you know what you are doing!
    add-prefix-suffix: false
    removes the prefix from the chat as well.

    I don't have any other chat plugin other than EssentialsChat, so I'm pretty sure Essentials is the problem here.

    Thanks!

    @FrostDevStudios
     
  6. Offline

    FrostDevStudios

    @Higgsboson728
    Try changing this portion
    Code:
    # When EssentialsChat.jar isn't used, force essentials to add the prefix and suffix from permission plugins to displayname.
    # This setting is ignored if EssentialsChat.jar is used, and defaults to 'true'.
    # The value of change-displayname (above) has to be true.
    # Do not edit this setting unless you know what you are doing!
    add-prefix-suffix: false
    
    Change this ^ to true
     
  7. Offline

    Higgsboson728

    That basically brings me back to where I started. My prefix is displayed on the player list.

    @FrostDevStudios
     
  8. Offline

    FrostDevStudios

    @Higgsboson728
    Ok then, Lemme do some testing on my server with essentials, ill get back to you in a bit

    What Does this portion look like in your config?
    Code:
    ############################################################
    # +------------------------------------------------------+ #
    # |                   EssentialsChat                     | #
    # +------------------------------------------------------+ #
    ############################################################
    
    # This section requires the EssentialsChat.jar to work.
    
    chat:
    
      # If EssentialsChat is installed, this will define how far a player's voice travels, in blocks.  Set to 0 to make all chat global.
      # Note that users with the "essentials.chat.spy" permission will hear everything, regardless of this setting.
      # Users with essentials.chat.shout can override this by prefixing text with an exclamation mark (!)
      # Users with essentials.chat.question can override this by prefixing text with a question mark (?)
      # You can add command costs for shout/question by adding chat-shout and chat-question to the command costs section."
      radius: 0
    
      # Chat formatting can be done in two ways, you can either define a standard format for all chat.
      # Or you can give a group specific chat format, to give some extra variation.
      # For more information of chat formatting, check out the wiki: http://wiki.ess3.net/wiki/Chat_Formatting
    
      format: '<{DISPLAYNAME}> {MESSAGE}'
      #format: '&7[{GROUP}]&r {DISPLAYNAME}&7:&r {MESSAGE}'
    
      group-formats:
      #  Default: '{WORLDNAME} {DISPLAYNAME}&7:&r {MESSAGE}'
      #  Admins: '{WORLDNAME} &c[{GROUP}]&r {DISPLAYNAME}&7:&c {MESSAGE}'
    
      # If you are using group formats make sure to remove the '#' to allow the setting to be read.
     
    Last edited: Jul 12, 2017
  9. Offline

    Higgsboson728

  10. Offline

    FrostDevStudios

  11. Online

    timtower Administrator Administrator Moderator

  12. Offline

    FrostDevStudios

    @timtower
    Is the link i posted broken too?

    Or just the picture?
     
  13. Online

    timtower Administrator Administrator Moderator

  14. Offline

    FrostDevStudios

    @Higgsboson728 @timtower

    How about this one?
    <i removed this link>

    if not, i need to find a different way to share it
     
    Last edited: Jul 12, 2017
  15. Online

    timtower Administrator Administrator Moderator

  16. Offline

    FrostDevStudios

    @timtower
    If your refering to the Server ip, I don't need the unnecessary traffic that posting it on BukkitDev might create

    If you refering to the pictures, i tried multiple dropbox links in hopes of it working, but nothing worked
     
  17. Online

    timtower Administrator Administrator Moderator

    @FrostDevStudios No, I was talking about the pictures.
    And bukkit has this "upload a file" button.
     
  18. Offline

    FrostDevStudios

    Lests See if it works
     

    Attached Files:

  19. Offline

    Higgsboson728

    Yeah, that's exactly what I want. I'll try that and let you know if it works.. @FrostDevStudios
     
  20. Offline

    FrostDevStudios

    @Higgsboson728
    This is the setup i am using for the essentials config, If you wanted to, you could probably just copy and paste this portion
    Code:
    ############################################################
    # +------------------------------------------------------+ #
    # |                 Essentials (Global)                  | #
    # +------------------------------------------------------+ #
    ############################################################
    
    # A color code between 0-9 or a-f. Set to 'none' to disable.
    ops-name-color: 'none'
    
    # The character(s) to prefix all nicknames, so that you know they are not true usernames.
    nickname-prefix: '~'
    
    # The maximum length allowed in nicknames. The nickname prefix is included in this.
    max-nick-length: 15
    
    # Disable this if you have any other plugin, that modifies the displayname of a user.
    change-displayname: true
    
    # When this option is enabled, the (tab) player list will be updated with the displayname.
    # The value of change-displayname (above) has to be true.
    #change-playerlist: true
    
    # When EssentialsChat.jar isn't used, force essentials to add the prefix and suffix from permission plugins to displayname.
    # This setting is ignored if EssentialsChat.jar is used, and defaults to 'true'.
    # The value of change-displayname (above) has to be true.
    # Do not edit this setting unless you know what you are doing!
    #add-prefix-suffix: false
    
    If this works, Mark this thread as Solved
     
  21. Offline

    Higgsboson728

    This is what my EssentialsChat config looks like:

    Code:
    # This section requires the EssentialsChat.jar to work.
    chat:
    
      # If EssentialsChat is installed, this will define how far a player's voice travels, in blocks.  Set to 0 to make all chat global.
      # Note that users with the "essentials.chat.spy" permission will hear everything, regardless of this setting.
      # Users with essentials.chat.shout can override this by prefixing text with an exclamation mark (!)
      # Users with essentials.chat.question can override this by prefixing text with a question mark (?)
      # You can add command costs for shout/question by adding chat-shout and chat-question to the command costs section."
      radius: 0
      # Chat formatting can be done in two ways, you can either define a standard format for all chat.
      # Or you can give a group specific chat format, to give some extra variation.
      # For more information of chat formatting, check out the wiki: http://wiki.ess3.net/wiki/Chat_Formatting
      format: '{DISPLAYNAME}: {MESSAGE}'
      #format: '&7[{GROUP}]&r {DISPLAYNAME}&7:&r {MESSAGE}'
      group-formats:
      #  Default: '{WORLDNAME} {DISPLAYNAME}&7:&r {MESSAGE}'
      #  Admins: '{WORLDNAME} &c[{GROUP}]&r {DISPLAYNAME}&7:&c {MESSAGE}'
      # If you are using group formats make sure to remove the '#' to allow the setting to be read.
    @FrostDevStudios
     
  22. Offline

    FrostDevStudios

    @Higgsboson728
    How about this portion?
    Code:
    ############################################################
    # +------------------------------------------------------+ #
    # |                 Essentials (Global)                  | #
    # +------------------------------------------------------+ #
    ############################################################
    
    # A color code between 0-9 or a-f. Set to 'none' to disable.
    ops-name-color: 'none'
    
    # The character(s) to prefix all nicknames, so that you know they are not true usernames.
    nickname-prefix: '~'
    
    # The maximum length allowed in nicknames. The nickname prefix is included in this.
    max-nick-length: 15
    
    # Disable this if you have any other plugin, that modifies the displayname of a user.
    change-displayname: true
    
    # When this option is enabled, the (tab) player list will be updated with the displayname.
    # The value of change-displayname (above) has to be true.
    #change-playerlist: true
    
    # When EssentialsChat.jar isn't used, force essentials to add the prefix and suffix from permission plugins to displayname.
    # This setting is ignored if EssentialsChat.jar is used, and defaults to 'true'.
    # The value of change-displayname (above) has to be true.
    # Do not edit this setting unless you know what you are doing!
    #add-prefix-suffix: false
    It should look just like this
     
  23. Offline

    Higgsboson728

    Yeah, it looks just like that. Prefix doesn't show in chat though @FrostDevStudios
     
  24. Offline

    FrostDevStudios

    @Higgsboson728
    What Permissions plugin are you using? (e.g. GroupManager, Pex)?
     
  25. Offline

    Higgsboson728

  26. Offline

    FrostDevStudios

    @Higgsboson728

    Ok so in pex choose a rank that you want to add a prefix too, and add the "prefix:" value if you haven't already.
    Code:
    groups:
      customrank:
        options:
          prefix: '[CustomPrefix]'
        permissions:
        - modifyworld.*
     
  27. Offline

    Higgsboson728

  28. Offline

    FrostDevStudios

    Can i see your Pex config (permissions.yml), at least for the rank you want to add the prefix too?
     
  29. Online

    timtower Administrator Administrator Moderator

  30. Offline

    Higgsboson728

    Code:
    groups:
      Guest:
        options:
          default: 'true'
          prefix: ' §7[§6Citizen§7]§7 '
          rank: '100'
        permissions:
        - essentials.ptime
        - essentials.gamemode
        - essentials.fly
        - essentials.mail.send
        - essentials.mail
        - essentials.ptime.*
        - essentials.home
        - essentials.sethome
        - essentials.delhome
        - essentials.warp.list
        - essentials.warp
        - essentials.help
        - essentials.tpa
        - essentials.tpahere
        - essentials.tpaccept
        - essentials.tpdeny
        - essentials.msg
        - essentials.rules
    
    I doubt PEX is the problem though. I got the permissions, prefixes, etc all setup. I just want the prefix to not show in the tab player list. @FrostDevStudios

    @timtower Yes, I do.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
Thread Status:
Not open for further replies.

Share This Page