BetterChat

Moved

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

4.9898/5, 98 likes
  1. Code:
    [Oxide] 12:31 AM [Debug] Preparing compilation
    [Oxide] 12:31 AM [Debug] Adding plugin to compilation: BetterChat
    [Oxide] 12:31 AM [Debug] Probably done preparing compilation: BetterChat
    [Oxide] 12:31 AM [Debug] Done preparing compilation: BetterChat
    [Oxide] 12:31 AM [Info] BetterChat was compiled successfully in 2089ms
    [Oxide] 12:31 AM [Info] Loaded plugin Better Chat v3.2.0 by LaserHydra
    [Oxide] 12:31 AM [Error] Failed to initialize plugin 'BetterChat v3.2.0' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 12:31 AM [Debug]   at Oxide.Core.Libraries.Permission.GrantGroupPermission (System.String groupname, System.String perm, Oxide.Core.Plugins.Plugin owner) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChat.Loaded () [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.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
    [Oxide] 12:31 AM [Info] Unloaded plugin Better Chat v3.2.0 by LaserHydra
    [Oxide] 12:31 AM [Info] No previous version to rollback plugin: BetterChat
    Please help, all I get is this error! And the plugin won't work. :(
     
  2. Could you give me your config file?
     
  3. Okay, but it's just the regular Config file. I literately just uploaded BetterChat, but it keeps refusing to work. (as seen in the debug)
     

    Attached Files:

  4. Your Permissions file is propably corrupt then.
     
  5. Okay, I'm new to the server scene, could you tell me where would I find that "Permission file"? Thanks.
     
  6. Its in your Data folder
     
  7. Wulf

    Wulf Community Admin

    It's not corrupt. ItsMacky is using an older development snapshot that had a bug in it with the new perm storage, but the newer builds are fixed now.
     
  8. How can I solve him, thank you...
     

    Attached Files:

  9. I would need the full error including the debug block and your config.
     
  10. better chat was working fine before server restart and now im getting :
    Code:
    [Oxide] 9:11 PM [Debug]   at Oxide.Core.Libraries.Permission.UserHasPermission (System.String userid, System.String perm) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChat.GetPlayerFormatting (.BasePlayer player) [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 
     
  11. Wulf

    Wulf Community Admin

    Update Oxide.
     
  12. I have no idea what I'm doing, I'm changing the color, but It doesn't change ingame >.> Can you help?

    Code:
    SetConfig("player", "Formatting", "{Title} {Name}<color={TextColor}>:</color> {Message}");
                SetConfig("player", "ConsoleFormatting", "{Title} {Name}: {Message}");
                SetConfig("player", "Permission", "color_player");
                SetConfig("player", "Title", "[Survivor]");
                SetConfig("player", "TitleColor", "brown");
                SetConfig("player", "NameColor", "grey");
                SetConfig("player", "TextColor", "white");
                SetConfig("player", "Rank", 1);            SetConfig("mod", "Formatting", "{Title} {Name}<color={TextColor}>:</color> {Message}");
                SetConfig("mod", "ConsoleFormatting", "{Title} {Name}: {Message}");
                SetConfig("mod", "Permission", "color_mod");
                SetConfig("mod", "Title", "[Mod]");
                SetConfig("mod", "TitleColor", "yellow");
                SetConfig("mod", "NameColor", "orange");
                SetConfig("mod", "TextColor", "white");
                SetConfig("mod", "Rank", 2);            SetConfig("owner", "Formatting", "{Title} {Name}<color={TextColor}>:</color> {Message}");
                SetConfig("owner", "ConsoleFormatting", "{Title} {Name}: {Message}");
                SetConfig("owner", "Permission", "color_owner");
                SetConfig("owner", "Title", "[Gabe]");
                SetConfig("owner", "TitleColor", "red");
                SetConfig("owner", "NameColor", "green");
                SetConfig("owner", "TextColor", "white");
                SetConfig("owner", "Rank", 3);
    And any more detailed/video on how to add more classes?
     
  13. Don't change it in the plugin file. Oxide Plugins give you config files for that.
     
  14. anyway to disable name colours? thanks
     
  15. LaserHydra updated Better Chat with a new update entry:

    3.2.1

     
  16. Just simply set the name color to white...
     
  17. LaserHydra updated Better Chat with a new update entry:

    3.2.11

     
  18. No, I'd like the default Name Colours. Y'know the light blue but still keep the Prefix.
     
  19. So just change the color to these ;)
     
  20. Yeah, would do but I've no idea what the default colour is. Do you know what it's called? Currently all my name colours are orange but need them default colour. Basically is there anyway of just disabling the the name colour (not the prefix) in the plugin or the .JSON? Thanks.