Code for Online Player Count?

Discussion in 'Server & Community Management' started by JakeDaaBud, May 18, 2015.

  1. Hello everyone! I was wondering what code I could enter into a HTML module on my website to have it fetch data from my server and display the online player count? I heard I need to use PhP, but I'm not sure.

    Something like this, where it says "There are 'X' players online":
  2. Hey,

    I am also interested in this. I was looking into the xPaw pinging API, however I cannot seem to figure it out at all. Do I place some HTML code from the pinging API into my index.html, and place the php somewhere else?

    The documentation is very unclear to me.

    • Agree Agree x 1