log how many people on your server over a day/week/month

Discussion in 'Archived: Plugin Requests' started by CraftyMclovin, Sep 1, 2012.

  1. Offline

    CraftyMclovin

    hello,

    i don't know if anyone knows of a plugin that does this already or if they fill the challenge of making one but i am looking for a plugin that can tell you how many people have been on your server in one day, week, month etc because i am not on my server 24/7 and it would be really interesting to see how many people have been on my server on a certain date, week, month.. this would also help with advertising to see when i advertise my server how much a of a difference it actually makes over the week.. =)
     
  2. Offline

    calebbfmv

    I do believe essentials does this. Could be wrong, I might be able to cook something up if it doesn't. Let me know if it does! If it doesn't I'm on it!
     
  3. Offline

    CTRL

    PHP, MySQL database, cron every hour, saving data (online/max, online/offline, motd) to database, generating stats in php or javascript. Enjoy
     
  4. Offline

    calebbfmv

    :mad: I didn't think it would be that hard :( Still I might find a more simple way.

    Wait, wouldn't sending it to a players.yml file on first time player join event? That should work with minimal effort right?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 28, 2016
  5. Offline

    CTRL

    how many players but: (my idea with mysql)
    hour 1: 1/20
    hour 2: 6/20
    hour 3: 9/20
    hour 4: 4/20

    or: (your idea)
    day 1: nick1, nick2, nick3, nick7, nick5, nick92
    day 2: nick1, nick5, nick92, nick2
     
  6. Offline

    CraftyMclovin

    nah don't think essentials does this :( or at least i haven't seen a command/permission for it on the wiki.. The have /who but that only shows you who's online there and then it doesn't actually give you detailed info about how many people have been online in that day.. but you could do so much to a plugin like this for example have detailed info about who has been online, what time, how many times they logged on that day, what IP they logged on from etc :)
     
  7. Offline

    calebbfmv

    Hee hee I can do your idea without SQL. Just log it to a file, then get the total per hour/or config time, and Change nick1 nick2 to 2/X. :D Would you like to make it more complicated than it has to be? If so feel free to create your version

    :eek::confused:Why do you need this much info on one player? But yeah I could. I might have to use SQL in which case I recommend you go with CTRL.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 28, 2016
  8. Offline

    CTRL

    Do you want online/max per hour or list of all players today tomorrow yesterday etc?
     
  9. Offline

    calebbfmv

    Per Day I think he wants. If not, feel free to do this, as SQL I dont know well enough. I could use some Tut's with it, if you could.;)
     
  10. Offline

    CraftyMclovin

    CTRL
    calebbfmv

    for me personally i just want it as basic as possible and to say X amount of people logged on to your server today, This week, This month...

    That previous message was just an example of what you could do if you wanted to take it further and make it a full plugin because i think it would be very popular on the market for server admins to keep a detailed log of exactly how many members they where getting on there servers over a day, week, month.. and if you really wanted you could make a web GUI with bar graphs showing the progress of their server on a daily basis.. and as not to count the same person twice is why i said have it log the persons IP and how many times that person logged in otherwise it would say X amounts of people joined that day but the X could be the same person over and over so you wouldn't actually know how many people have joined if that makes sense to you guy's.
     
  11. Offline

    calebbfmv

    Makes sense, but we could log each player that joins the server per day with some skill :p I will look into this.
     
  12. Offline

    CraftyMclovin

    Nice one :) please keep me posted with updates if you do decide to pursue this project. =)
     
  13. Offline

    calebbfmv

    Will do!

    Gimme an hour or two and I will start this plugin!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 28, 2016
  14. Offline

    CraftyMclovin

    awesome :) thank you ever so much.
     
  15. Offline

    calebbfmv

    Started!

    Made the first version:
    v0.1.1a:
    Logs when a player joins to a .txt file.
    Planned:
    WebUI
    Auto-Email every week telling to your player on that up to that day.
    Anything else?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 28, 2016
  16. Offline

    jacklin213

    calebbfmv are u going to make it open source so we noobs can learn off it lol
     
  17. Offline

    calebbfmv

    Sure noob :p
     
    chasechocolate likes this.
  18. Offline

    CraftyMclovin

    great news :) do you have a dload link so i can give it a test? :)
     
  19. Offline

    calebbfmv

    Not yet So far I have just made it to log to the file when a new player joins.
     
  20. Offline

    CraftyMclovin

    cool :)
     
  21. Offline

    calebbfmv

    Working with a PHP dev for help with WebUI graph
     
  22. Offline

    CraftyMclovin

    calebbfmv

    how you getting on? :)
     
  23. Offline

    calebbfmv

    Pretty Good man, but to be honest, I am in the zone with BorderPatrol. I might be able to send you the file tomorrow after I fix some bugs.
     
  24. Offline

    CraftyMclovin

    Okay cool :) take your time with it, I'm in no rush, like I said I really only want it out of curiosity :p its not a vital plugin for my server to run just an extra cool feature that would help me with advertising and server traffic =D
     
  25. Offline

    calebbfmv

    Well as of right now it saves to a file and if you wanted to you could count them up.
     
  26. Offline

    CraftyMclovin

    calebbfmv

    hey bud, how you getting on :)
     
  27. Offline

    AndyMcB1

    I want this!
     
  28. Offline

    calebbfmv

    Was gone for a while, gf stuff and all, back into the swing of things
     

Share This Page