Spyon [Unmaintained]

Discussion in 'Plugin Support' started by sqroot, Feb 8, 2016.

  1. I'm not taking any money for my work on here, thanks for the offer, though :)
     
  2. Love your work, if you ever change your mind, let me know. 8)
     
  3. 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
     
  4. While possible, I think it's difficult to display a log, especially large logs, in chat.
    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.
     
  5. 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 :p
     
  6. Yeah, that sounds sensible.
    Instead of it just being public or not I could let you choose the authlevel for which to broadcast.
     
  7. that would be a perfect plugin. less stress for owner. well i hope this plugin could happen :p not sure how hard it would be though haha
     
  8. sqroot updated Spyon with a new update entry:

    1.2.0


    [DOUBLEPOST=1457379189][/DOUBLEPOST]
    Added your request about used commands being shown only to people with a certain authlevel via the exposure option.
     
  9. 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
     
  10. true instead of True.
    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.
     

  11. ah right i see. ill give this a go, cheers for the help mate
     
  12. I've written a plugin which you can use to display logs to admins, see DisplayLog for Rust | Oxide.
    Add the element "cmds\\.txt" to whitelist.
     
  13. Hello

    This plugin doesn't seem to log noclip for my server. Any suggestions?

    Thank you
     
  14. Wulf

    Wulf Community Admin

    That is a client-side function in Rust, the server never knows when it is done, no commands are used.
     
  15. You can't log noclip as noclip is a client command.

    Edit: beat me to it ;)
     
  16. 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
     
  17. I'll take a look at it tomorrow when I've got time.
    Those hooks aren't properly documented yet so I'll have to dig through the source tomorrow.
     
  18. Wulf

    Wulf Community Admin

    It was just a rename to match others, same parameters and should still work the same until the expiration date. I'll be updating the Docs once I get some fixes in.
     
  19. sqroot updated Spyon with a new update entry:

    1.2.1


    [DOUBLEPOST=1464953347][/DOUBLEPOST]
    If I'm not mistaken then the issue that OnRunCommand was being called twice for each RCON command is fixed now.
    When was this fixed? Together with the rename?
     
  20. 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>