--- layout: forums title: 'BetterChat | Page 195' breadcrumbs: > - "Plugin Support": "/forums/plugin-support.31/" ---

BetterChat

Moved

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

4.9898/5, 98 likes
  1. It just say like that "Group 'owner' does not exist!"
     
  2. Code:
    {% raw %}
    [
      {
        "GroupName": "Part",
        "Priority": 3,
        "Title": {
          "Text": "[Parts]",
          "Color": "#ffd700",
          "Size": 15,
          "Hidden": false,
          "HiddenIfNotPrimary": true
        },
        "Username": {
          "Color": "green",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Name}: {Message}",
          "Console": "{Title} {Name}: {Message}"
        }
      },
      {
        "GroupName": "default",
        "Priority": 4,
        "Title": {
          "Text": "[Player]",
          "Color": "#269ec3",
          "Size": 15,
          "Hidden": false,
          "HiddenIfNotPrimary": true
        },
        "Username": {
          "Color": "#DCFF66",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Name}: {Message}",
          "Console": "{Title} {Name}: {Message}"
        }
      },
      {
        "GroupName": "v.i.p",
        "Priority": 3,
        "Title": {
          "Text": "[V.i.P]",
          "Color": "#269ec3",
          "Size": 15,
          "Hidden": false,
          "HiddenIfNotPrimary": true
        },
        "Username": {
          "Color": "green",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Name}: {Message}",
          "Console": "{Title} {Name}: {Message}"
        }
      },
      {
        "GroupName": "Owner",
        "Priority": 0,
        "Title": {
          "Text": "[Santa]",
          "Color": "#8b0000",
          "Size": 15,
          "Hidden": false,
          "HiddenIfNotPrimary": true
        },
        "Username": {
          "Color": "#dcff66",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Name}: {Message}",
          "Console": "{Title} {Name}: {Message}"
        }
      },
      {
        "GroupName": "Silver",
        "Priority": 3,
        "Title": {
          "Text": "[Silver]",
          "Color": "#c0c0c0",
          "Size": 15,
          "Hidden": false,
          "HiddenIfNotPrimary": true
        },
        "Username": {
          "Color": "green",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Name}: {Message}",
          "Console": "{Title} {Name}: {Message}"
        }
      },
      {
        "GroupName": "TheLegend",
        "Priority": 3,
        "Title": {
          "Text": "[Thelegend]",
          "Color": "#2f4f4f",
          "Size": 15,
          "Hidden": false,
          "HiddenIfNotPrimary": true
        },
        "Username": {
          "Color": "green",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Name}: {Message}",
          "Console": "{Title} {Name}: {Message}"
        }
      },
      {
        "GroupName": "Legend",
        "Priority": 3,
        "Title": {
          "Text": "[Legend]",
          "Color": "#5090bc",
          "Size": 15,
          "Hidden": false,
          "HiddenIfNotPrimary": true
        },
        "Username": {
          "Color": "green",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Name}: {Message}",
          "Console": "{Title} {Name}: {Message}"
        }
      },
      {
        "GroupName": "Gold",
        "Priority": 3,
        "Title": {
          "Text": "[Gold]",
          "Color": "#ffd700",
          "Size": 15,
          "Hidden": false,
          "HiddenIfNotPrimary": true
        },
        "Username": {
          "Color": "green",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Name}: {Message}",
          "Console": "{Title} {Name}: {Message}"
        }
      },
      {
        "GroupName": "Bronze",
        "Priority": 3,
        "Title": {
          "Text": "[Bronze]",
          "Color": "#b97f45",
          "Size": 15,
          "Hidden": false,
          "HiddenIfNotPrimary": true
        },
        "Username": {
          "Color": "green",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Name}: {Message}",
          "Console": "{Title} {Name}: {Message}"
        }
      },
      {
        "GroupName": "mod",
        "Priority": 1,
        "Title": {
          "Text": "[Elf]",
          "Color": "#3280cd",
          "Size": 15,
          "Hidden": false,
          "HiddenIfNotPrimary": true
        },
        "Username": {
          "Color": "green",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Name}: {Message}",
          "Console": "{Title} {Name}: {Message}"
        }
      }
    ]
    {% endraw %}
    [

    i se no clan tag or tag for the group
     
  3. There is a small but major "bug". I am fixing it as soon as possible. That should fix all the non-functioning groups.
     
  4. Thank you :)
     
  5. thanks the fix is for tags or clan tags or now
    [DOUBLEPOST=1484000975][/DOUBLEPOST]but is me config fine so !

    Code:
    {% raw %}
    [
      {
        "GroupName": "Part",
        "Priority": 3,
        "Title": {
          "Text": "[Parts]",
          "Color": "#ffd700",
          "Size": 15,
          "Hidden": false,
          "HiddenIfNotPrimary": true
        },
        "Username": {
          "Color": "green",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Name}: {Message}",
          "Console": "{Title} {Name}: {Message}"
        }
      },
      {
        "GroupName": "default",
        "Priority": 4,
        "Title": {
          "Text": "[Player]",
          "Color": "#269ec3",
          "Size": 15,
          "Hidden": false,
          "HiddenIfNotPrimary": true
        },
        "Username": {
          "Color": "#DCFF66",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Name}: {Message}",
          "Console": "{Title} {Name}: {Message}"
        }
      },
      {
        "GroupName": "v.i.p",
        "Priority": 3,
        "Title": {
          "Text": "[V.i.P]",
          "Color": "#269ec3",
          "Size": 15,
          "Hidden": false,
          "HiddenIfNotPrimary": true
        },
        "Username": {
          "Color": "green",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Name}: {Message}",
          "Console": "{Title} {Name}: {Message}"
        }
      },
      {
        "GroupName": "Owner",
        "Priority": 0,
        "Title": {
          "Text": "[Santa]",
          "Color": "#8b0000",
          "Size": 15,
          "Hidden": false,
          "HiddenIfNotPrimary": true
        },
        "Username": {
          "Color": "#dcff66",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Name}: {Message}",
          "Console": "{Title} {Name}: {Message}"
        }
      },
      {
        "GroupName": "Silver",
        "Priority": 3,
        "Title": {
          "Text": "[Silver]",
          "Color": "#c0c0c0",
          "Size": 15,
          "Hidden": false,
          "HiddenIfNotPrimary": true
        },
        "Username": {
          "Color": "green",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Name}: {Message}",
          "Console": "{Title} {Name}: {Message}"
        }
      },
      {
        "GroupName": "TheLegend",
        "Priority": 3,
        "Title": {
          "Text": "[Thelegend]",
          "Color": "#2f4f4f",
          "Size": 15,
          "Hidden": false,
          "HiddenIfNotPrimary": true
        },
        "Username": {
          "Color": "green",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Name}: {Message}",
          "Console": "{Title} {Name}: {Message}"
        }
      },
      {
        "GroupName": "Legend",
        "Priority": 3,
        "Title": {
          "Text": "[Legend]",
          "Color": "#5090bc",
          "Size": 15,
          "Hidden": false,
          "HiddenIfNotPrimary": true
        },
        "Username": {
          "Color": "green",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Name}: {Message}",
          "Console": "{Title} {Name}: {Message}"
        }
      },
      {
        "GroupName": "Gold",
        "Priority": 3,
        "Title": {
          "Text": "[Gold]",
          "Color": "#ffd700",
          "Size": 15,
          "Hidden": false,
          "HiddenIfNotPrimary": true
        },
        "Username": {
          "Color": "green",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Name}: {Message}",
          "Console": "{Title} {Name}: {Message}"
        }
      },
      {
        "GroupName": "Bronze",
        "Priority": 3,
        "Title": {
          "Text": "[Bronze]",
          "Color": "#b97f45",
          "Size": 15,
          "Hidden": false,
          "HiddenIfNotPrimary": true
        },
        "Username": {
          "Color": "green",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Name}: {Message}",
          "Console": "{Title} {Name}: {Message}"
        }
      },
      {
        "GroupName": "mod",
        "Priority": 1,
        "Title": {
          "Text": "[Elf]",
          "Color": "#3280cd",
          "Size": 15,
          "Hidden": false,
          "HiddenIfNotPrimary": true
        },
        "Username": {
          "Color": "green",
          "Size": 15
        },
        "Message": {
          "Color": "white",
          "Size": 15
        },
        "Format": {
          "Chat": "{Title} {Name}: {Message}",
          "Console": "{Title} {Name}: {Message}"
        }
      }
    ]
    {% endraw %}
     
  6. Can u tell me if it,s a problem with the plugin or if my config is mistaken? Thanks. :)


    Edit : Sorry, ... I've seen your message now lol
     
  7. To everybody again about clan tags; BetterChat 5.0 offers any plugin now to freely add its own title, thats exactly what those clan plugins will need to do. Its just a mess if I try to add support for each clans plugin myself...
     
  8. Fixed a few things for you can you test upload to data folder
     

    Attached Files:

  9. no matter what i do i have a title [ADMIN] title, i cant get rid of it, help?
     
  10. LaserHydra updated Better Chat with a new update entry:

    5.0.2

     
  11. wait nvm, clans :p
     
  12. "Hidden": true,
     
  13. so can i now remove the betterchat folder in oxide/data and just have betterchat.json ?
     
  14. yes, but if you want to copy over your old groups, you should propably first successfully do that before you delete it.
     
  15. sorry for that faggit question but... i see 2 types of config here:

    first: Admin Prio 0 default prio 10
    second: Admin prio 10 default prio 0

    Which version is now correct or better?
     
  16. Rules for Priority are: 0 > 1
    Meaning 0 would be a higher priority than 1.
     
  17. Code:
    {% raw %}
    ExType: TargetInvocationException
    Failed to run command 'chat' on plugin 'BetterChat v5.0.2' (InvalidOperationException: Operation is not valid due to the current state of the object)
      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 (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    > chat user add red owner
    Group 'owner' does not exist!
    {% endraw %}
    [DOUBLEPOST=1484005430][/DOUBLEPOST]I'm using my old config file, I don't understand why it's not working anymore
     
  18. I have the problem that its not wirking on my server...

    I have Update BetterChat and have set the 2 groups btw set 1 group and have now 2 : default and admin

    on this 2 only the name shoul show green and title is hidden but it dont works.. only the defaults from the server on the screen...
     
  19. Dont use the old one not hard to work out
     
  20. Failed to initialize plugin 'BetterChat v5.0.1' (JsonSerializationException: Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[Oxide.Plugins.BetterChat+ChatGroup]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
    To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
    Path '['Anti Flood']', line 2, position 15.)