BetterChatMute

Moved

Total Downloads: 2,515 - First Release: Jan 9, 2017 - Last Update: Jan 23, 2018

5/5, 10 likes
  1. This is not the support thread of the WordFilter plugin ;)
     
  2. Code:
    13:16 [Error] Failed to call hook 'OnBetterChat' on plugin 'BetterChatMute v1.0.7' (InvalidCastException: Cannot cast from source type to destination type.)
    13:16 [Stacktrace]   at Oxide.Plugins.BetterChatMute.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
    13:16 [Error] Failed to call hook 'OnBetterChat' on plugin 'BetterChatMute v1.0.7' (InvalidCastException: Cannot cast from source type to destination type.)
    13:16 [Stacktrace]   at Oxide.Plugins.BetterChatMute.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0 
     
  3. when people talk this spamms in console

    Failed to call hook 'OnBetterChat' on plugin 'BetterChatMute v1.0.6' (InvalidCastException: Cannot cast from source type to destination type.)
     
  4. Wulf

    Wulf Community Admin

    You're using an old version of this plugin.
     
  5. hi how de i remove permissions of a player?
     
  6. Wulf

    Wulf Community Admin

  7. plugin unload with error but another server loaded and also doesnot work - muted players can talk
     

    Attached Files:

  8. Wulf

    Wulf Community Admin

    I see a JSON error, which would imply an issue with your config or data for the plugin.
     
  9. solved thanks
     
  10. Please add word filter for auto mute players who say bad words.
     
  11. Failed to call hook 'OnBetterChat' on plugin 'BetterChatMute v1.0.7' (InvalidCastException: Cannot cast from source type to destination type.)
     
  12. getting this whenever someone types in chat
    (20:01:14) | Failed to call hook 'OnBetterChat' on plugin 'BetterChatMute v1.0.7' (InvalidCastException: Cannot cast from source type to destination type.)
    as you can see i'm using the latest version v1.0.7
     
  13. hey, Ive been sitting looking around and this is probably the best topic to ask in...

    is there anyway to get a plugin that auto mutes if people keeps spammig the chat
    example:
    player: spam
    player: spam
    player: spam
    plugin: you are writing to fast, you will be muted if you continue
    player : spam
    player: spam
    plugin: command /mute player 10min

    something like that.
     
  14. Can you add another permission please? betterchatunmute.use , I don't want to let my mods unmute someone.
     
  15. Make sure you're on latest BetterChat.
     
  16. had to remove it would spam every 30 sec have latest 5.0.11 of betterchat installed as well
    Code:
    16:00 [Error] Failed to call hook 'OnBetterChat' on plugin 'BetterChatMute v1.0.7' (InvalidCastException: Cannot cast from source type to destination type.)
    16:00 [Stacktrace]   at Oxide.Plugins.BetterChatMute.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
    16:00 [Error] Failed to call hook 'OnBetterChat' on plugin 'BetterChatMute v1.0.7' (InvalidCastException: Cannot cast from source type to destination type.)
    16:00 [Stacktrace]   at Oxide.Plugins.BetterChatMute.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
    16:00 [Info] Unloaded plugin Better Chat Mute v1.0.7 by LaserHydra
     
  17. Code:
    08:23 [Error] Failed to call hook 'CmdMute' on plugin 'BetterChatMute v1.0.7' (OverflowException: Value is too large)
    08:23 [Stacktrace]   at System.Int32.Parse (System.String s) [0x00000] in <filename unknown>:0
      at System.Convert.ToInt32 (System.String value) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChatMute.TryGetDateTime (System.String source, System.DateTime& date) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChatMute.CmdMute (IPlayer player, System.String cmd, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChatMute.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0 
    İs there any fix?
     
  18. What exactly did you type?
     
  19. in my server moderators mutes players. İ think they write too large value. İ looked my logs and saw, a moderator muted a player 216541 day. This is log:
    Code:
    08:22 [Info] [Better Chat Mute] SLayer, ROKETMEN tarafından 9 gün, 23 saat, 59 dakika, 59 saniye susturuldu. // (10 days)
    08:22 [Info] [Better Chat] Red Blood|HegeBaytar: ohaaaaa
    08:22 [Info] [Better Chat Mute] SLayer adlı oyuncunun susturma cezası ROKETMEN tarafından kaldırıldı. (unmute)
    08:23 [Info] [Better Chat] [VİPGÜMÜŞ] [YAM] SLayer: :D
    08:23 [Info] [Better Chat] [DESTEK] [VİPGÜMÜŞ] [YAM] [Oduncu] ROKETMEN: arkadaşım o benim :D
    08:23 [Error] Failed to call hook 'CmdMute' on plugin 'BetterChatMute v1.0.7' (OverflowException: Value is too large)
    08:23 [Stacktrace]   at System.Int32.Parse (System.String s) [0x00000] in <filename unknown>:0
      at System.Convert.ToInt32 (System.String value) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChatMute.TryGetDateTime (System.String source, System.DateTime& date) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChatMute.CmdMute (IPlayer player, System.String cmd, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChatMute.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
    08:23 [Info] [Better Chat] [VİPGÜMÜŞ] [YAM] SLayer: sen de iyi abartın
    08:23 [Info] [Better Chat] [Hile] [Doktor] YouTube:Rust Oyuncusu: sa kardeslerim nasilsiniz?
    08:23 [Info] [Better Chat] Red Blood|HegeBaytar: iyiyiz
    08:23 [Info] [Better Chat] [DESTEK] [VİPGÜMÜŞ] [YAM] [Oduncu] ROKETMEN: iyiyiz
    08:23 [Info] [Better Chat Mute] SLayer, ROKETMEN tarafından 364 gün, 23 saat, 59 dakika, 59 saniye susturuldu. // (365 days)
     
    Last edited by a moderator: May 1, 2017
  20. @LaserHydra if you add this permission it would be very nice. Thanks.