KeyNotFoundException at OnBetterChatFixed
[Error] Failed to call hook 'OnBetterChat' on plugin 'BetterChatMentions v1.2.1' (KeyNotFoundException: The given key was not present in the dictionary.) at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at Oxide.Plugins.BetterChatMentions.OnBetterChat (System.Collections.Generic.Dictionary`2[TKey,TValue] data) [0x00023] in <72fa179fef89451d931d4a7069091da3>:0 at Oxide.Plugins.BetterChatMentions.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0005b] in <72fa179fef89451d931d4a7069091da3>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0

Failed to call hook 'OnBetterChat' on plugin 'BetterChatMentions v1.2.1' (KeyNotFoundException: The given key was not present in the dictionary.)

at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <1f0c1ef1ad524c38bbc5536809c46b48>:0

at Oxide.Plugins.BetterChatMentions.OnBetterChat (System.Collections.Generic.Dictionary`2[TKey,TValue] data) [0x00023] in <93084677192f49d7afac5e792e479a2c>:0

at Oxide.Plugins.BetterChatMentions.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0005b] in <93084677192f49d7afac5e792e479a2c>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0

can you update BetterChatMentions please for the newest BetterChat version. would be nice ! thanks
To fix the error you need to change one word in the plugin!

Open the plugin.cs file and locate line 82
Which is
string text = data["Text"].ToString(); 

Change "Text" to "Message" that's it done! (This is because of the new API changes with BetterChat image attached)

Thank me later :D
Will release an update soon.
In response to Death ():
Will release an update soon.
Nice :D I was set for around an hour trying to make it work, it was one word I had to change :P xD
A new update is available.
Locked automatically