[Permissionsv2.3] How to color nickname ?

Discussion in 'Bukkit Help' started by Sirgue, Mar 3, 2011.

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

    Sirgue

    Sorry me for my English, I'm French.
    I want to have a red nickname.I searched how to do that in the Permissions's config file.
    Look at my config file :
    Code:
    # Groupes
    groups:
        Guest:
            default: true
            info:
                prefix: '$e'
                suffix: ''
                build: false
            inheritance:
            permissions:
               - 'mh.home'
               - 'mh.sethome'
        Valide:
            default: false
            info:
                prefix: '$1'
                suffix: ''
                build: true
            inheritance:
               - Guest
            permissions:
        Admins:
            default: false
            info:
                prefix: '$4'
                suffix: ''
                build: true
            inheritance:
                - Valid
            permissions:
                - '*'
    # Utilisateurs
    users:
        sirgue:
            group: Admins
            permissions:
    
    There may be an error in the config file ?

    And again, sorry for my English I'm French.
     
  2. Offline

    tension69

    You will need a plugin like iChat to make use of the prefix in your permissions file. Permissions itself will not achieve the result you desire. &4 however is the correct colour code for red;)

    Example for iChat below(Thanks to OP Mhalkyer):-

    iChat/config.yml:
    Code:
    message-format: '[+prefix+name&f] +suffix+message'
    Permissions/config.yml:
    Code:
    prefix: '&4' #<----Name Color
    
    suffix: '&4' #<----Message Color
     
  3. Offline

    Sirgue

    Ok, thank you very much !
    --- merged: Mar 3, 2011 10:57 PM ---
    Hum... this is only for chat nickname, not for the nickname at the top of the player. (sorry for my english)
    --- merged: Mar 3, 2011 11:07 PM ---
    It does not work ...
    But I have put '$4' in prefix ... I do not understand...
     
  4. Offline

    Scoredplayer

    no tension said &4
    :)
     
  5. Offline

    Prohanian

    French Keyboard? I know french keyboards don't have the "&" symbol.

    EDIT: Sorry I was wrong, you can get the "&" symbol by pressing shift + 1
     
  6. Offline

    Sirgue

    Oh ! I'm stupid xD
    Thank you all !
    --- merged: Mar 4, 2011 12:38 PM ---
    And for the nickname at the top of me ?
    --- merged: Mar 4, 2011 12:41 PM ---
    It doesn't work too (with &4)
     
  7. Offline

    Jandalf

    i dont know anything to color the text above ur head...
    but u could post it in plugin requests
     
  8. Offline

    Sirgue

    Ok, but...
    iChat/config.yml :

    Code:
    censor-list: []
    censor-color: '&f'
    date-format: HH:mm:ss
    message-format: '+prefix[+group]+name&f : +suffix+message'
    censor-char: '*'
    censor-string-color: '&f'
    censor-colored: false
    Permissions/world.yml :
    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   Does not work for the default world.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    plugin:
        permissions:
            system: default
            copies:
    
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'general.spawn'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'general.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-general.time'
    ##
    groups:
        Guest:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
               - 'mh.home'
               - 'mh.sethome'
        Valide:
            default: false
            info:
                prefix: '&1'
                suffix: ''
                build: true
            inheritance:
               - Guest
            permissions:
        Admins:
            default: false
            info:
                prefix: '&5'
                suffix: ''
                build: true
            inheritance:
                - Valid
            permissions:
                - '*'
    
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Default group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    ##
    users:
        Sirgue:
            group: Admins
            permissions:
        mawine:
            group: Valid
            permissions:
        mathis37:
            group: Valid
            permissions:
        apple37:
            group: Valid
            permissions:
        Aldrik:
            group: Valid
            permissions:
        caelypso:
            group: Valid
            permissions:
        test1:
            group: Guest
            permissions:
    But no pseudo is colored and there is nothing in [].
    (Example : []Sirgue : test)
    Any idea ?
     
  9. Offline

    Jandalf

    yes, the admin shouldnt inheritance anything when they have '*' (and then they inheritance valid but the group is valide)
     
  10. Offline

    Sirgue

    Ok, i have remove the inheritance for the Admin group.
    But there are errors anywhere because any nickname aren't colored...
    Any idea ?
     
Thread Status:
Not open for further replies.

Share This Page