yes i did in chat : /reload BetterChat
Code:[ { "GroupName": "admin", "Priority": 1, "Title": { "Text": "[ADMIN]", "Color": "Red", "Size": 15, "Hidden": false, "HiddenIfNotPrimary": false }, "Username": { "Color": "Lime", "Size": 15 }, "Message": { "Color": "white", "Size": 15 }, "Format": { "Chat": "{Title} {Username}: {Message}", "Console": "{Title} {Username}: {Message}" } }, { "GroupName": "default", "Priority": 0, "Title": { "Text": "[Player]", "Color": "#55aaff", "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": 2, "Title": { "Text": "[vip]", "Color": "#red", "Size": 15, "Hidden": false, "HiddenIfNotPrimary": false }, "Username": { "Color": "#87EFFF", "Size": 15 }, "Message": { "Color": "white", "Size": 15 }, "Format": { "Chat": "{Title} {Username}: {Message}", "Console": "{Title} {Username}: {Message}" } }, { "GroupName": "vip1", "Priority": 3, "Title": { "Text": "[vip]", "Color": "#FEB5FD", "Size": 15, "Hidden": false, "HiddenIfNotPrimary": false }, "Username": { "Color": "#FEB5FD", "Size": 15 }, "Message": { "Color": "white", "Size": 15 }, "Format": { "Chat": "{Title} {Username}: {Message}", "Console": "{Title} {Username}: {Message}" } } ]
BetterChat
Moved
Total Downloads: 26,143 - First Release: Apr 21, 2015 - Last Update: Jan 12, 2018
- 4.9898/5, 98 likes
-
Code:
[ { "GroupName": "admin", "Priority": 0, "Title": { "Text": "[ADMIN]", "Color": "Red", "Size": 15, "Hidden": false, "HiddenIfNotPrimary": false }, "Username": { "Color": "Lime", "Size": 15 }, "Message": { "Color": "white", "Size": 15 }, "Format": { "Chat": "{Title} {Username}: {Message}", "Console": "{Title} {Username}: {Message}" } }, { "GroupName": "default", "Priority": 1, "Title": { "Text": "[Player]", "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": "vip", "Priority": 2, "Title": { "Text": "[vip]", "Color": "#red", "Size": 15, "Hidden": false, "HiddenIfNotPrimary": false }, "Username": { "Color": "#87EFFF", "Size": 15 }, "Message": { "Color": "white", "Size": 15 }, "Format": { "Chat": "{Title} {Username}: {Message}", "Console": "{Title} {Username}: {Message}" } }, { "GroupName": "vip1", "Priority": 3, "Title": { "Text": "[vip]", "Color": "#FEB5FD", "Size": 15, "Hidden": false, "HiddenIfNotPrimary": false }, "Username": { "Color": "#FEB5FD", "Size": 15 }, "Message": { "Color": "white", "Size": 15 }, "Format": { "Chat": "{Title} {Username}: {Message}", "Console": "{Title} {Username}: {Message}" } } ]
-
-
@LaserHydra I don't know what went wrong with last update, but my RustAdmin doesn't show the chat in the "Chat" tab - and the spam in "Console" is too much..
See here: Gyazo - 6c015c92886f2492eeebdafdad7813ba.png
Nothing shows up in "Chat": Gyazo - 98aeae924fbb243f1465a4edaf481d9a.png -
thank you so much ! .. yes its working good now
i have to edit the vip Priority too now .. -
So now, there are two message handlers on RustAdmin (one for default messages and one for BetterChat message), that's why you see 2 messages.
RustAdmin should remove the BetterChat specific handler now that BetterChat respect the chat type. -
Thanks for your answer!
I liked the old method better though. All we need is for it to show up in the "Chat" tab, so it don't spam the Console tab -
[DOUBLEPOST=1505841525][/DOUBLEPOST]
So admin = 0
player = 1
[DOUBLEPOST=1505841733][/DOUBLEPOST] -
When that string is printed into console it gives this: System.Collections.Generic.List`1[System.Object]
Any ideas? -
Do you have a copy of the old version before this one? I would like to go back.. -
-
Its a list of all groups the user is in. -
-
-
Is there any way to get betterchat to display in rcon.io/chat?
Thanks -
EDIT: Ok i'm wrong, the history doesn't works for me. I can see messages sent by BetterChat in real time when i'm on the chat page, but messages are not persisted in the history.Last edited by a moderator: Sep 20, 2017 -
-
Does it works better with the previous version (5.0.12) ?Last edited by a moderator: Sep 20, 2017 -
Ok I investigated and I think I know what goes wrong with the chat history.
Rcon.io use the RCON command "chat.tail 200" to get the 200 latest messages sent to the server (output example: https://i.imgur.com/5JXAr7m.png).
But only regular messages are returned (messages sent without BetterChat). It means BetterChat messages are not stored in the server memory when they are sent.
To make this feature works, @LaserHydra must manually insert BetterChat message in this memory to persist them as regular messages, but I really don't know if it's possible.Last edited by a moderator: Sep 20, 2017 -