I'm not taking any money for my work on here, thanks for the offer, though![]()
Spyon [Unmaintained]
Discussion in 'Plugin Support' started by sqroot, Feb 8, 2016.
-
Love your work, if you ever change your mind, let me know. 8)
-
quick question, is there anyway to get the log of someone typing /pm ingame for admins only to see? I've added /pm, /r, all that to the config just curios if you could get it show to admins only other than checking logs?? thanks man
-
If anything, I could turn this feature into a seperate plugin. It probably makes more sense to have a seperate plugin to print logs instead of such a feature being local to this plugin. -
good idea. just a little info from my point of view. every plugin i can see hasn't done this or to my knowledge. a plugin For /PM to display for admins only since server owners like myself have to look in log files.
EDIT: so when players /pm anyone it notifies admins -
Yeah, that sounds sensible.
Instead of it just being public or not I could let you choose the authlevel for which to broadcast. -
that would be a perfect plugin. less stress for owner. well i hope this plugin could happen
not sure how hard it would be though haha
-
dude your a legend! just curious what Exposure part is?
EDIT: Sorry didn't see it on the main page! It's perfect!
[DOUBLEPOST=1457383965][/DOUBLEPOST]ive changed to config file to:
{
"authlevel": 2,
"chatcmds": [
"/remove",
"/pm",
"/r",
"/Mute",
"/unmute"
],
"cmds": [
"global.setinfo",
"global.kick",
"global.kickall",
"global.unban",
"global.mutevoice",
"global.unmutevoice",
"global.mutechat",
"global.unmutechat",
"global.spectate",
"global.teleport",
"global.teleport2me",
"global.teleportany",
"inventory.give",
"inventory.giveall",
"inventory.givebpall",
"inventory.giveto",
"inventory.givearm",
"inventory.giveid",
"inventory.givebp",
"heli.drop",
"heli.calltome",
"heli.call",
"heli.strafe"
],
"exposure": 2,
"logdaily": false,
"public": True
}
but nothing pops up on screen ingame? sorry for being a pain -
If Spyon finds that anything is wrong with your config, it'll just use the default config for that part.
Since True isn't actually valid JSON, it can't read the "public" key and replaces the value with the default "false".
Change True to true to fix this. -
ah right i see. ill give this a go, cheers for the help mate -
Add the element "cmds\\.txt" to whitelist. -
Hello
This plugin doesn't seem to log noclip for my server. Any suggestions?
Thank you -
Wulf Community Admin
-
Edit: beat me to it -
You will get:
Spyon v1.1.0' is using deprecated hook 'OnRunCommand', which will stop working on Monday, 01 August 2016. Please ask the author to update to 'OnServerCommand
Until the plugin is updated, Edit the Plugin and as per the message :
Search and replace OnRunCommand with OnServerCommand -
Those hooks aren't properly documented yet so I'll have to dig through the source tomorrow. -
Wulf Community Admin
-
update needed error codes
Failed to call hook 'OnServerCommand' on plugin 'Spyon v1.2.1'
Traceback (most recent call last):
File "Spyon.py", line 112, in OnServerCommand
RuntimeError: Failed to call OnServerCommand (MissingMemberException: 'Command' object has no attribute 'namefull')
at IronPython.Runtime.Binding.PythonGetMemberBinder/FastErrorGet`1<object>.GetError (System.Runtime.CompilerServices.CallSite,object,IronPython.Runtime.CodeContext) <0x00137>
at (wrapper dynamic-method) object.OnServerCommand$6 (System.Runtime.CompilerServices.Closure,IronPython.Runtime.PythonFunction,object,object) <0x00501>