BetterChat

Moved

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

4.9898/5, 98 likes
  1. You can wrap it in color tags in the groups file.

    <color=red>{ClanTag}</color>
    [DOUBLEPOST=1478424307][/DOUBLEPOST]
    Do you mean you want a red message?
     
  2. is it possible to log chat into "Log.Chat"?
     
  3. how would i go about changing the (player) to something like VIP++ ? thanks
     
  4. Create a group VIP++ and add the players who want to be like : [VIP++] name (read the Overview how to do it)...
    and remove them from group default ... if it shows like: [Player][VIP++]name
     
  5. you dont must remove them from group default you can hide "player" tag in config if you want
     
  6. anyone else getting this error on betterchat ?

    Code:
    [Oxide] 15:56 [Error] Failed to call hook 'API_FindPlayerPrimaryGroup' on plugin 'BetterChat v4.2.12' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 15:56 [Debug]   at Oxide.Plugins.BetterChat+Group.GetGroups (System.String SteamID, Sorting sorting) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChat+Group.GetPrimaryGroup (System.String steamID) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChat.API_FindPlayerPrimaryGroup (System.String id) [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 (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 name, System.Object[] args) [0x00000] in <filename unknown>:0
     
  7. That is most likely caued by notifier.
     
  8. Alright thank you for your quick reply. :)
     
  9. How do I set it up so I can do it so it shows Owner Elite Sniper: Hi how do I set up the prefixes??
     

  10. you made an admin group?
     
  11. Solved
     
    Last edited by a moderator: Nov 7, 2016
  12. Thanks Resistance!


    Realy I can not put this working,
    I show you my config


    Code:
    [
      {
        "GroupName": "default",
        "Priority": 100,
        "Title": {
          "Hidden": false,
          "HideIfNotHighestPriority": true,
          "Size": 14,
          "Color": "#9EC326",
          "Text": "[USER]",
          "InheritSize": false,
          "InheritColor": false
        },
        "PlayerName": {
          "Size": 14,
          "Color": "#9EC326",
          "ClanTagFormat": "[{Clan}] {Name}"
        },
        "Message": {
          "Size": 13,
          "Color": "white"
        },
        "Formatting": {
          "Console": "{Title} {Name}: {Message}",
          "Chat": "{Name}: {Message}"
        }
      },
        {
        "GroupName": "admin",
        "Priority": 101,
        "Title": {
          "Hidden": true,
          "HideIfNotHighestPriority": true,
          "Size": 13,
          "Color": "#9EC326",
          "Text": "[ADMIN]",
          "InheritSize": false,
          "InheritColor": false
        },
        "PlayerName": {
          "Size": 14,
          "Color": "#9EC326",
          "ClanTagFormat": "[{Clan}] {Name}"
        },
        "Message": {
          "Size": 13,
          "Color": "white"
        },
        "Formatting": {
          "Console": "{Title} {Name}: {Message}",
          "Chat": "<color=orange>[{Level}]</color> {Name}: {Message}"
        }
      },
        {
        "GroupName": "moderator",
        "Priority": 97,
        "Title": {
          "Hidden": false,
          "HideIfNotHighestPriority": false,
          "Size": 14,
          "Color": "#9EC326",
          "Text": "[MOD]",
          "InheritSize": false,
          "InheritColor": false
        },
        "PlayerName": {
          "Size": 14,
          "Color": "#9EC326",
          "ClanTagFormat": "[{Clan}] {Name}"
        },
        "Message": {
          "Size": 14,
          "Color": "white"
        },
        "Formatting": {
          "Console": "{Title} {Name}: {Message}",
          "Chat": "<color=#4169E1>|M✪Đ|</color> {Name}: {Message}"
        }
      },
        {
        "GroupName": "member",
        "Priority": 99,
        "Title": {
          "Hidden": false,
          "HideIfNotHighestPriority": true,
          "Size": 14,
          "Color": "#9EC326",
          "Text": "[MEMBER]",
          "InheritSize": false,
          "InheritColor": false
        },
        "PlayerName": {
          "Size": 14,
          "Color": "#9EC326",
          "ClanTagFormat": "[{Clan}] {Name}"
        },
        "Message": {
          "Size": 13,
          "Color": "white"
        },
        "Formatting": {
          "Console": "{Title} {Name}: {Message}",
          "Chat": "<color=orange>|☑|</color> {Name}: {Message}"
        }
      },
        {
        "GroupName": "VIP1",
        "Priority": 98,
        "Title": {
          "Hidden": false,
          "HideIfNotHighestPriority": true,
          "Size": 14,
          "Color": "#9EC326",
          "Text": "[VIP1]",
          "InheritSize": false,
          "InheritColor": false
        },
        "PlayerName": {
          "Size": 14,
          "Color": "#9EC326",
          "ClanTagFormat": "[{Clan}] {Name}"
        },
        "Message": {
          "Size": 13,
          "Color": "white"
        },
        "Formatting": {
          "Console": "{Title} {Name}: {Message}",
          "Chat": "<color=orange>|♚|</color> {Name}: {Message}"
        }
        },
        {
        "GroupName": "VIP2",
        "Priority": 97,
        "Title": {
          "Hidden": false,
          "HideIfNotHighestPriority": false,
          "Size": 14,
          "Color": "#9EC326",
          "Text": "[VIP2]",
          "InheritSize": false,
          "InheritColor": false
        },
        "PlayerName": {
          "Size": 14,
          "Color": "#9EC326",
          "ClanTagFormat": "[{Clan}] {Name}"
        },
        "Message": {
          "Size": 13,
          "Color": "white"
        },
        "Formatting": {
          "Console": "{Title} {Name}: {Message}",
          "Chat": "<color=orange>|♛|</color> {Name}: {Message}"
        }
        },
        {
        "GroupName": "donor",
        "Priority": 97,
        "Title": {
          "Hidden": false,
          "HideIfNotHighestPriority": false,
          "Size": 14,
          "Color": "#9EC326",
          "Text": "[DONOR]",
          "InheritSize": false,
          "InheritColor": false
        },
        "PlayerName": {
          "Size": 14,
          "Color": "#9EC326",
          "ClanTagFormat": "[{Clan}] {Name}"
        },
        "Message": {
          "Size": 13,
          "Color": "white"
        },
        "Formatting": {
          "Console": "{Title} {Name}: {Message}",
          "Chat": "<color=black>|D</color><color=white>O</color><color=black>N|</color> {Name}: {Message}"
        }
      }
    ]

    I wish to do something like:
    IF player is VIP 2 and DONOR
    then show the 2 tags
    and If player is VIP1 and DONOR
    then show the 2 tags too
    if player is anything and MODERATOR
    then show MOD tag and any other tag
     
  13. @StreetDog your Priority are wrong
    Code:
    [
      {
        "GroupName": "default",
        "Priority": 6,
        "Title": {
          "Hidden": false,
          "HideIfNotHighestPriority": true,
          "Size": 14,
          "Color": "#9EC326",
          "Text": "[USER]",
          "InheritSize": false,
          "InheritColor": false
        },
        "PlayerName": {
          "Size": 14,
          "Color": "#9EC326",
          "ClanTagFormat": "[{Clan}] {Name}"
        },
        "Message": {
          "Size": 13,
          "Color": "white"
        },
        "Formatting": {
          "Console": "{Title} {Name}: {Message}",
          "Chat": "{Name}: {Message}"
        }
      },
        {
        "GroupName": "admin",
        "Priority": 0,
        "Title": {
          "Hidden": true,
          "HideIfNotHighestPriority": true,
          "Size": 13,
          "Color": "#9EC326",
          "Text": "[ADMIN]",
          "InheritSize": false,
          "InheritColor": false
        },
        "PlayerName": {
          "Size": 14,
          "Color": "#9EC326",
          "ClanTagFormat": "[{Clan}] {Name}"
        },
        "Message": {
          "Size": 13,
          "Color": "white"
        },
        "Formatting": {
          "Console": "{Title} {Name}: {Message}",
          "Chat": "<color=orange>[{Level}]</color> {Name}: {Message}"
        }
      },
        {
        "GroupName": "moderator",
        "Priority": 1,
        "Title": {
          "Hidden": false,
          "HideIfNotHighestPriority": true,
          "Size": 14,
          "Color": "#9EC326",
          "Text": "[MOD]",
          "InheritSize": false,
          "InheritColor": false
        },
        "PlayerName": {
          "Size": 14,
          "Color": "#9EC326",
          "ClanTagFormat": "[{Clan}] {Name}"
        },
        "Message": {
          "Size": 14,
          "Color": "white"
        },
        "Formatting": {
          "Console": "{Title} {Name}: {Message}",
          "Chat": "<color=#4169E1>|M✪Đ|</color> {Name}: {Message}"
        }
      },
        {
        "GroupName": "member",
        "Priority": 5,
        "Title": {
          "Hidden": false,
          "HideIfNotHighestPriority": true,
          "Size": 14,
          "Color": "#9EC326",
          "Text": "[MEMBER]",
          "InheritSize": false,
          "InheritColor": false
        },
        "PlayerName": {
          "Size": 14,
          "Color": "#9EC326",
          "ClanTagFormat": "[{Clan}] {Name}"
        },
        "Message": {
          "Size": 13,
          "Color": "white"
        },
        "Formatting": {
          "Console": "{Title} {Name}: {Message}",
          "Chat": "<color=orange>|☑|</color> {Name}: {Message}"
        }
      },
        {
        "GroupName": "VIP1",
        "Priority": 2,
        "Title": {
          "Hidden": false,
          "HideIfNotHighestPriority": false,
          "Size": 14,
          "Color": "#9EC326",
          "Text": "[VIP1]",
          "InheritSize": false,
          "InheritColor": false
        },
        "PlayerName": {
          "Size": 14,
          "Color": "#9EC326",
          "ClanTagFormat": "[{Clan}] {Name}"
        },
        "Message": {
          "Size": 13,
          "Color": "white"
        },
        "Formatting": {
          "Console": "{Title} {Name}: {Message}",
          "Chat": "<color=orange>|♚|</color> {Name}: {Message}"
        }
        },
        {
        "GroupName": "VIP2",
        "Priority": 3,
        "Title": {
          "Hidden": false,
          "HideIfNotHighestPriority": false,
          "Size": 14,
          "Color": "#9EC326",
          "Text": "[VIP2]",
          "InheritSize": false,
          "InheritColor": false
        },
        "PlayerName": {
          "Size": 14,
          "Color": "#9EC326",
          "ClanTagFormat": "[{Clan}] {Name}"
        },
        "Message": {
          "Size": 13,
          "Color": "white"
        },
        "Formatting": {
          "Console": "{Title} {Name}: {Message}",
          "Chat": "<color=orange>|♛|</color> {Name}: {Message}"
        }
        },
        {
        "GroupName": "donor",
        "Priority": 4,
        "Title": {
          "Hidden": false,
          "HideIfNotHighestPriority": false,
          "Size": 14,
          "Color": "#9EC326",
          "Text": "[DONOR]",
          "InheritSize": false,
          "InheritColor": false
        },
        "PlayerName": {
          "Size": 14,
          "Color": "#9EC326",
          "ClanTagFormat": "[{Clan}] {Name}"
        },
        "Message": {
          "Size": 13,
          "Color": "white"
        },
        "Formatting": {
          "Console": "{Title} {Name}: {Message}",
          "Chat": "<color=black>|D</color><color=white>O</color><color=black>N|</color> {Name}: {Message}"
        }
      }
    ]
     

  14. thank you very much

    but This not work well.
    When user is VIP2 and MOD only shows MOD tag
    :(


    ---
    EDIT,
    I figured Out
    swaping the {title} by tag on console
     
    Last edited by a moderator: Nov 7, 2016
  15. Cheers mate, appreciated.
     
  16. hee all mute is not working on the chat i and me self in he group and user but nothing works grant group owner betterchat.mute is working but the mute in chat is working
     
  17. same here really need to mute someone in chat no other mute plugins on just betterchat hope this can be fixed soon
     
  18. Is it possible to use 2 custom replacement words, which change depending on the input word?
     
  19. LaserHydra can you add the possibility to use permissions for each group?
     
  20. What do you need that for?