Online Player Data

Discussion in 'Community Discussion' started by jkrmnj, Dec 23, 2016.

  1. Recently, I decided to work on a way to track the number of online players on each server using the servers page on the website. This is done using phantomjs to scrape the webpage for information every 5 minutes. I let the program run for a little over a day to see how it would work. I started this at 1:58 Mountain Time on the 21'st. Here are the results ordered by smp (first smp1, smp2, ... smp9, Utopia):































    This is a pretty short window so I plan on running it for a longer time and getting some more data. If you are wondering, here is everything I used to make it along with the data collected. Phantomjs is required for the scraper, python for the grapher, and matplotlib is required for the graphing as well. If you have any questions, I am happy to answer them.

    Edit: I used the Linux watch command to get the phantomjs command to run every 5 minutes. The .js file will only get the data once on its own.
  2. Wow. This is actually really impressive!
  3. Very cool, love it :)
  4. SMP6 looks like the best server to move to. :)
    ILTG, ChespinXMas2k16, Raaynn and 4 others like this.
  5. That's awesome thanks for sharing!
    jkrmnj likes this.
  6. I expected smp8 to be high.
    Equinox_Boss and jkrmnj like this.
  7. You can see when the event took place =)

    This is really neat. I'd be interested to see more data, and possibly averages (to account for outliers of events).
  8. You, uh, may want to try this on days without events. :p

    But hey, at least we know the best time to hunt for blizzes is 6 AM. :p
    Equinox_Boss, 607 and jkrmnj like this.
  9. When I saw the data for SMP8, I though things were broken since it was over 45 players at a time :p but then realized what was going on. My goal is to tweak it and have it run for a much longer time. Ideally I could find a way to have it live update something but that might be too much work.

    I imagine there is something similar used internally by the staff?
    Equinox_Boss and 607 like this.
  10. There is not honestly. The data we have is from actively watching each of the smp's when doing our normal duties and isn't exact by any means.
  11. Wow, that's really cool! Nicely done! :)
    Equinox_Boss and jkrmnj like this.
  12. Impressive! That's really nifty;)
    Equinox_Boss likes this.
  13. All looks like a foreign language to me :D
    Equinox_Boss likes this.
  14. Well... kinda obvious anyways...
  15. But SMP1 has the OGs
  16. So I am looking around to try and run it for a longer time and I realize that my laptop is probably the worst place to run it. Being a laptop, I put it in sleep mode very often. To get around that, I am wondering if anyone has access to a server or something that can run it constantly. Can anyone help with this?
    607 likes this.
  17. You could turn off the sleep mode option on your PC, if that's available.
    Sgt_Pepper4 likes this.
  18. Images are broken,Only 3 show up, the others say (Best Minecraft Servers), hehe.
    Sgt_Pepper4 and Tuqueque like this.
  19. Must be the random image hosting site I found. I will look into fixing it or using Imgur. All of the images are in the zip at the bottom of the OP until then.

    The problem is that I take my laptop places which requires closing the lid and putting it into sleep mode. It is also loud and I don't like leaving it on at night.

    Edit: I am going to give Cubeupload a little bit and see if they come back online.
    607 and UltiPig like this.
  20. Have you thought about hosting from a Very cheap server? There are very cheap providers for something like this... like 1$ a month. :p
    607 likes this.