1. 1 - You should really ask that in the correct forum as that is a question related to BetterChat.
    2 - all though he currently doesnt have explicit instructions that detail how to change this he has included a copy of the default config file on the main page and reading previous pages you will find conversations regarding that.

    Code:
    "CustomReplacement": "Unicorn",
     
  2. Handy plugin just wondered if you could make this plugin NOT affect admin.cheers
     
  3. Just wondering why you'd want this? Admins insulting players who can't insult back?
     
  4. I found that when I want to remind people which words are banned and why -I can't even type the word in myself as an example . Maybe a command to show banned words ?
     
    Last edited by a moderator: Dec 20, 2015
  5. Maybe add that to a custom helptext or rules?
     
  6. Of course that's a good idea cheers laser!
     
  7. [Oxide] 6:28 PM [Error] Failed to call hook 'OnPlayerChat' on plugin 'ChatGuard v1.1.1' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 6:28 PM [Debug] at Oxide.Plugins.ChatGuard.GetFilteredMesssage (System.String msg) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ChatGuard.OnPlayerChat (.Arg arg) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ChatGuard.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
     
  8. Change:
    Code:
    object OnPlayerChat(ConsoleSystem.Arg arg)
    To:
    Code:
    private object OnPlayerChat(ConsoleSystem.Arg arg)
     
  9. @LaserHydra, can you add "ReplaceFullWord" parameter? It's very important, because sometimes ChatGuard blocks good words (especially the Russian language). Thnx
     
  10. Methods not having a encapsulation tag means they are private...
     
  11. @up Yes, but when I added "private", plugin began to work...
     
  12. I guess it was just that the plugin was reloaded when editing it.
     
  13. LaserHydra updated Chat Guard with a new update entry:

    2.0.0

     
  14. Code:
    (22:46:47) | [Oxide] 11:44 AM [Error] Failed to call hook 'OnPlayerChat' on plugin 'ChatGuard v2.0.0' (InvalidCastException: Value is not a convertible object: System.Collections.Generic.List`1[System.String] to System.Collections.Generic.List`1[[System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
     
  15. Reload the plugin once, that should fix it.
     
  16. Well, works fine, but it duplicates messages, first comes bad word, then *** for bad word.
     
  17. This does not work with BetterChat or Chat Handler
     
  18. Don't have one.
     
  19. Could you provide a list of your plugins?