BetterChat

Moved

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

4.9898/5, 98 likes
  1. Demote via Steam64ID :)
    [DOUBLEPOST=1512465258][/DOUBLEPOST]Not sure why I'm getting the color code for my username but the name isn't being colored
    I've attached the image to what I mean.
    Thanks to those that help and please reply with a Quote so I get an email Notification! <3
     

    Attached Files:

  2. needs to be "Color": "#55aaff",
     
  3. It already is, I've been trying to find out whats wrong changed the colors and did "Oxide.reload BetterChat"
    Now the plugin has ceased to work altogether.
    This is the error I get

    Code:
    (17:39:11) | BetterChat was compiled successfully in 2692ms
    (17:39:11) | Failed to initialize plugin 'BetterChat v5.0.14' (JsonSerializationException: Unexpected end when deserializing array. Path '[4]', line 118, position 0.)
    (17:39:11) | No previous version to rollback plugin: BetterChat
     

    Attached Files:

    Last edited by a moderator: Dec 6, 2017
  4. Anyone that can help me with this. been scratching my head raw here :)

     
  5. Test please
     

    Attached Files:

  6. I would like some assistance with a issue im having. Clan tags from Rust:IO Clans for Rust | Oxide isnt showing up when this plugin is active. Can anyone help me figure out why?
     
  7. Wulf

    Wulf Community Admin

    Use the Clan Tags plugin.
     
  8. Do you know if its possible to remove the ablility for users who edit there steam names to <size=100>TROLL</size> not to show up massive text,
    Its exploit users are using to spam chat with HUGE Text in there name
     
  9. can anyone help me with this error message?

    Code:
    (15:47:34) | Failed to call hook 'CmdChat' on plugin 'BetterChat v5.0.14' (InvalidOperationException: Operation is not valid due to the current state of the object)
    (15:47:34) | at System.Linq.Enumerable.First[KeyValuePair`2] (IEnumerable`1 source, System.Func`2 predicate, Fallback fallback) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable.First[KeyValuePair`2] (IEnumerable`1 source, System.Func`2 predicate) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChat.CmdChat (IPlayer player, System.String cmd, System.String[] args) [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
    Code:
    [
      {
        "GroupName": "default",
        "Priority": 0,
        "Title": {
          "Text": "[Player]",
          "Color": "#55aaff",
          "Size": 15,
          "Hidden": true,
          "HiddenIfNotPrimary": false
        },
        "Username": {
          "Color": "#55aaff",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Username}: {Message}",
          "Console": "{Title} {Username}: {Message}"
        }
      },
      {
        "GroupName": "admin",
        "Priority": 1,
        "Title": {
          "Text": "admin",
          "Color": "#ff9900",
          "Size": 15,
          "Hidden": true,
          "HiddenIfNotPrimary": false
        },
        "Username": {
          "Color": "#ff9900",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Username}: {Message}",
          "Console": "{Title} {Username}: {Message}"
        }
      },
      {
        "GroupName": "Mod",
        "Priority": 2,
        "Title": {
          "Text": "[Mod]",
          "Color": "#ff9900",
          "Size": 15,
          "Hidden": false,
          "HiddenIfNotPrimary": false
        },
        "Username": {
          "Color": "#ff9900",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Username}: {Message}",
          "Console": "{Title} {Username}: {Message}"
        }
      },
      {
        "GroupName": "VIP",
        "Priority": 5,
        "Title": {
          "Text": "[VIP]",
          "Color": "#33ccff",
          "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": 4,
        "Title": {
          "Text": "[VIP+]",
          "Color": "#33ccff",
          "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": "Hero",
        "Priority": 3,
        "Title": {
          "Text": "[HNn-Hero]",
          "Color": "#3333ff",
          "Size": 15,
          "Hidden": false,
          "HiddenIfNotPrimary": false
        },
        "Username": {
          "Color": "#3333ff",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Username}: {Message}",
          "Console": "{Title} {Username}: {Message}"
        }
      }
    ]
    Code:
    [
      {
        "GroupName": "default",
        "Priority": 0,
        "Title": {
          "Text": "[Player]",
          "Color": "#55aaff",
          "Size": 15,
          "Hidden": true,
          "HiddenIfNotPrimary": false
        },
        "Username": {
          "Color": "#55aaff",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Username}: {Message}",
          "Console": "{Title} {Username}: {Message}"
        }
      },
      {
        "GroupName": "admin",
        "Priority": 1,
        "Title": {
          "Text": "admin",
          "Color": "#ff9900",
          "Size": 15,
          "Hidden": true,
          "HiddenIfNotPrimary": false
        },
        "Username": {
          "Color": "#ff9900",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Username}: {Message}",
          "Console": "{Title} {Username}: {Message}"
        }
      },
      {
        "GroupName": "Mod",
        "Priority": 2,
        "Title": {
          "Text": "[Mod]",
          "Color": "#ff9900",
          "Size": 15,
          "Hidden": false,
          "HiddenIfNotPrimary": false
        },
        "Username": {
          "Color": "#ff9900",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Username}: {Message}",
          "Console": "{Title} {Username}: {Message}"
        }
      },
      {
        "GroupName": "VIP",
        "Priority": 5,
        "Title": {
          "Text": "[VIP]",
          "Color": "#33ccff",
          "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": 4,
        "Title": {
          "Text": "[VIP+]",
          "Color": "#33ccff",
          "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": "Hero",
        "Priority": 3,
        "Title": {
          "Text": "[HNn-Hero]",
          "Color": "#3333ff",
          "Size": 15,
          "Hidden": false,
          "HiddenIfNotPrimary": false
        },
        "Username": {
          "Color": "#3333ff",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Username}: {Message}",
          "Console": "{Title} {Username}: {Message}"
        }
      }
    ]
     
  10. @[HNn]VikingVirus
    keep GroupName lower case I fixed other things in your file that where wrong upload this and reload plugin
     

    Attached Files:

    Last edited by a moderator: Dec 10, 2017
  11. When i set myself to Owner it has [Player] After the owner, any help?
     
  12. There are plenty of posts on that read them
     
  13. Hello, could someone explain to me how priority works? Please and thank you.
     
  14. admin = 0
    mod = 1
    vip = 2
    next group = 3
    default = 4
    if you have more groups default will always be the highest number
    and set
    "HiddenIfNotPrimary": false
    to
    "HiddenIfNotPrimary": true
    for each group
     
  15. Ah, so 0 is the highest for it. Thanks. Also, it seems that chat colour doesn't work anymore. :(
     
  16. Did you change anything to do with the colour in the file?
     
  17. Yes I did, I even downloaded the little tool made to help make it faster, and easier. Doesn't seem to work anymore.
     
  18. Are you refering to the BetterChat Group Manager?
     
  19. You dont need any tools just install the plugin and it will work