Not chat prefix

Chat Prefix not showing for any groups other than default. I've reloaded the plugin multiple times and it still wouldn't work. The only way it would work is if I used chat commands to assign a player to a group.

post your config

config

{
"Maximal Titles": 1,
"Maximal Characters Per Message": 300,
"Reverse Title Order": true
}

 

data

 

[
{
"GroupName": "default",
"Priority": 100,
"Title": {
"Text": "[Rusty]",
"Color": "#90091e",
"Size": 15,
"Hidden": true,
"HiddenIfNotPrimary": true
},
"Username": {
"Color": "#55aaff",
"Size": 15
},
"Message": {
"Color": "white",
"Size": 15
},
"Format": {
"Chat": "{Title} {Username}: {Message}",
"Console": "{Title} {Username}: {Message}"
}
},
{
"GroupName": "Vip",
"Priority": 100,
"Title": {
"Text": "[Vip]",
"Color": "#C700FF",
"Size": 15,
"Hidden": false,
"HiddenIfNotPrimary": true
},
"Username": {
"Color": "#55aaff",
"Size": 15
},
"Message": {
"Color": "white",
"Size": 15
},
"Format": {
"Chat": "{Title} {Username}: {Message}",
"Console": "{Title} {Username}: {Message}"
}
},
{
"GroupName": "Vip+",
"Priority": 100,
"Title": {
"Text": "[Vip+]",
"Color": "#ff1100",
"Size": 15,
"Hidden": false,
"HiddenIfNotPrimary": true
},
"Username": {
"Color": "#55aaff",
"Size": 15
},
"Message": {
"Color": "white",
"Size": 15
},
"Format": {
"Chat": "{Title} {Username}: {Message}",
"Console": "{Title} {Username}: {Message}"
}
},
{
"GroupName": "Premium",
"Priority": 100,
"Title": {
"Text": "[Premium]",
"Color": "#00d2ff",
"Size": 15,
"Hidden": false,
"HiddenIfNotPrimary": true
},
"Username": {
"Color": "#55aaff",
"Size": 15
},
"Message": {
"Color": "white",
"Size": 15
},
"Format": {
"Chat": "{Title} {Username}: {Message}",
"Console": "{Title} {Username}: {Message}"
}
},
{
"GroupName": "Premium+",
"Priority": 100,
"Title": {
"Text": "[Premium+]",
"Color": "#682dff",
"Size": 15,
"Hidden": false,
"HiddenIfNotPrimary": true
},
"Username": {
"Color": "#55aaff",
"Size": 15
},
"Message": {
"Color": "white",
"Size": 15
},
"Format": {
"Chat": "{Title} {Username}: {Message}",
"Console": "{Title} {Username}: {Message}"
}
},
{
"GroupName": "Godly",
"Priority": 100,
"Title": {
"Text": "[Godly]",
"Color": "#fff900",
"Size": 15,
"Hidden": false,
"HiddenIfNotPrimary": true
},
"Username": {
"Color": "#55aaff",
"Size": 15
},
"Message": {
"Color": "white",
"Size": 15
},
"Format": {
"Chat": "{Title} {Username}: {Message}",
"Console": "{Title} {Username}: {Message}"
}
},
{
"GroupName": "Webstore",
"Priority": 100,
"Title": {
"Text": "[Webstore]",
"Color": "#55aaff",
"Size": 15,
"Hidden": false,
"HiddenIfNotPrimary": true
},
"Username": {
"Color": "#55aaff",
"Size": 15
},
"Message": {
"Color": "white",
"Size": 15
},
"Format": {
"Chat": "{Title} {Username}: {Message}",
"Console": "{Title} {Username}: {Message}"
}
},
{
"GroupName": "OG",
"Priority": 0,
"Title": {
"Text": "[OG]",
"Color": "#000000",
"Size": 18,
"Hidden": false,
"HiddenIfNotPrimary": true
},
"Username": {
"Color": "#FF0004",
"Size": 20
},
"Message": {
"Color": "orange",
"Size": 16
},
"Format": {
"Chat": "{Title} {Username}: {Message}",
"Console": "{Title} {Username}: {Message}"
}
}
]

I have the same issue; what's odder is that I've changed the value "[Player]" in the data file and the ONLY reference to "[Player]" is now in the plugin cs file itself, and it STILL defaults to showing this. I've even tried replacing the public string Text there (see below... changed it to "Prisoner") with no impact.

 

            public class TitleSettings
            {
                public string Text = "Prisoner";
                public string Color = "#E06C0E";
                public int Size = 15;
                public bool Hidden = false;
                public bool HiddenIfNotPrimary = false;​


Merged post

I've been playing around with this. If you drop "Maximal Titles" to 1 in the config, it seems to default to [Player]. The only way to get down to the primary title with "Maximal Titles" set to 2, is to set all to "HiddenIfNotPrimary": true.

Since update having same issue as the previous thread 

MY DATA THEY ARE NAMED THE SAME AS MY GROUPS, ive never had an issue with this plugin until it was updated. Shows the default group admin and moderator group but the other 3 player ranks are not showing like i put myself in GROUP VIP and it wasn't showing my other server it works fine please help if possible thank in advance! The Plugin is loaded too. Message The Dev no response yet.
[
{
"GroupName": "default",
"Priority": 0,
"Title": {
"Text": "[Survivalist]",
"Color": "#55aaff",
"Size": 15,
"Hidden": false,
"HiddenIfNotPrimary": false
},
"Username": {
"Color": "#55aaff",
"Size": 15
},
"Message": {
"Color": "white",
"Size": 15
},
"Format": {
"Chat": "{Title} {Username}: {Message}",
"Console": "{Title} {Username}: {Message}"
}
},
{
"GroupName": "Moderator",
"Priority": 0,
"Title": {
"Text": "[Admin/Mod]",
"Color": "#FF0000",
"Size": 15,
"Hidden": false,
"HiddenIfNotPrimary": false
},
"Username": {
"Color": "#FF0000",
"Size": 15
},
"Message": {
"Color": "white",
"Size": 15
},
"Format": {
"Chat": "{Title} {Username}: {Message}",
"Console": "{Title} {Username}: {Message}"
}
},
{
"GroupName": "admin",
"Priority": 0,
"Title": {
"Text": "[Admin]",
"Color": "#FF0000",
"Size": 15,
"Hidden": false,
"HiddenIfNotPrimary": false
},
"Username": {
"Color": "#39FF14",
"Size": 15
},
"Message": {
"Color": "white",
"Size": 15
},
"Format": {
"Chat": "{Title} {Username}: {Message}",
"Console": "{Title} {Username}: {Message}"
}
},
{
"GroupName": "VIP",
"Priority": 0,
"Title": {
"Text": "[VIP]",
"Color": "#55aaff",
"Size": 15,
"Hidden": false,
"HiddenIfNotPrimary": false
},
"Username": {
"Color": "#55aaff",
"Size": 15
},
"Message": {
"Color": "white",
"Size": 15
},
"Format": {
"Chat": "{Title} {Username}: {Message}",
"Console": "{Title} {Username}: {Message}"
}
},
{
"GroupName": "VIP+",
"Priority": 0,
"Title": {
"Text": "[VIP+]",
"Color": "#C0C0C0",
"Size": 15,
"Hidden": false,
"HiddenIfNotPrimary": false
},
"Username": {
"Color": "#55aaff",
"Size": 15
},
"Message": {
"Color": "white",
"Size": 15
},
"Format": {
"Chat": "{Title} {Username}: {Message}",
"Console": "{Title} {Username}: {Message}"
}
},
{
"GroupName": "VIP+GOLD",
"Priority": 0,
"Title": {
"Text": "[VIP+GOLD]",
"Color": "#FFD700",
"Size": 15,
"Hidden": false,
"HiddenIfNotPrimary": false
},
"Username": {
"Color": "#55aaff",
"Size": 15
},
"Message": {
"Color": "white",
"Size": 15
},
"Format": {
"Chat": "{Title} {Username}: {Message}",
"Console": "{Title} {Username}: {Message}"
}
}
]

jdZVpP78nifqAmN.png flintmonkey

I have the same issue; what's odder is that I've changed the value "[Player]" in the data file and the ONLY reference to "[Player]" is now in the plugin cs file itself, and it STILL defaults to showing this. I've even tried replacing the public string Text there (see below... changed it to "Prisoner") with no impact.

 

            public class TitleSettings
            {
                public string Text = "Prisoner";
                public string Color = "#E06C0E";
                public int Size = 15;
                public bool Hidden = false;
                public bool HiddenIfNotPrimary = false;​


Merged post

I've been playing around with this. If you drop "Maximal Titles" to 1 in the config, it seems to default to [Player]. The only way to get down to the primary title with "Maximal Titles" set to 2, is to set all to "HiddenIfNotPrimary": true.
i tried this did not work having same issue.

Merged post

so figured out the problem i found this in another thread do exactly this 

I'll see about making a pull request, but I changed line 838 to the following and it's working for me now:

 var groups = _instance._chatGroups.Where(g => oxideGroups.Any(name => g.GroupName.ToLower() == name.ToLower())).ToList();