Hello. I have been using Rustcord for a while with no issues, but now Game to Discord chat doesn't and team chat isn't either. I've tried re-doing my config from scratch but can't seem to find the problem. I'm using the following plugins:
BetterChat
BetterChatMute
BuildingGrades
Clans
CopyPaste
FreeCCTV
GatherManager
Give
Godmode
MovableCCTV
NightVision
NoClipToggle
RemoverTool
Rustcord
SignArtist
VIPNoDecay
ZoneManager
This is my config file (bot token redacted): https://pastebin.com/jLw6qaSx
Any insight would be appreciated. Thank you.
(Edit: Fixed msg_join,msg_quit)
Chat/Other Flags Not WorkingSolved
Update, turns out I'm getting an error in the console when a message in game is sent:
Failed to call hook 'OnPlayerChat' on plugin 'Rustcord v3.3.1' (ArgumentException: oldValue is the empty string.)
at System.String.ReplaceInternal (System.String oldValue, System.String newValue) [0x00016] in <fb001e01371b4adca20013e0ac763896>:0
at System.String.Replace (System.String oldValue, System.String newValue) [0x0000e] in <fb001e01371b4adca20013e0ac763896>:0
at Oxide.Plugins.Rustcord.OnPlayerChat (BasePlayer player, System.String message, ConVar.Chat+ChatChannel channel) [0x00122] in <d49af59839384c9fa55433b3bfe6e936>:0
at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00ebf] in <d49af59839384c9fa55433b3bfe6e936>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0
Saved 32,786 ents, cache(0.01), write(0.01), disk(0.01).Merged post
Notes flag doesn't appear to work, either.
I've done additional testing and the Rustcord plugin is causing the above error. Not sure why. Does anyone have any suggestions?
Merged post
Line 106 of the RustCord.json config file is where the Filter Settings is. The words to filter cannot be empty. As soon as I put a word in there, it worked.
Locked automatically