Player Monitoring System.

Discussion in 'Archived: Plugin Requests' started by Neilnet, Nov 28, 2013.

  1. Offline

    Neilnet

    Plugin category: Admin

    Suggested name: UserMonitor

    What I want:
    A plugin that gives me detailed stats as to how many players there were on that hour, how many different unique players joined that hour, how many different players joined that hour

    Basically saves into a
    .txt file that has some kind of format like this:

    13:00:
    10 unique players joined
    86 different people joined during that hour.

    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions:

    When I'd like it by: Anytime, but hopefully before 2014.
     
  2. Offline

    Mathias Eklund

    Challenge accepted. Will start tomorrow. Really sleepy at the moment.
     
  3. Offline

    idrum69

    Are you saying to store player-join stats during all hour 13s, all hour 2s, all hour 10s… or to store the stats for hour 13 of November 1,2,3,4, hour 10 of November 1,2,3,4 etc.? If you just want it to store total joins for each hour it is simple. If you want storage for each individual day, MySQL is probably a better option. Hit me up in the inbox.
     
  4. Neilnet
    More explanation would be helpful.

    10 unique players joined - Does this mean how many new players joined that hour? All players are unique.
    86 different people joined during that hour - Does this mean how many people overall joined that hour, including new players?
     
  5. Offline

    Neilnet

    What you've said is 100% correct :)

    It doesn't have to be per hour, but many server admins would like to know at what times they get a lot of people on, and what times they lack players on.

    Okay, so, I'll give a better detailed explanation.

    The plugin starts up, creates a folder called "thenameoftheplugin", and inside that, there are multiple .txt files for each day.

    So, Dec1.txt contains:
    11 unique players joined at 1 PM, 4 joined at 2 PM....

    And as the days go on, "thenameoftheplugin" folder will get bigger, it's up to the server admin to clear the folder or keep it.
     
  6. Neilnet
    In that case, I partly filled your request several hours ago. Only thing I didn't think of was when the day changes (e.g. from Monday to Tuesday), the plugin would overwrite Monday's data with Tuesday's. I'll add that when I have time.

    I'm using yml files for this, as they are easier to use. I made it look like this in the file
    Code:
    # this is an example btw
    18:00:
        players: 46
        unique: 5
    19:00:
        players: 61
        unique: 8
    etc
    'players' is how many different players joined that hour, and 'unique' is how many new players joined that hour.
    I can change the format to what you said above, if you want, though it would look a bit messy in my opinion.
     
  7. Offline

    Neilnet


    That doesn't matter, what timezone is it in? Is it in server time or some other timezone? Thanks for making this! :)
     
  8. Offline

    timtower Administrator Administrator Moderator

    Probably server time
     
  9. Neilnet
    Server time, I use Calendar and Date classes to get the time.
     
  10. Offline

    Neilnet

    Alright cool! :)

    Thanks for making the plugin, I haven't seen anything like this.
     
  11. Offline

    n31ln3t


    Tell me when it's done, I can't seem to find it, so I'll assume you're still making it, anyways thanks again! :)
     

Share This Page