Change colors in messages?

Hello everyone, excuse my bad English, I want to know how the color different from the user's name and another color different from the country where it is connected.

I used that setting but it doesn't show me different colors, And thanks for such an excellent job.

{
  "ConnectMessage": "<color=#00ff00ff>{0} has connected.</color>",
  "ConnectMessageCountry": "<color=#00ffffff>{0} has connected from {1}.</color>",
  "DisconnectMessage": "<color=#00ff00ff>{0} has disconnected.</color>",
  "DisconnectMessageReason": "<color=#ffff00ff>{0} has disconnected. ({1})</color>"
}​

Hi, color must contain 6 characters or name of it.
For example:

{
  "ConnectMessage": "<color=blue>{0}</color> has connected.",
  "ConnectMessageCountry": "<color=blue>{0}</color> has connected from <color=#53B7D2>{1}.</color>",
  "DisconnectMessage": "<color=blue>{0}</color> has disconnected.",
  "DisconnectMessageReason": "<color=blue>{0}</color> has disconnected. <color=#53B7D2>({1})</color>"
}​
If you want check color - color-hex.com

Unity styling would only apply to select games, such as Rust. There is a universal format we provide via Oxide and uMod, but there's still a limitation on if the game supports it.

I use this and it works fine. (You may delete the "oxide\lang\en\ConnectMessages.json" first)
After reloading/saving it will create the new file in the language folder and applies the changes.

lang.RegisterMessages(new Dictionary<string, string> {
                ["Join Country Message"] = "<color=#9999ff>{0}</color> joined the game from <color=#9999ff>[{1}]</color>.",
                ["Join Message"] = "<color=#9999ff>{0}</color> joined the game.",
                ["Leave Message"] = "<color=#9999ff>{0}</color> left the game."
            }, this);
Toliman

I use this and it works fine. (You may delete the "oxide\lang\en\ConnectMessages.json" first)
After reloading/saving it will create the new file in the language folder and applies the changes.

lang.RegisterMessages(new Dictionary<string, string> {
                ["Join Country Message"] = "<color=#9999ff>{0}</color> joined the game from <color=#9999ff>[{1}]</color>.",
                ["Join Message"] = "<color=#9999ff>{0}</color> joined the game.",
                ["Leave Message"] = "<color=#9999ff>{0}</color> left the game."
            }, this);
It's unnecessary and against the point of even having a Lang file if you edit the plugin directly, you should be editing the Lang file directly instead.

Fair point, but i have edited the other languages, too and did not want to open files from different locations. i was just lazy.