BetterChat

Moved

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

4.9898/5, 98 likes
  1. Pretty much ye.. but care about commas and stuff.
     
  2. im not to sure how to add a group for VIP. Could you explain a bit please? =D
     
  3. I took it from the overview...
    Code:
    {
    "mod":{
       "ConsoleFormatting":"{Title} {Name}: {Message}",
       "Formatting":"{Title} {Name}<color={TextColor}>:</color> {Message}",
       "NameColor":"blue",
       "Permission":"color_mod",
       "Rank":3,
       "TextColor":"white",
       "Title":"[Mod]",
       "TitleColor":"yellow"
    },
    "owner":{
       "ConsoleFormatting":"{Title} {Name}: {Message}",
       "Formatting":"{Title} {Name}<color={TextColor}>:</color> {Message}",
       "NameColor":"blue",
       "Permission":"color_owner",
       "Rank":4,
       "TextColor":"white",
       "Title":"[Owner]",
       "TitleColor":"red"
    },
    "vip":{
       "ConsoleFormatting":"{Title} {Name}: {Message}",
       "Formatting":"{Title} {Name}<color={TextColor}>:</color> {Message}",
       "NameColor":"yellow",
       "Permission":"color_vip",
       "Rank":2,
       "TextColor":"white",
       "Title":"[V.I.P.]",
       "TitleColor":"orange"
    },
    "player":{
       "ConsoleFormatting":"{Title} {Name}: {Message}",
       "Formatting":"{Title} {Name}<color={TextColor}>:</color> {Message}",
       "NameColor":"blue",
       "Permission":"color_player",
       "Rank":1,
       "TextColor":"white",
       "Title":"[Player]",
       "TitleColor":"blue"
    },
    "WordFilter":{
       "Enabled":false,
       "FilterList":[
         "fuck",
         "bitch",
         "faggot"
       ]
    }
    }
     
  4. FEATURE request - AUTO CORRECT
    I want to be able to turn nasty words into works of art like "f**k" to "Boink!" with color, etc. :)

    Make it happen LaserHydra
     
  5. Right now the plugin has a chat Filter. Means its replaces the word with stars. I will add the possibillity to use a custom word for that
     
  6. do you know why there is no prefix shown at the server after i changed the prefix only and reloaded the plugin? everything works but not the prefixes.


    Code:
    {
      "mod": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "cyan",
        "Permission": "color_mod",
        "Rank": 2,
        "TextColor": "white",
        "Title": "[Mod]",
        "TitleColor": "yellow"
      },
      "comod": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "cyan",
        "Permission": "color_comod",
        "Rank": 2,
        "TextColor": "white",
        "Title": "[co-Mod]",
        "TitleColor": "red"
      },
      "owner": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "cyan",
        "Permission": "color_owner",
        "Rank": 3,
        "TextColor": "white",
        "Title": "",
        "TitleColor": "red"
      },
      "player": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "cyan",
        "Permission": "color_player",
        "Rank": 1,
        "TextColor": "white",
        "Title": "",
        "TitleColor": "cyan"
      },
      "vip": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "cyan",
        "Permission": "color_vip",
        "Rank": 1,
        "TextColor": "white",
        "Title": "[VIP]",
        "TitleColor": "orange"
      },
      "WordFilter": {
        "Enabled": false,
        "FilterList": [
          "fuck",
          "bitch",
          "faggot"
        ]
      }
    }
     
  7. you have only set it up for VIP, Mod and Co-Mod. Also for the others I suggest just removing {Title} from the formatting instead of making the Title empty.
     
  8. Yes i know but i only want to have the VIP, comod and mod a prefix. But they simply doesnt show up. i already added players to the group VIP and granted the group the color_vip permission but they just dont display it.
     
  9. Of course they don't you can not just change to ranks to SOMETHING. The Ranks are actual ranks. The Highest Value is the highest Rank. So if a player has two or more permissions it will pick the one with the highest Rank.
     
  10. omg thank you so much! i tried about 3 hours to fix it and the only problem where just 1 number -.- thanks very much anyway it solved it :D
     
  11. LaserHydra updated Better Chat with a new update entry:

    3.3.0

     
  12. BUG with 3.3.0

    [Oxide] 3:50 PM [Error] Failed to call hook 'OnPlayerChat' on plugin 'BetterChat v3.3.0' (ArgumentOutOfRangeException: Cannot be negative.
    Parameter name: length)
    [Oxide] 3:50 PM [Debug] at System.String.Substring (Int32 startIndex, Int32 length) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.BetterChat.OnPlayerChat (.Arg arg) [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 (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    [CHAT] Byter: I think we are good
     
  13. could you provide me with 1. Your condig and 2. the text which was sent
     
  14. I noticed that after updating the plugin, altering the "Player" color doesn't affect it. Remains vanilla (#5af) blue regardless. I removed the old config and reloaded a fresh one. Same result.
     
  15. [Oxide] 3:00 PM [Error] Failed to call hook 'OnPlayerChat' on plugin 'BetterChat v3.3.0' (ArgumentOutOfRangeException: Cannot be negative. Parameter name: length)
    [Oxide] 3:00 PM [Debug] at System.String.Substring (Int32 startIndex, Int32 length) [0x00000] in <filename unknown>:0 at Oxide.Plugins.BetterChat.OnPlayerChat (.Arg arg) [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 (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    [DOUBLEPOST=1445638481][/DOUBLEPOST]
    Code:
    {
      "AntiSpam": {
        "Enabled": false,
        "MaxCharacters": 124
      },
      "mod": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "#55aaff",
        "Permission": "color_mod",
        "Rank": 2,
        "TextColor": "white",
        "Title": "[Модератор]",
        "TitleColor": "#bd7537"
      },
      "owner": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "#a1ff46",
        "Permission": "color_owner",
        "Rank": 3,
        "TextColor": "white",
        "Title": "[Администратор]",
        "TitleColor": "#c64230"
      },
      "player": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "#a1ff46",
        "Permission": "color_player",
        "Rank": 1,
        "TextColor": "white",
        "Title": "[Игрок]",
        "TitleColor": "#a1ff46"
      },
      "WordFilter": {
        "CustomReplacement": "***",
        "Enabled": true,
        "FilterList": [
    "some word"
        ],
        "UseCustomReplacement": true
      }
    }
    [DOUBLEPOST=1445638529][/DOUBLEPOST]It occurs when player sends a message
     
  16. Think you can add clan support ?
    Code:
    GetClanOf(player:ulong|string|BasePlayer):string
    Returns the clan tag of a player's clan or null if the player is not a member of a clan.
     
  17. Same issue for me.
     
  18. Hi there. Sorry if typed bad as on mobile. I wanted to request if you could implement a check system regards the the new update here is why.
    I have used parenting in oxide to make permissions easier but now owners have 5 tags and only last 3 show. Could you add a master system, here is how it works. Using a new storage called ismaster (Example) if it's value is true then the highest ranked tag will only display eg owner over admin, if that value is false (Eg VIP or mvp) they will be added ignoring rank.
    That way a admin who is a mvp would say [admin] mvp name:
    7 don't know how your code works exactly but it doesn't seem to complicated as all its doing is picking the highest master group then adding any non masters all based on the oxide perms of player.

    If I need to give better example I will when home :)
     
  19. ok I have this config. Can some one tell me how to make some one VIP? I made a group called VIP but dont know how to assign it.


    {
    "mod":{
    "ConsoleFormatting":"{Title} {Name}: {Message}",
    "Formatting":"{Title} {Name}<color={TextColor}>:</color> {Message}",
    "NameColor":"blue",
    "Permission":"color_mod",
    "Rank":3,
    "TextColor":"white",
    "Title":"[Mod]",
    "TitleColor":"yellow"
    },
    "owner":{
    "ConsoleFormatting":"{Title} {Name}: {Message}",
    "Formatting":"{Title} {Name}<color={TextColor}>:</color> {Message}",
    "NameColor":"blue",
    "Permission":"color_owner",
    "Rank":4,
    "TextColor":"white",
    "Title":"[Owner]",
    "TitleColor":"red"
    },
    "vip":{
    "ConsoleFormatting":"{Title} {Name}: {Message}",
    "Formatting":"{Title} {Name}<color={TextColor}>:</color> {Message}",
    "NameColor":"yellow",
    "Permission":"color_vip",
    "Rank":2,
    "TextColor":"white",
    "Title":"[V.I.P.]",
    "TitleColor":"orange"
    },
    "player":{
    "ConsoleFormatting":"{Title} {Name}: {Message}",
    "Formatting":"{Title} {Name}<color={TextColor}>:</color> {Message}",
    "NameColor":"blue",
    "Permission":"color_player",
    "Rank":1,
    "TextColor":"white",
    "Title":"[Player]",
    "TitleColor":"blue"
    },
    "WordFilter":{
    "Enabled":false,
    "FilterList":[
    "fuck",
    "bitch",
    "faggot"
    ]
    }
    }
     
  20. @Dead Skin Mask Did you create a oxide permission group named vip?

    example: oxide.group add vip

    then: oxide.usergroup add nais_one vip


    end