BetterChat

Moved

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

4.9898/5, 98 likes
  1. BetterChat implements the same commands as chat and console commands. Every BetterChat command you type in chat, works the same in console (just without the slash).
    [DOUBLEPOST=1522340737][/DOUBLEPOST]
    Make sure that the default group was loaded correctly, with the group list command. Then make sure you are in the default group.
    About the milliseconds being displayed, thats something I have to fix.
     
  2. Hi,

    Seems like last night BetterChat decided it was done working. All chat tags have gone missing and it's throwing errors out when someone types something.

    Code:
    (10:03:29) | [CHAT] ~*[Fu2]*~ Marlbora1981[241193408/76561198200334901] : oh nice
    (10:03:29) | {
      "Message": "oh nice",
      "UserId": 76561198200334901,
      "Username": "~*[Fu2]*~ Marlbora1981",
      "Color": "#5af",
      "Time": 1522487009
    }
    (10:03:32) | Unloaded plugin Quests v2.2.4 by k1lly0u
    (10:03:44) | [BetterChatIgnore] Ignore API not detected
    (10:03:44) | Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.16' (NullReferenceException: Object reference not set to an instance of an object)
      at Oxide.Plugins.BetterChat.StripRichText (System.String text) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChat+BetterChatMessage.GetOutput () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChat.OnUserChat (IPlayer player, System.String message) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChat.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    Thanks for the help in advance.

    Edit: It was this new plugin from uMod - Block Bind Spam
     
    Last edited by a moderator: Mar 31, 2018
  3. Same for me
    Code:
    Failed to call hook 'OnUserChat' on plugin 'BetterChat v5.0.16' (NullReferenceException: Object reference not set to an instance of an object)
      at Oxide.Plugins.BetterChat.StripRichText (System.String text) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChat+BetterChatMessage.GetOutput () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChat.OnUserChat (IPlayer player, System.String message) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChat.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
  4. Check the json file in data folder use notepad++ to open it and copy and paste to here
     
  5. Good morning,

    On my side I have this message that appears in my rust logs
    does not seem to be in any BetterChat group - falling back to plugin's default group! This should never happen! Please make sure you have a group called'default'.

    when I add the default group I end up with this

    [player][admin]: nickname : message
    while on my admin player I don't want there to be a player.
    [DOUBLEPOST=1522617795][/DOUBLEPOST]
    Code:
    [
      {
        "GroupName": "Admin",
        "Priority": 3,
        "Title": {
          "Text": "[Admin]",
          "Color": "#FF8000",
          "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": "modo",
        "Priority": 2,
        "Title": {
          "Text": "[Modérateur]",
          "Color": "Lime",
          "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": "default",
        "Priority": 0,
        "Title": {
          "Text": "[Joueur]",
          "Color": "#FFFF00",
          "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. Here is your fix but next time read posts upload file to data folder then reload plugin
     

    Attached Files:

  7. I'll try that, thank you for your answer.
     
  8. Thank you very much Resistance, it works fine
     
  9. Any idea why I have two chats showing? Thanks ahead of time!
     

    Attached Files:

  10. Wulf

    Wulf Community Admin

    Sounds like you have multiple plugins installed that modify the chat.
     
  11. I'll dig through my plugins.
    Code:
    AdminRadar, AutoBroadcast, BetterChat, BetterLoot, BotSpawn, Build, ConnectMessages, CopyPaste, CustomAnimalSpawns, CustomResourceSpawns, CustomSpawnPoints, DeathNotes, Friends, GatherManager, Godmode, GrTeleport, HeliControl, ImageLibrary, InfoPanel, InventoryViewer, Jail, Kits, LustyMap, NightLantern, NoEscape, NoFuelRequirements, NPCFix, NTeleportation, Password, PathFinding, RainOfFire, RandomDeployables, Recycle, RemoverTool, SignArtist, SkipNightUI, Spawns, StackSizeController, Waypoints, WelcomeMessages and ZLevelsRemastered
    01:19 [Info] Loaded plugin Admin Radar v4.3.0 by nivex
    01:19 [Info] Loaded plugin AutoBroadcast v1.0.8 by Wulf/lukespragg
    01:19 [Info] Loaded plugin Better Chat v5.0.16 by LaserHydra
    01:19 [Info] Loaded plugin BetterLoot v2.15.0 by FuJiCuRa / dcode
    01:19 [Info] Loaded plugin BotSpawn v1.5.2 by Steenamaroo
    01:19 [Info] Loaded plugin Build v1.2.7 by Reneb & NoGrod
    01:19 [Info] Loaded plugin ConnectMessages v1.1.9 by Spicy
    01:19 [Info] Loaded plugin Copy Paste v3.6.0 by Reneb
    01:19 [Info] Loaded plugin CustomAnimalSpawns v0.1.55 by k1lly0u
    01:19 [Info] Loaded plugin CustomResourceSpawns v0.2.25 by k1lly0u
    01:19 [Info] Loaded plugin CustomSpawnPoints v1.1.1 by Reneb / k1lly0u
    01:19 [Info] Loaded plugin Death Notes v5.2.20 by LaserHydra
    01:19 [Info] Loaded plugin Friends v2.2.5 by Nogrod
    01:19 [Info] Loaded plugin Gather Manager v2.2.6 by Mughisi
    01:19 [Info] Loaded plugin Godmode v4.1.1 by Wulf/lukespragg
    01:19 [Info] Loaded plugin GrTeleport v1.0.11 by carny666
    01:19 [Info] Loaded plugin HeliControl v1.2.9 by Shady
    01:19 [Info] Loaded plugin ImageLibrary v2.0.28 by Absolut & K1lly0u
    01:19 [Info] Loaded plugin LustyMap v2.1.39 by Kayzor / k1lly0u
    01:19 [Info] Loaded plugin InfoPanel v0.9.8 by Ghosst / Nogrod
    01:19 [Info] Loaded plugin Inventory Viewer v3.0.2 by Mughisi
    01:19 [Info] Loaded plugin Jail v4.0.0 by Reneb / k1lly0u
    01:19 [Info] Loaded plugin Kits v3.2.9 by Reneb
    01:19 [Info] Loaded plugin NightLantern v2.0.92 by k1lly0u
    01:19 [Info] Loaded plugin NoEscape v2.0.4 by rustservers.io
    01:19 [Info] Loaded plugin NoFuelRequirements v1.3.6 by k1lly0u
    01:19 [Info] Loaded plugin NPCFix v0.1.0 by k1lly0u
    01:19 [Info] Loaded plugin NTeleportation v1.0.26 by Nogrod
    01:19 [Info] Loaded plugin Password v2.0.4 by Wulf/lukespragg
    01:19 [Info] Loaded plugin PathFinding v1.1.2 by Reneb / Nogrod
    01:19 [Info] Loaded plugin RainOfFire v0.2.51 by emu / k1lly0u
    01:19 [Info] Loaded plugin RandomDeployables v0.1.10 by Norn
    01:19 [Info] Loaded plugin Recycle v2.1.0 by Calytic/rustservers.io
    01:19 [Info] Loaded plugin RemoverTool v4.2.9 by Reneb/Fuji
    01:19 [Info] Loaded plugin Sign Artist v1.1.2 by Mughisi
    01:19 [Info] Loaded plugin SkipNightUI v0.1.2 by k1lly0u
    01:19 [Info] Loaded plugin Spawns v2.0.35 by Reneb / k1lly0u
    01:19 [Info] Loaded plugin Stack Size Controller v1.9.9 by Canopy Sheep
    01:19 [Info] Loaded plugin Waypoints v1.1.2 by Reneb
    01:19 [Info] Loaded plugin WelcomeMessages v1.0.5 by Ankawi
    01:19 [Info] Loaded plugin ZLevelsRemastered v2.9.4 by Fujikura/Visagalis
     
  12. You will need to remove one plugin at a time until you find the one causing it
     
  13. Will do thanks.
     
  14. im struggling to change my vip group to VIP instead of lowercase, ive tried changing it in the betterchat config and changing the colours, im reloading the plugin and still nothing working.
     
  15. GroupName = must be lower case with no spaces and must be in English
    Text = can be whatever you want
     
  16. Remove "NoGreen" pluggin ..
     
  17. Does anyone know if there is a max # of Priorities? I have 6 and the #6 is not working for players. Once I drop it to 5 it's fine.
     
  18. There is no priority maximum.
     
  19. look in your config and set it to 6 titles also upload the betterchat.json from data folder
     
  20. Hi all
    I'm not sure I understood the management of this plugin.
    I thought that BetterChat could be configured on already created Oxide groups. For example, I understand that in addition to managing users in the OXIDE VIP group, I should also manage the users in the Better Chat VIP group ?
    It seems to me complex to have to manage all the groups in duplicate.
    I misunderstand ?