When the OnBetterChat hook is triggered, I need to change the title color, but as I understand it, it can't be done through the data dictionary, right?
Sorry for my bad English.
OnBetterChat change title color
Using BetterChat groups data config
[
{
"GroupName": "default",
"Priority": 1,
"Title": {
"Text": "[]",
"Color": "#00ffffff",
"Size": 17,
"Hidden": true,
"HiddenIfNotPrimary": true
},
"Username": {
"Color": "#ffff00ff",
"Size": 17
},
"Message": {
"Color": "#ffffffff",
"Size": 17
},
"Format": {
"Chat": "{Title} {Username}: {Message}",
"Console": "{Title} {Username}: {Message}"
}
},
{
"GroupName": "Noob",
"Priority": 4,
"Title": {
"Text": "[Noob]",
"Color": "#00ffffff",
"Size": 17,
"Hidden": false,
"HiddenIfNotPrimary": false
},
"Username": {
"Color": "#ffff00ff",
"Size": 17
},
"Message": {
"Color": "#ffffffff",
"Size": 17
},
"Format": {
"Chat": "{Title} {Username}: {Message}",
"Console": "{Title} {Username}: {Message}"
}The player group (if any) will show as Blue , the player name will show as yellow and the text will show as white, if the player (on my server) does not have a group (which are time based) only the name and text will show,
pookins
Using BetterChat groups data config
[ { "GroupName": "default", "Priority": 1, "Title": { "Text": "[]", "Color": "#00ffffff", "Size": 17, "Hidden": true, "HiddenIfNotPrimary": true }, "Username": { "Color": "#ffff00ff", "Size": 17 }, "Message": { "Color": "#ffffffff", "Size": 17 }, "Format": { "Chat": "{Title} {Username}: {Message}", "Console": "{Title} {Username}: {Message}" } }, { "GroupName": "Noob", "Priority": 4, "Title": { "Text": "[Noob]", "Color": "#00ffffff", "Size": 17, "Hidden": false, "HiddenIfNotPrimary": false }, "Username": { "Color": "#ffff00ff", "Size": 17 }, "Message": { "Color": "#ffffffff", "Size": 17 }, "Format": { "Chat": "{Title} {Username}: {Message}", "Console": "{Title} {Username}: {Message}" }The player group (if any) will show as Blue , the player name will show as yellow and the text will show as white, if the player (on my server) does not have a group (which are time based) only the name and text will show,
I know how to create groups. I am writing my own plugin that will interact with BetterChat.