JaMan | Rick De Kikker submitted a new resource:
Chat Clear - Clear your chat with the /clear command
Read more about this resource...
[DOUBLEPOST=1502256048][/DOUBLEPOST]Hello guys:
This is a very simple plugin i will update more after my holiday!
(1\2 weeks)
Chat Clear [Unmaintained]
Discussion in 'Plugin Support' started by JaMan | Rick De Kikker, Aug 9, 2017.
-
Cool!
Is this to help with the innate chat freezing problem? -
Yeah it Will fix chatlaggs if u type /clear!
-
@JaMan | Rick De Kikker
I've just installed your plugin and while useing the command /c;lear I got this error showing up into my console
Code:Error] Failed to call hook 'TestCommand' on plugin 'ChatClear v1.0.0' (NullReferenceException: Object reference not set to an instance of an object) 00:06 [Stacktrace] at Oxide.Plugins.ChatClear.TestCommand (IPlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ChatClear.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
-
Hmm what is your file name ?
[DOUBLEPOST=1502339995][/DOUBLEPOST]last time i checked was yesterday and that worked fine.Last edited by a moderator: Aug 10, 2017 -
-
Wulf Community Admin
-
When I wrote this for you I didn't expect you to release it publicly. The Null is from the ChatManager being null, so just do if(cmc != null) before cmc.ClearChat(); on line 23
-
I'll update it asap!
Sorry tho.. -
JaMan | Rick De Kikker updated Chat Clear with a new update entry:
1.0.1
-
JaMan | Rick De Kikker updated Chat Clear with a new update entry:
1.0.2
-
Wulf Community Admin
@JaMan | Rick De Kikker, keep in mind that the Lang API is a requirement for plugins here. Your plugin contains messages that are not using it.