Chat not shown in the RustAdmin consoleSolved
Hi,
first of all, this could be a RustAdmin-Tool issue as well.

Currently all chat lines from people are not shown in the RustAdmin-Console anymore.
Only chat lines with unchanged colour will appear in Chat/Console in the RustAdmin-Tool.

You can close this thread if you think this problem should be solved in the RustAdmin-Tool instead of the plugin.
 :)
Issue on my part, realised right after I updated that I forgot to broadcast to rcon, gonna do in a coming update. Thanks for letting me know!
Is it possible to turn off the steam ID behind the name (visible in the r on) ? Or is that not in your hand?

Added in 1.3.13, tried my best to let you customize your rcon chat message format but if you use RustAdmin this might not work for you. You can change the layout now but it will only show up in the 'Console'-Tab of RustAdmin if you do so. Seems to be especially listening to the default format so I would suggest to not change the option in the localization file rather leave it as default and keep also getting the messages into the 'Chat'-Tab.

Another thing is that RustAdmin doesn't show Team messages in the 'Chat'-Tab, same reasoning hear I believe they would need to update their client to fix this.

I messaged the dev of RustAdmin we might have a chat and could figure something out here that would also profit you in this case!

Great work, thanks for the input!
Hi Guys,  I'm also having issues with this and wanted to confirm your post.  Here's my RustAdmin chat and Facepunch RCon chat show the same chat at the same time.  The RustAdmin chat is from the 'Console' tab.
RustAdmin/RCon
Staggmatic has a coloured name and Gjallarhorn doesn't.
My thoughts would be that RustAdmin is looking at 'Global' chat and not showing coloured chat, but Facepunch RCon is not showing Staggmatic's chat at all.  This would suggest the colourednames plugin is causing the issue.

I'm not here to stress anyone as I love the plugin, but I wanted to confirm this is the case and there is nothing I can do to fix it untill an update to the plugin comes out.  Or am I completely wrong and there is a fix I can use?

Merged post

Okay, the latest update 1.4.1 fixes the chat not showing... My bad for not looking further than my own nose :D

Now my issue is I want my 'vip' group to have rainbow names as default, so I gave the vip group permission colourednames.rainbow and colourednames.show and got a vip to type /colour reset, but he's now not got any coloured name.

I know I'm being daft and missing something, but can someone help me fix this ?
Hey,
sorry i opened the thread again.

Some of our players are still not shown.

We tried:
-reinstalling
-/colour reset
-delete the line out of the data.json file of this person
-renamed him in steam to avoid empty spaces and special characters in his name
-copied the exakt colour/gradient color
-normal hex code colour / gradient colour

Some players are just not shown in the Chat Tab (RustAdmin). :(
What shows in the Chat tab in RustAdmin would depend on how you have the regex handling set in RustAdmin; as it parses that information from console output.
What i found when having a look into RustAdmin chat tab was what I added into the lang as RconFormat. If you modify this it will no longer show in the chat tab, also any team chat messages will not show up in there but that is also an issue if you don't have any chat plugins installed.

Are you using BetterChat or some other chat plugin too @Toliman or just ColouredNames?

Gonna have a look at your issue in a second but from my testing this should work out with no issues @Spud. I have already received a report that if the name is too short for the given rainbow colours that it will just paint it black, this will be fixed in an upcoming version
Hi @collectvood,
we are not using any other chat related plugin.

We also had a player that lost the last letter of his name after using gradient.
After trying it again, the last letter appeared. (The name was "StalkingDead". The last "d" was missing in the Data-File aswell, including the opening and closing <color> tag for this letter.

I will provide the console outup for this player later this day when he is back online :)
Thank you very much for you fast response and support!
@Spud, fixed a few issues related to the gradients in 1.4.2 could have resolved your issue
Thanks @collectvood. I'll take a look when I get home. Thanks for your work
(16:47:41) | [CHAT] RconLogFormat : test
(16:47:41) | {
  "Channel": 0,
  "Message": "test",
  "UserId": "number",
  "Username": "mr meeseeks",
  "Color": "<color=#FF00F2>m</color><color=#E619F3>r</color><color=#CC31F5> </color><color=#B24AF6>m</color><color=#9963F7>e</color><color=#807CF8>e</color><color=#6694FA>s</color><color=#4CADFB>e</color><color=#33C6FC>e</color><color=#19DEFE>k</color><color=#00F7FF>s</color>",
  "Time": 1577375244
}



(16:48:05) | [CHAT] Marty[number] : test
(16:48:05) | {
  "Channel": 0,
  "Message": "test",
  "UserId": "number",
  "Username": "Marty",
  "Color": "<color=#FF0000>M</color><color=#FF4000>a</color><color=#FF8000>r</color><color=#FFBF00>t</color><color=#FFFF00>y</color>",
  "Time": 1577375268
}

Meeseeks vs Marty(me)

Mine is shown in the Chat-Tab every time, but Meeseeks chats never show up :(
(Doesn't matter if he uses gradient, or single color, or if we use the exakt same setting. He is invisible when he is using a color.)

The only thing that is suspicious is the difference between meeseeks and me:
meeseeks

(16:47:41) | [CHAT] RconLogFormat : test


Marty

(16:48:05) | [CHAT] Marty[number..] : test


Merged post

Hey,
i guess i have found the "problem". I cannot proper debug, but on of your functions does not work properly

I am using this in your "OnPlayerChat()"
Puts("DebugPuts - '" + player.IPlayer + "'");
Puts("DebugPuts - '" + player.displayName.EscapeRichText() + "'");
string formattedMsg = GetMessage("RconLogFormat", player.IPlayer, player.displayName.EscapeRichText(), player.UserIDString);
Puts("DebugPuts - '" + formattedMsg + "'");​

Result in RustAdmin-Console-Tab:

(17:06:56) | [Coloured Names] DebugPuts - 'Covalence.RustPlayer[number, Marty]'
(17:06:56) | [Coloured Names] DebugPuts - 'Marty'
(17:06:56) | [Coloured Names] DebugPuts - 'Marty[number]'
(17:06:56) | [TEAM CHAT] Marty[number] : test


//VS

(17:07:01) | [Coloured Names] DebugPuts - 'Covalence.RustPlayer[number, mr meeseeks]'
(17:07:01) | [Coloured Names] DebugPuts - 'mr meeseeks'
(17:07:01) | [Coloured Names] DebugPuts - 'RconLogFormat'
(17:07:01) | [TEAM CHAT] RconLogFormat : test

Somehow your function "GetMessage()" loses "player.IPlayer" and "player.displayName.EscapeRichText()" arguments.
Maybe you can debug it to verify.

Thanks for your research I will definetly have a look later. Update might take another few days though since I am reworking ColouredNames to ColouredChat right now which will include message colour changing as a seperate command too

Merged post

Please update and let me know if this fixed the issue for you!
A part of me wants to say 'great job' and 'thanks for the plugin', but another part of me wants to say 'jeez, more work to update the server'... lol

Nice job @collectvood keep up the good work.
Locked automatically