Solved Chat Color?

Discussion in 'Plugin Development' started by iClipse, Dec 27, 2016.

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

    iClipse

    So in regular java you have millions of coices for color using their color method that looks kinda like this: Color(arg0/the amount of green, arg1/the amount of red, arg2/the amount of blue)

    In bukkit, instead we have ChatColor.INSERT_COLOR_NAME_HERE

    So, I was wondering. Is it possible to make colors by using this method (Since bukkit uses java)?
     
  2. Offline

    ShaneCraftDev

    Your post is really vague, colors for what? Chat? Blocks?

    Short answer, no. All you can do with custom RGB colors is particles, specifically redstone dust (AFAIK is this the only particle).


    Edit:
    I didn't pay too much attention to the title. - my bad
    As for chat, maybe you can change something to the used font(renderer) instance using packets, but I highly doubt that.
     
    Last edited: Dec 27, 2016
  3. Offline

    Zombie_Striker

    @ShaneCraftDev
    He's referring to chatcolors.

    @iClipse
    You cannot add any more colors. MC only uses color codes, and there are only 16 (0-9 and 1-f). There is no way around this.

    [Edit] What exactly do you need this for?
     
  4. Offline

    iClipse

    Ok, thanks for that bit if info
     
  5. Offline

    Zombie_Striker

    @iClipse
    If your problem has been solved, mark this thread as solved.

    All color rendering is controlled by the client. Unless you modify the client, the client will only read the 16 color codes and display only those 16 colors.
     
  6. Offline

    iClipse

    Ok, thanks. I want the color brown, which I infact don't have easy access to.
     
Thread Status:
Not open for further replies.

Share This Page