BetterChat

Moved

Total Downloads: 26,143 - First Release: Apr 21, 2015 - Last Update: Jan 12, 2018

4.9898/5, 98 likes
  1. Player came into my server with Steam name: <color=red>Rolex</color>
    It made his name Red in chat

    I dont think this was neccassirly correct thread for me to post this problem, sorry.

    I found a solution:

    Name Manager ----> Name Manager | Oxide

    I restricted less than sign character < in names, players get kicked when they connect if they have it in their username

    config/NameManager.json
    Code:
    {
      "Characters Required": 2,
      "Enable Character Requirement": false,
      "Enable Restricted Characters": true,
      "Enable Restricted Names": true,
      "Restricted Characters": [
        "<"
      ],
      "Restricted Names": [
        "Oxide",
        "Admin",
        "Owner",
        "Moderator",
        "Server"
      ]
    }
     
    Last edited by a moderator: Jun 4, 2017
  2. Code:
    [
      {
        "GroupName": "Default",
        "Priority": 1,
        "Title": {
          "Text": "[Player]",
          "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": "Admin",
        "Priority": 0,
        "Title": {
          "Text": "[Admin]",
          "Color": "#FF0000",
          "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}"
        }
      }
    ]
    when I type It shows me as Admin and Player as well, how do I make it to show myself only as Admin, I tried to "chat user remove Kalas Default, It says Default is not exist..
     
  3. Does BetterChat have Korean language support?

    I have server owner who wants to use BetterChatIgnore ---->BetterChat Ignore for Rust | Oxide
    But cant because says has to use older version of BetterChat for Korean language
     
  4. @KalasRL What shows if you type console command: chat group list
     
  5. @KalasRL
    Change to
    Code:
    [
      {
        "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": "admin",
        "Priority": 0,
        "Title": {
          "Text": "[Admin]",
          "Color": "#FF0000",
          "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}"
        }
      }
    ]
     
  6. It's neither implicitly blocked nor supported.
     
  7. So languages other than English may or may not work with BetterChat?
    Is this a Unicode issue?
     
  8. Are you sure rust itself works with it?
     
  9. i have big problems i think the plugin let my server shut down all the time, so i have to restart it
     

    Attached Files:

  10. If you updated all the other out of date plugins you would have less problems
     
  11. The replacement word option isn't working for some reason. :(
    [DOUBLEPOST=1496898160][/DOUBLEPOST]@Wulf Now this is throwing the following error after implementing the ChatFilter?
    Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
     
  12. Wulf

    Wulf Community Admin

    Could you show the full error?
     
  13. Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [CHAT] uttermostmeat6[1283050/76561198247788014] : why?

    That's when it throws it
     
  14. Wulf

    Wulf Community Admin

    Check your oxide/logs, that isn't the full part.
     
  15. What log specifically?

    This is working totally fine on my other server. Then I tried to copy the config/.cs over and bloop lol error. Thanks for the help as usual :)


    This is directly from my error.log:
    [06/07/2017 21:11:19] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:11:33] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:11:35] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:11:38] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:11:42] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:12:03] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:12:03] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:12:18] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:12:36] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:12:46] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:12:53] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:12:54] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:12:54] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:12:59] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:13:12] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:14:05] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:15:00] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:16:25] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:16:54] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:17:15] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:17:30] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:17:37] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:17:40] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:17:46] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:17:48] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:17:51] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:17:59] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:18:24] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:18:38] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:18:52] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:18:57] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:19:45] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:19:48] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
    [06/07/2017 21:19:57] Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.12' (NullReferenceException: Object reference not set to an instance of an object)
     
  16. Okay I seem to have found the solution to that. I had to add in everyone to a default group for that error to dissipate. However, this plugin depletes the purpose of people creating Clan Tags. While they are in a group, they cannot have a visible clan tag. And if I don't put them in a group, they can get around the BetterChatFilter settings....any ideas as to why or if this can be fixed?
    Or perhaps @LaserHydra has the golden key! ;)
     
  17. Wulf

    Wulf Community Admin

    All players are automatically in the 'default' group per Oxide. Also, use the Clan Tags plugin.
     
  18. Yeah I know, but there was a default tag group assigned to everyone from the BetterChat plugin that I had to redo :) Also thanks a lot! LOVE it! You rock Wulf. :)
     
  19. I have a question:

    Code:
    [
      {
        "GroupName": "default",
        "Priority": 1,
        "Title": {
          "Text": "[Player]",
          "Color": "#C0C0C0",
          "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": "admin",
        "Priority": 0,
        "Title": {
          "Text": "[Admin]",
          "Color": "#00FF7F",
          "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}"
        }
      }
    ]
    If I want to add a new group, the priority I need to give it for example It will be Moderator, so Default will be 2, Moderator 1 and Admin 0 ?
     
  20. Yes thats correct