I want to get list of currently connected Minecraft players on some server, using some sort of API.

E.g: myapi.com/playerlist.php?ip=<SERVER_IP>

Which results something like this:

  • Are you looking for getting the player list on a server you control, or any online multiplayer server? – Malco Sep 14 '17 at 16:10
  • If you would just like the total number of players you can easily get that using mcapi.us which will just poll the server for you. – Jake Sep 14 '17 at 16:18
  • 1
    Have you made any attempt to solve this yourself? Arqade works better when askers show effort to solve their own problems; we see that you have a problem you've worked on, and answerers respond to that. You also get a more specific answer that's tailored exactly to the part you're stuck, and Arqade gets a very specific question. Everybody wins! – Frank Sep 14 '17 at 17:02
  • Ok, Frank, usually that comment fits, but really not in this case. It's not a dumb question. – Fabian Röling Sep 14 '17 at 21:31
  • 1
    @Fabian There is zero effort shown by the asker. Question validity is irrelevant. – Frank Sep 15 '17 at 1:57

You can do this by using the Query API documented here: http://wiki.vg/Query

  • Is this an official wiki? – esqew Apr 13 '18 at 16:37
  • No, it isn't. It's made by the community, but it is accurate. – Joseph Apr 14 '18 at 8:29

To see the people playing on a server, click and hold "tab" on your keyboard(while playing in that same server). A list should pop up listing all the current players on the server. Release "tab" to close the list.

  • The question is asking for using some API, not in-game. – TheOnlyMrCat Mar 12 '18 at 5:16
  • oh...whoops i just probably delete this, shouldn't I? – AmazingSundae Mar 13 '18 at 20:21
  • It is your choice – TheOnlyMrCat Mar 13 '18 at 20:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.