BetterChat

Moved

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

4.9898/5, 98 likes
  1. Oh damn I must've been tired . Good thing the permissions we're very similar. Sorry about that.
     
  2. This is what's happening in the console when I try to load, or in this case reload, BetterChat:
    Code:
    > oxide.reload BetterChat
    [Oxide] 2:25 PM [Info] BetterChat was compiled successfully in 1701ms
    [Oxide] 2:25 PM [Info] Loaded plugin Better Chat v3.0.2 by LaserHydra
    [Oxide] 2:25 PM [Error] Failed to initialize plugin 'BetterChat v3.0.2' (InvalidOperationException: out of sync)
    [Oxide] 2:25 PM [Debug]   at System.Collections.Generic.Dictionary`2+Enumerator[System.String,System.Object].VerifyState () [0x00000] in <filename unknown>:0
      at System.Collections.Generic.Dictionary`2+Enumerator[System.String,System.Object].MoveNext () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChat.Loaded () [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
    [Oxide] 2:25 PM [Info] Unloaded plugin Better Chat v3.0.2 by LaserHydra
    [Oxide] 2:25 PM [Info] No previous version to rollback plugin: BetterChat
    And this is my config file:
    Code:
    {
      "headadmin": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "green",
        "Permission": "color_headadmin",
        "Rank": 5,
        "TextColor": "silver",
        "Title": "[HA]",
        "TitleColor": "red"
      },
      "admin": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "lime",
        "Permission": "color_admin",
        "Rank": 4,
        "TextColor": "white",
        "Title": "[A]",
        "TitleColor": "red"
      },
      "mod": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "lime",
        "Permission": "color_mod",
        "Rank": 3,
        "TextColor": "white",
        "Title": "[M]",
        "TitleColor": "yellow"
      },
      "donor": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "lime",
        "Permission": "color_donor",
        "Rank": 2,
        "TextColor": "white",
        "Title": "[D]",
        "TitleColor": "green"
      },
      "player": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "lime",
        "Permission": "color_player",
        "Rank": 1,
        "TextColor": "white",
        "Title": "[P]",
        "TitleColor": "lime"
      }
    }
    There haven't been any problems with this config before last week updates of Rust/Oxide. But now it just refuse to start up.
    Yes, it does work if I remake the config to the original config file made by the plugin itself. But not with a custom one, like mine.
     
  3. Could you maybe try using the standard one and then step my step customizing it and trying again after every step to find out what causes this? Would help me alot also as I am not at home for 2 weeks.
     
  4. I will do what I can. The server seems to crash every now and then only when I'm reloading BetterChat. And I don't know why...

    EDIT #1!
    Only changed the "owner" to "headadmin".
    Console:
    Code:
    > oxide.reload BetterChat
    [Oxide] 3:01 PM [Info] BetterChat was compiled successfully in 1735ms
    [Oxide] 3:01 PM [Info] Loaded plugin Better Chat v3.0.2 by LaserHydra
    [Oxide] 3:01 PM [Error] Failed to initialize plugin 'BetterChat v3.0.2' (InvalidOperationException: out of sync)
    [Oxide] 3:01 PM [Debug]   at System.Collections.Generic.Dictionary`2+Enumerator[System.String,System.Object].VerifyState () [0x00000] in <filename unknown>:0
      at System.Collections.Generic.Dictionary`2+Enumerator[System.String,System.Object].MoveNext () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChat.Loaded () [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
    [Oxide] 3:01 PM [Info] Unloaded plugin Better Chat v3.0.2 by LaserHydra
    [Oxide] 3:01 PM [Info] No previous version to rollback plugin: BetterChat
    Config:
    Code:
    {
      "mod": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "lime",
        "Permission": "color_mod",
        "Rank": 2,
        "TextColor": "white",
        "Title": "[Mod]",
        "TitleColor": "yellow"
      },
      "headadmin": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "lime",
        "Permission": "color_headadmin",
        "Rank": 3,
        "TextColor": "white",
        "Title": "[Owner]",
        "TitleColor": "orange"
      },
      "player": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "lime",
        "Permission": "color_player",
        "Rank": 1,
        "TextColor": "white",
        "Title": "[Player]",
        "TitleColor": "lime"
      }
    }
    EDIT #2!
    Problem founded!! If there is not a color group called "owner" it will crash the plugin.
    Did upload my own config and changed the color group "headadmin" to "owner" and it works again.
     
    Last edited by a moderator: Aug 15, 2015
  5. so i got this chat and then underneath its does it again but without the prefix or anything how do i disable it ? e.g.
    [Owner] Brendan776 : hey guys
    Brendan776: hey guys

    how do i disable the bottom one from appearing ? and seeing literally just the very first one ? im new to hosting my own server and its something ive wated to do for a while, just didnt think i would have this much issues, yes im a noob i know
     
  6. Did you change anything at the plugin file itself or do you have another chat plugin?
    [DOUBLEPOST=1439799400][/DOUBLEPOST]
    Good job. Ill see what I can do to fix that.
     
  7. its ok i got a buddy to fix it for me, not sure when he did to fix it and no i didnt have another plugin with it
     
  8. Hello. I have this problem that needs to be fixed: http://1.1m.yt/B6xASraj7.png how can i fix this error? permissions and config file is good i think.
     
  9. I got a question oxide.grant group GROUPNAME SET_PERMISSION???
    What is permission?
    can you tell me
     
  10. Code:
    {
      "mod": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "lime",
        "Permission": "color_mod", // THIS
        "Rank": 2,
        "TextColor": "white",
        "Title": "[Mod]",
        "TitleColor": "yellow"
      },
      "owner": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "lime",
        "Permission": "color_owner", // THIS
        "Rank": 3,
        "TextColor": "white",
        "Title": "[Owner]",
        "TitleColor": "orange"
      },
      "player": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "lime",
        "Permission": "color_player", // THIS
        "Rank": 1,
        "TextColor": "white",
        "Title": "[Player]",
        "TitleColor": "lime"
      }
    }[/code 9
    [DOUBLEPOST=1439927665][/DOUBLEPOST]
    show me your config please
     
  11. I recreating BetterChat.cfg file and it fixed it self.
     
  12. Hey, how you wrote to me based theme ..

    Can I please have a word filter that would collaborate with the Jail plugin? Or just to be used as a result of the command+name? :)
     
  13. How would you get symbols in the title?

    eg. ★PlayerName: Message

    won't let me save the cfg with ★ in it, and i've &#9733; with no success

    Cheers
     
  14. I'll add some symbols to the plugin, means you will be able to for example type in {STAR} and it will be replaced with a ★
    Maybe try changing the encoding to Unicode as those are Unicode symbols.
     
  15. Save the file as UTF-8
     
  16. the command /colors isn't working for me :( And i do not know how to work the chat feature
     
  17. What chat feature?
     
  18. Cant you talk in colors?
     
  19. Just simply follow the steps on the Overview, edit your configuration file to the colors that you want, add more groups and stuff...