1. Wulf

    Wulf Community Admin

    Wulf submitted a new resource:

    Online Log - Creates a JSON formatted log of all online players for use with external scripts

    Read more about this resource...
     
  2. i found the onlinelog.json in the folder:
    "\Release\server\config\"

    The folder "Oxide" does not exist on Release !

    but there is only this text in ?

    Code:
    {
      "Online": []
    }
     
  3. It is possible that your host changed the server setup regarding the Oxide folders since this can be modified in the oxide.root.json file that is in your server's root folder. And regarding that text, it only shows the players that are currently online in that file. The players are added to the file when they log on and they are removed from it when they log off.
     
  4. Wulf

    Wulf Community Admin

  5. Any code to share that posts to a sql database or website?
     
  6. Hi, I have an idea for this plugin. if you can add this feature I would be very grateful. Okay its current function, it may be that in addition, also keep records of players who have been playing, and make available the total playing time for each player. Accumulate playing time between each connection.

    thanks in advance and please excuse my English.
     
  7. Wulf

    Wulf Community Admin

    That would be better suited as separate plugin.
     
  8. v3x

    v3x

    Nice and simple plugin. I love it. But I'm having a major issue with it and I cannot figure out why it's doing this: It keeps adding this one player to the onlinelog.json file and he isn't even connecting/connected. He has played 20 hours on the server. I've deleted the file to let it recreate itself and still the problem remains. It doesn't even add him to the total number of players in the count.

    Here's what it looks like (removed steam ids and names):
    Any ideas, @Wulf ?

    Edit: Weird. He connected again and when he disconnected, it removed him from the file. I wonder if it'll do it again.
     
    Last edited by a moderator: Jan 29, 2016
  9. Wulf

    Wulf Community Admin

    Couple you provide a real example please? Psuedo info won't help fix the issue.
     
  10. v3x

    v3x

    Sorry about that, Wulf. Here you go:
    It was the last guy.
     
  11. Wulf

    Wulf Community Admin

    Do the other entries change at all? What is the count at when no players are online?
     
  12. v3x

    v3x

    I can't tell you what the count was at because my server has had players in it the whole time.

    The other entries were fine. They added/removed when they were supposed to. It's just that the last guy I couldn't get out of the file. I tried deleting the .json file for it I don't know how many times and his name just wouldn't remove. It was like it was cached somewhere on the server. It seemed to fix itself when he logged back on. The plugin looks like it's working fine now. I apologize if I'm not explaining things the way you want to hear it.

    I think it managed to fix itself though. I'll post back here if I have any problems.
     
  13. how to instal that lua file?
     
  14. Wulf

    Wulf Community Admin