BetterChat

Moved

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

4.9898/5, 98 likes
  1. I was doing exactly like that and didn't work. But now, all of sudden, it's working. I don't know why, but it is :D
     
  2. So it seems like me blaming the Oxide group permission system wasn't the correct step.
    I used the BetterChat plugin for testing of it. Made a color permission for every group I have.

    My groups are in ranking order: Owner, Head Admin, Admin, Moderator, Donor, Player. Same with the color permission config. For some reason the owner config is added to my admin group automatically after every restart of the server. The only ranks that gets the correct permissions are Moderator and Player.
     
  3. HOW does this plugin keep forcing [Owner] before a name when I have the config set as follows:
    Code:
    {
      "owner": {
        "NameColor": "orange",
        "Permission": "color_owner",
        "Prefix": "[Admin]",
        "PrefixColor": "orange",
        "TextColor": "white",
        "Rank": 3
      },
      "mod": {
        "NameColor": "lime",
        "Permission": "color_mod",
        "Prefix": "[Mod]",
        "PrefixColor": "yellow",
        "TextColor": "white",
        "Rank": 2
      },
      "player": {
        "NameColor": "lime",
        "Permission": "color_player",
        "Prefix": "[Player]",
        "PrefixColor": "lime",
        "TextColor": "white",
        "Rank": 1
      }
    }
     
    Last edited by a moderator: Jul 31, 2015
  4. After editing the config file you have to save it and reload the plugin "oxide.reload BetterChat" in console.
     
  5. it wont show me if im owner or mod?
     
  6. I validated I do oxide.reload BetterChat nothing happens. I still have my Owner Tag and I want to see MVP. I change the owner prefix to O and back to owner and that changes fine, I even changed the color and it works but not when I try moving myself to mvp. I do oxide.usergroup add user mvp
    Code:
    {
        "mod": {
            "ConsoleFormatting": "{Title} {Name}: {Message}",
            "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
            "NameColor": "lime",
            "Permission": "color_mod",
            "Rank": 4,
            "TextColor": "white",
            "Title": "[Mod]",
            "TitleColor": "yellow"
        },
        "owner": {
            "ConsoleFormatting": "{Title} {Name}: {Message}",
            "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
            "NameColor": "#3366b0",
            "Permission": "color_owner",
            "Rank": 5,
            "TextColor": "white",
            "Title": "[Owner]",
            "TitleColor": "#3366b0"
        },
        "donor": {
            "ConsoleFormatting": "{Title} {Name}: {Message}",
            "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
            "NameColor": "teal",
            "Permission": "color_donor",
            "Rank": 2,
            "TextColor": "white",
            "Title": "[Donor]",
            "TitleColor": "teal"
        },
        "mvp": {
            "ConsoleFormatting": "{Title} {Name}: {Message}",
            "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
            "NameColor": "lime",
            "Permission": "color_mvp",
            "Rank": 3,
            "TextColor": "white",
            "Title": "[mvp]",
            "TitleColor": "lime"
        },
        "player": {
            "ConsoleFormatting": "{Title} {Name}: {Message}",
            "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
            "NameColor": "#5d8ed5",
            "Permission": "color_player",
            "Rank": 1,
            "TextColor": "white",
            "Title": "",
            "TitleColor": "lime"
        }
    }
     
    Last edited by a moderator: Jul 31, 2015
  7. yeah but the group need to have the permission "color_mvp" so "oxide.grant group mvp color_mvp"
     
  8. Forgot to mention that, I have done that many many times.

    When I do oxide.reload BetterChat it does nothing to the chat because I still have the owner prefix for some reason.
     
    Last edited by a moderator: Jul 31, 2015
  9. Me too, and now I get the following error in console:

    Code:
    [Oxide] 10:08 PM [Error] Failed to call hook 'Loaded' on plugin 'Better Chat' (InvalidOperationException: out of sync)
    [Oxide] 10:08 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 
     
  10. Wulf

    Wulf Community Admin

    Which build of Oxide are you using? You can check by using "version" in the console or RCON.
     
  11. Oxide Version: 2.0.1228, Rust Protocol: 1301
    [DOUBLEPOST=1438797132,1438641481][/DOUBLEPOST]Bumping my last post, I seem to get a similar error trying to use any sort of titles plugin, regardless of how I load it.
    [DOUBLEPOST=1438798357][/DOUBLEPOST]Seems BetterChat automatically forces the permission color_owner to the admin group in Oxide groups. Can't use this for now.
     
  12. Wulf

    Wulf Community Admin

    The error appears to be an error with this plugin. If you are having errors with other plugins, I'd recommend posting in the thread for those.
     
  13. PLEASE UPDATE TO NEWESR RUST
     
  14. Wulf

    Wulf Community Admin

    Please do not post in all caps. If you could provide any details as to what isn't working, errors, etc; that would help.
     
  15. erm how do i do this wulf ? sorry about that , basiclly it just isnt working ill look into why gimme a sec
    [DOUBLEPOST=1438888375][/DOUBLEPOST][Oxide] 8:12 PM [Info] BetterChat was compiled successfully in 1712ms
    [Oxide] 8:12 PM [Info] Loaded plugin Better Chat v3.0.2 by LaserHydra
    [Oxide] 8:12 PM [Error] Failed to initialize plugin BetterChat (InvalidOperationException: out of sync)
    [Oxide] 8:12 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] 8:12 PM [Info] Unloaded plugin Better Chat v3.0.2 by LaserHydra
    [Oxide] 8:12 PM [Info] No previous version to rollback plugin: BetterChat
     
  16. looks like something is wrong with the config. Could you show me your config?
     
  17. Code:
    {
      "manager": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "#5af",
        "Permission": "color_mod",
        "Rank": 2,
        "TextColor": "#add8e6ff",
        "Title": "[Radon Manager]",
        "TitleColor": "cyan"
      },
      "owner": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "#5af",
        "Permission": "color_owner",
        "Rank": 3,
        "TextColor": "#add8e6ff",
        "Title": "[Radon Owner]",
        "TitleColor": "cyan"
      },
      "admin": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "#5af",
        "Permission": "color_admin",
        "Rank": 5,
        "TextColor": "#add8e6ff",
        "Title": "[Radon Admin]",
        "TitleColor": "cyan"
      },
      "vip": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "#5af",
        "Permission": "color_vip",
        "Rank": 4,
        "TextColor": "#add8e6ff",
        "Title": "[Radon Vip]",
        "TitleColor": "#EE5AFB"
      },
      "vip+": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "#5af",
        "Permission": "color_vip+",
        "Rank": 9,
        "TextColor": "#add8e6ff",
        "Title": "[Radon Vip+]",
        "TitleColor": "#EE5AFB"
      },
      "vip++": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "#5af",
        "Permission": "color_vip++",
        "Rank": 5,
        "TextColor": "#add8e6ff",
        "Title": "[Radon Vip++]",
        "TitleColor": "#EE5AFB"
      },
      "co-owner": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "#5af",
        "Permission": "color_surge",
        "Rank": 8,
        "TextColor": "#add8e6ff",
        "Title": "[Radon Co-Owner]",
        "TitleColor": "cyan"
      },
      "player": {
        "ConsoleFormatting": "{Title} {Name}: {Message}",
        "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
        "NameColor": "#5af",
        "Permission": "color_player",
        "Rank": 1,
        "TextColor": "#add8e6ff",
        "Title": "[Radon Player]",
        "TitleColor": "#5af"
      }
    }
     
    Last edited by a moderator: Aug 6, 2015
  18. try removing the + in the titles
     
  19. i tried deleting my config then readding the plugin
     
  20. and? did it work?