Colour Name

Discussion in 'Plugin Development' started by wouter0100, Jul 21, 2011.

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

    wouter0100

    Hey,

    I think: Coloured names is simple!
    I make this script:
    p.setDisplayName(ChatColor.YELLOW + p.getDisplayName());
    and it dont work -.-..

    How can i make coloured names?

    Tankss..

    Nobody?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  2. Offline

    Baummann

    ChatColor.YELLOW + p.getName();

    that should work.
     
  3. Offline

    wouter0100

    This?
    p.setDisplayName(ChatColor.YELLOW + p.getName());

    dont work

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  4. Offline

    Deathly

    Player.setDisplayName() will change the name displayed in Chat, is that what you want?
     
  5. Offline

    wouter0100

    I need to change the name in the chat and in the online player list.
     
Thread Status:
Not open for further replies.

Share This Page