Show Online Players via Website?

Discussion in 'Bukkit Help' started by Whey, Jan 25, 2011.

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

    Whey

    Is there any means (plugin or not) to get the current online players listed on your website?

    Cheers,
    Whey
     
  2. Offline

    klaern

    http://forums.bukkit.org/threads/onlineusers-1-4.947/

    This plugin creates a flatfile, or updates a MySQL database with the listing of who is online at a given time. If you have minecraft on the same machine as a web server (Apache) and have port 80 open you could pretty easily write a PHP, Perl or ASP Script that would read that info and display it.

    If you have a separate machine for apache and your MySQL Database (that you'd be able to open external connections to) you could use that database to feed to from the plug-in, then again write a script to display that info.

    You could probably also modify that plugin to simply post to a website when someone logs on or off, if you know a bit of Java and such.
     
Thread Status:
Not open for further replies.

Share This Page