Applet on a website getting information on player position from Bukkit?

Discussion in 'Plugin Development' started by killgoblen, Jun 26, 2011.

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

    killgoblen

    I am trying to make a Java Applet I can put on my website. The website is on the same machine as my Bukkit server. My question is, how can I get a Bukkit plugin to send information on players' positions to the Applet? I want to have the applet do things based on a player's position.

    Sorry if this is basic stuff, I'm new to Java. Thanks for any help!

    EDIT: If it matters, I will probably do this by outputting the name of the region a player is in as a string.
     
  2. Offline

    Weltall 7

    I think you can use a servlet to do this (I have no experience with servlets, so I can't help you on this). Another possibility is to repeatedly write the player's position to a file, which is then read by the applet.
     
  3. Offline

    nickguletskii

  4. Offline

    killgoblen

    Short. Simple. To the point. Thanks for the help!
     
  5. Offline

    nickguletskii

    Glad to help ;)
     
Thread Status:
Not open for further replies.

Share This Page