AFK [Unmaintained]

Discussion in 'Plugin Support' started by Wulf, Jan 10, 2015.

  1. Alright thanks! It seems to work occasionally. I think what the are doing is going AFK but coming back every few minutes and moving a tiny bit. :p
     
  2. So just downloaded this and doesn't seem to kick people sitting afk. I just tested it with another buddy we both sat afk for 10 mins not touching our keyboards at all and nothing happened. Nothing in console either. I have restarted the server as well after putting this on.
     
  3. Wulf

    Wulf Community Admin

    What do you have the time set to?
     
  4. Well I tried the default one first. Then I lowered it to test it to 10mins. Does lowering it cause it not to fire? I just put it up to 30 mins so when I go out for a bit and come back to see if it works.
     

    Attached Files:

    • AFK.json
      File size:
      238 bytes
      Views:
      16
  5. Wulf

    Wulf Community Admin

    The eye position is likely throwing it off. The update I've been working on should fix that.
     
  6. Well thank you for looking into it. I look forward to using this!
     
  7. omg my Rusty is going mad :D

    i got this error:
    Thanks!
     
  8. Wulf

    Wulf Community Admin

    Your Oxide permissions data is corrupt, verify oxide/data/oxide.users.json using jsonlint.com.
     
  9. I did and i made the things multiplay told me! I am going mad with this Issue!
    Look, there is nothing in it! So what shall i verify?
     

    Attached Files:

  10. Wulf

    Wulf Community Admin

    Edit the file and add:

    {}

    and save it.
     
  11. Done but i still an Error Death Notes Plugin until now. The Rest is quiet at the moment!
     
  12. Wulf

    Wulf Community Admin

    Death Notes isn't related to this plugin. ;)

    Are you still having an issue with this plugin?
     
  13. Nope i am done here :D
    Thanks for Help!
     
  14. Does the broadcast to chat mean to the player that AFKs or global?
     
  15. Wulf

    Wulf Community Admin

    If the player gets kicked, that setting determines if other users should know about it.
     
  16. Having some issues with this error. I have validated the json file and it validated green. This error only occurs when someone leaves the server / disconnects.

    Code:
    [Oxide] 11:44 PM [Error] Failed to call hook 'OnPlayerDisconnected' on plugin 'A
    FK v0.1.8'
    File: AFK.lua Line: 68 attempt to call method 'GetLocalData' (a string value):
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unkn
    own>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System
    .Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x000
    00] in <filename unknown>:0
      at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown
    >:0
      at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.
    Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[]
     
  17. Wulf

    Wulf Community Admin

    You're trying to use the Rust Legacy version on Rust Experimental. Download the version from this page.
     
  18. does this work with the Current Rust version(s)? I see it has not been updated for a while.

    FEATURE request - force anyone on more then XX hours to get disconnected. some players have jump macros
     
  19. Wulf

    Wulf Community Admin

    Yes, I use it every day. For the request, I'll see what I can do.
     
  20. here is my problem I have some players who are connected for 6-12 hours and they are good but they are not replying to messages so I know they are doing something to stay connected and I want a way to disconnect them without doing a kick/ban :)