Noviets submitted a new resource:
Reporting - Allows player reporting and chat logging.
Read more about this resource...
Reporting [Unmaintained]
Discussion in 'Plugin Support' started by Noviets, Jan 9, 2016.
-
Thanks Noviets !!!!!
-
-
Code:
[Oxide] 13:46 [Error] Failed to call hook 'OnConnectionNotice' on plugin 'Reporting v1.0.0' (NullReferenceException: Object reference not set to an instance of an object) (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 65)[Oxide] 13:46 [Debug] at Oxide.Plugins.Reporting.GetSession (System.String source) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Reporting.OnConnectionNotice (System.String name) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Reporting.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
-
Thanks!!
[DOUBLEPOST=1452356133][/DOUBLEPOST] -
-
Wulf Community Admin
-
-
Wulf Community Admin
@Noviets, you didn't have to remove it, I was just asking if it fell within the scope of the plugin. To me it doesn't really seem like something that this plugin would need, but some may find it useful if they want to hide when connecting. A standalone plugin would make more sense though so every plugin doesn't try to reproduce the same thing.
-
I just removed it from the plugin again. -
Wulf Community Admin
-
-
Wulf Community Admin
-
I may change to OnPlayerConnected though, as I have removed the message that I was using in this plugin there's no reason for me to keep ConnectionNotice.
I figured if I hooked ConnectionNotice multiple times, (using a separate plugin for the admin connected message) then you would need to return a value to stop the original message from being displayed. I wasn't sure if there'd be a conflict between two hooks returning different values so I just added it because I thought it looked nice.
It's all good I've removed it now. -
Code:
[Oxide] 01:35 [Error] Failed to call hook 'OnConnectionNotice' on plugin 'Reporting v1.0.1' (NullReferenceException: Object reference not set to an instance of an object) (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 65)[Oxide] 01:35 [Debug] at Oxide.Plugins.Reporting.GetSession (System.String source) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Reporting.OnConnectionNotice (System.String name) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Reporting.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
-
-
How can I grant this for all users automatically? Is there a user group?
-
Wulf Community Admin
-
Ah okay. Thx for that info.
How can I delete reports? Just set the 777 in files and delete it?!Last edited by a moderator: Jan 11, 2016 -
I love this plugin; However the report output is currently bugged. If I file a report against Bob, my steam ID 64 is displayed for Bob's instead of his own. The name shows up correctly, just not the players steam ID