Server List

Discussion in 'Plugin Development' started by puppy3276, Nov 18, 2012.

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

    puppy3276

    I was wondering if it was possible and allowed to collect servers's IPs for use in a servers that use this page. I would include a config option to enable this and it would be disabled by default. How would I do this and is it allowed?
     
  2. Offline

    leiger

    It's probably better to request that users of your plugin submit them manually. That way, if they want to be listed, they can be. It also means far less work for you (you can start doing it immediately, right now, with no plugin update required).
     
  3. Offline

    Jogy34

    To get a player's IP address you can do player.getAddress().getAddress().toString(); That will give you the IP address of that player in the form of a String. I don't know if that is what you are looking for though
     
  4. Offline

    puppy3276

    Then can I submit their ips to a website? and how?
     
  5. Offline

    Jogy34

    You would have to go through mySQL or PhP or something like that which I can't help you with. sorry
     
Thread Status:
Not open for further replies.

Share This Page