How can I add color codes into a string?

Discussion in 'Programming' started by Sanfeanso, Oct 20, 2019.

Thread Status:
Not open for further replies.
  1. Hello, I need help with a plugin I am trying to make. I am trying to add color codes to the player's nametags. Yet when I try to add color codes the code stays there and there is no color. I have tried things like "public String nametag = "&c&lTEST";" but it won't work. Thanks in advanced!
     
  2. Oh ok thanks guys!
     
  3. SteelPhoenix

    Moderator

    No. The ChatColor enum exists for a reason.
     
Thread Status:
Not open for further replies.