Better Chat

Customize chat colors, formatting, prefix and more

Total Downloads: 19,391 - First Release: Apr 21, 2015 - Last Update: May 26, 2017

4.98837/5, 86 likes
  1. LaserHydra

    LaserHydra Grenade Master Plugin Developer

    Groups file was moved as mentioned in the update log. It is .../oxide/data/BetterChat.json now.
     
  2. ok works but i can not see any group tags in front of players i added my self to admin chat group and it wont show any tag before my name i removed HWClans to test it and still also right now HWClans wont work in chat BetterChat will over wright it
     
  3. Vlad-00003

    Vlad-00003 Shack Builder Plugin Developer

    [QUOTE="LaserHydra, post: 283180, member: 53411"][/QUOTE]Hey, I got a question - what about ignore? Do you have any plans? Using Ignore API for example.... Cos this is the thing I'd Like to see in BC =3
     
  4. Pingamisil

    Pingamisil Scavenger

    After 5.0.0 update need i to delete the data folder or something? Ty
     
  5. XAйBAH

    XAйBAH Scavenger

    Can you add messages in player console?
    UP:
    To get this:
    upload_2017-1-10_23-14-5.png
    Some thing like this needed:
    Code (Text):

    //  Log message to console
                Console.ForegroundColor = ConsoleColor.Green;
                Console.WriteLine($"{player.Id}/{player.Name}: {message}");

                //  Log message to file
                Console.ResetColor();
                ConVar.Server.Log("Log.Chat.txt", $"{player.Id}/{player.Name}: {message}");
     
    isnot saved on Log.Log.txt but there is in Log.Chat.txt(
     
    Last edited: Jan 10, 2017
  6. Saytek_

    Saytek_ Wood Hoarder

    (Deleted post)
     
    Last edited: Jan 9, 2017
  7. opper007

    opper007 Wood Hoarder

    oke i try every think but its dont working for me i remove the map for the data i reload every plugins
    and the data json and config replace the groups inside data json

    but its not working
    who can clean it for me


    Code (Text):
    [
    {
        "GroupName": "Part",
        "Priority": 3,
        "Title": {
          "Hidden": false,
          "HideIfNotHighestPriority": true,
          "Size": 15,
          "Color": "#ffd700",
          "Text": "[Parts]",
          "InheritSize": false,
          "InheritColor": false
        },
        "PlayerName": {
          "Size": 15,
          "Color": "green",
          "ClanTagFormat": "[{Clan}] {Name}"
        },
        "Message": {
          "Size": 15,
          "Color": "white"
        },
        "Formatting": {
          "Console": "{Title} {Name}: {Message}",
          "Chat": "{Title} {Name}: {Message}"
        }
      },
      {
        "GroupName": "default",
        "Priority": 4,
        "Title": {
          "Hidden": false,
          "HideIfNotHighestPriority": true,
          "Size": 15,
          "Color": "#269ec3",
          "Text": "[Player]",
          "InheritSize": false,
          "InheritColor": false
        },
        "PlayerName": {
          "Size": 15,
          "Color": "#DCFF66",
          "ClanTagFormat": "[{Clan}] {Name}"
        },
        "Message": {
          "Size": 15,
          "Color": "white"
        },
        "Formatting": {
          "Console": "{Title} {Name}: {Message}",
          "Chat": "{Title} {Name}: {Message}"
        }
      },
      {
        "GroupName": "v.i.p",
        "Priority": 3,
        "Title": {
          "Hidden": false,
          "HideIfNotHighestPriority": true,
          "Size": 15,
          "Color": "#269ec3",
          "Text": "[V.i.P]",
          "InheritSize": false,
          "InheritColor": false
        },
        "PlayerName": {
          "Size": 15,
          "Color": "green",
          "ClanTagFormat": "[{Clan}] {Name}"
        },
        "Message": {
          "Size": 15,
          "Color": "white"
        },
        "Formatting": {
          "Console": "{Title} {Name}: {Message}",
          "Chat": "{Title} {Name}: {Message}"
        }
      },
      {
        "GroupName": "Owner",
        "Priority": 0,
        "Title": {
          "Hidden": false,
          "HideIfNotHighestPriority": true,
          "Size": 15,
          "Color": "#8b0000",
          "Text": "[Santa]",
          "InheritSize": false,
          "InheritColor": false
        },
        "PlayerName": {
          "Size": 15,
          "Color": "#dcff66",
          "ClanTagFormat": "[{Clan}] {Name}"
        },
        "Message": {
          "Size": 15,
          "Color": "white"
        },
        "Formatting": {
          "Console": "{Title} {Name}: {Message}",
          "Chat": "{Title} {Name}: {Message}"
        }
      },
      {
        "GroupName": "Silver",
        "Priority": 3,
        "Title": {
          "Hidden": false,
          "HideIfNotHighestPriority": true,
          "Size": 15,
          "Color": "#c0c0c0",
          "Text": "[Silver]",
          "InheritSize": false,
          "InheritColor": false
        },
        "PlayerName": {
          "Size": 15,
          "Color": "green",
          "ClanTagFormat": "[{Clan}] {Name}"
        },
        "Message": {
          "Size": 15,
          "Color": "white"
        },
        "Formatting": {
          "Console": "{Title} {Name}: {Message}",
          "Chat": "{Title} {Name}: {Message}"
        }
      },{
        "GroupName": "TheLegend",
        "Priority": 3,
        "Title": {
          "Hidden": false,
          "HideIfNotHighestPriority": true,
          "Size": 15,
          "Color": "#2f4f4f",
          "Text": "[Thelegend]",
          "InheritSize": false,
          "InheritColor": false
        },
        "PlayerName": {
          "Size": 15,
          "Color": "green",
          "ClanTagFormat": "[{Clan}] {Name}"
        },
        "Message": {
          "Size": 15,
          "Color": "white"
        },
        "Formatting": {
          "Console": "{Title} {Name}: {Message}",
          "Chat": "{Title} {Name}: {Message}"
        }
      },
      {
        "GroupName": "Legend",
        "Priority": 3,
        "Title": {
          "Hidden": false,
          "HideIfNotHighestPriority": true,
          "Size": 15,
          "Color": "#5090bc",
          "Text": "[Legend]",
          "InheritSize": false,
          "InheritColor": false
        },
        "PlayerName": {
          "Size": 15,
          "Color": "green",
          "ClanTagFormat": "[{Clan}] {Name}"
        },
        "Message": {
          "Size": 15,
          "Color": "white"
        },
        "Formatting": {
          "Console": "{Title} {Name}: {Message}",
          "Chat": "{Title} {Name}: {Message}"
        }
      },
      {
        "GroupName": "Gold",
        "Priority": 3,
        "Title": {
          "Hidden": false,
          "HideIfNotHighestPriority": true,
          "Size": 15,
          "Color": "#ffd700",
          "Text": "[Gold]",
          "InheritSize": false,
          "InheritColor": false
        },
        "PlayerName": {
          "Size": 15,
          "Color": "green",
          "ClanTagFormat": "[{Clan}] {Name}"
        },
        "Message": {
          "Size": 15,
          "Color": "white"
        },
        "Formatting": {
          "Console": "{Title} {Name}: {Message}",
          "Chat": "{Title} {Name}: {Message}"
        }
      },
      {
        "GroupName": "Bronze",
        "Priority": 3,
        "Title": {
          "Hidden": false,
          "HideIfNotHighestPriority": true,
          "Size": 15,
          "Color": "#b97f45",
          "Text": "[Bronze]",
          "InheritSize": false,
          "InheritColor": false
        },
        "PlayerName": {
          "Size": 15,
          "Color": "green",
          "ClanTagFormat": "[{Clan}] {Name}"
        },
        "Message": {
          "Size": 15,
          "Color": "white"
        },
        "Formatting": {
          "Console": "{Title} {Name}: {Message}",
          "Chat": "{Title} {Name}: {Message}"
        }
      },
      {
        "GroupName": "mod",
        "Priority": 1,
        "Title": {
          "Hidden": false,
          "HideIfNotHighestPriority": true,
          "Size": 15,
          "Color": "#3280cd",
          "Text": "[Elf]",
          "InheritSize": false,
          "InheritColor": false
        },
        "PlayerName": {
          "Size": 15,
          "Color": "green",
          "ClanTagFormat": "[{Clan}] {Name}"
        },
        "Message": {
          "Size": 15,
          "Color": "white"
        },
        "Formatting": {
          "Console": "{Title} {Name}: {Message}",
          "Chat": "{Title} {Name}: {Message}"
        }
      }
    ]
     
  8. LaserHydra

    LaserHydra Grenade Master Plugin Developer

    Why would you need that?
    --- Double Post Merged, Jan 9, 2017 ---
    What exatly doesn't work with the last group?
    --- Double Post Merged, Jan 9, 2017 ---
    BetterChat 5.0 renamed some things in the datafile. You'd need to apply those changes to your old file before being able to use it.
     
  9. opper007

    opper007 Wood Hoarder

    oke what i need to replace
     
  10. Grzeniuuu

    Grzeniuuu Scavenger

    All works but how to add TagClan with HWClans...???
     
  11. LaserHydra

    LaserHydra Grenade Master Plugin Developer

    "PlayerName" with "Username"
    and
    "Formatting" with "Format"
    and
    "HideIfNotHighestPriority" with "HiddenIfNotPrimary"
    --- Double Post Merged, Jan 9, 2017 ---
    HWClans author has to add that to his plugin, you can tell him to look at BetterChat's API for that.
     
  12. Grzeniuuu

    Grzeniuuu Scavenger

    Ok, i tell him
     
  13. KalasRL

    KalasRL Wood Hoarder

    When I restart my server It sends my player back to all Groups, like Default/Owner/Admin I see the tag in my name, why is that, they all in different priority:

    Code (Text):
    [
      {
        "GroupName": "default",
        "Priority": 3,
        "Title": {
          "Text": "[Member]",
          "Color": "#269ec3",
          "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": "owner",
        "Priority": 0,
        "Title": {
          "Text": "[Owner]",
          "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}"
        }
      },
      {
        "GroupName": "admin",
        "Priority": 1,
        "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}"
        }
      },
      {
        "GroupName": "member+",
        "Priority": 2,
        "Title": {
          "Text": "[member+]",
          "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}"
        }
      }
    ]
     
  14. Félicie

    Félicie Naked Wanderer

    The tag are not appearing on my server either.

    I have even deleted my old config + data and reuploaded everything... Still it doesn't work.

    if i do /chat group list I can see the groups but the tags are not there.

    BetterChat.json :

    Code (Text):
    [
      {
        "GroupName": "default",
        "Priority": 0,
        "Title": {
          "Text": "",
          "Color": "#9EC326",
          "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": "red",
          "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": "[Modo]",
          "Color": "red",
          "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}"
        }
      }
    ]
     
  15. opper007

    opper007 Wood Hoarder

    tha

    oke i try every think now
    Code (Text):
    [
      {
        "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}"
        }
      }
    ]
    --- Double Post Merged, Jan 9, 2017 ---
    i have the same probleem no tag
     
  16. Félicie

    Félicie Naked Wanderer

    and when I want to give the modo group a new permission on another plugin, it tells me that the group doesn't exist... XD
     
  17. KalasRL

    KalasRL Wood Hoarder

    Guys I have an issue, It doesn't allow me to add myself to any of these group I made with the EXE file that on the first page:

    Code (Text):
    [
      {
        "GroupName": "Admin",
        "Priority": 1,
        "Title": {
          "Text": "[Admin]",
          "Color": "Red",
          "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": "Memeber",
        "Priority": 2,
        "Title": {
          "Text": "[Memeber]",
          "Color": "#0080FF",
          "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": "Memeber+",
        "Priority": 3,
        "Title": {
          "Text": "[Memeber+]",
          "Color": "#0080FF",
          "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": "Owner",
        "Priority": 0,
        "Title": {
          "Text": "[Owner]",
          "Color": "Red",
          "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}"
        }
      }
    ]
     
  18. LaserHydra

    LaserHydra Grenade Master Plugin Developer

    Have you reloaded the plugin after editing?
     
  19. KalasRL

    KalasRL Wood Hoarder

    I've done that before starting the server actually.
     
  20. Saytek_

    Saytek_ Wood Hoarder

    No possibility to see clan format in chat ? You remove the function ? What a pitty, why you removed the clan formating in the chat ?