Is this possible, if so how?

Discussion in 'Plugin Development' started by MuisYa, Aug 1, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    MuisYa

    I need to know how to ping a Minecraft server, so it will return with the amount of players online.

    I know that i can use the API
    Code:
    Bukkit.getOnlinePlayers().length;
    But i need the code for an external server, not for a plugin.

    If anyone can help me, thanks!
     
  2. Offline

    r0306

  3. Offline

    MuisYa

    r0306 I see, but how would i do this in Java?
    Since i do not know how to set up a ping in Java...
     
  4. Offline

    r0306

Thread Status:
Not open for further replies.

Share This Page