Solved Getting servers IP and Port?

Discussion in 'Plugin Development' started by Jarrrk, Aug 12, 2013.

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

    Jarrrk

    Title pretty much sums it up, is it possible to get both with a plugin?

    Cheers
     
  2. Offline

    Axe2760

    plugin.getServer().getIp(), plugin.getServer().getPort().
    Replace plugin with an instance of your plugin.

    Next time, try the java docs?
     
  3. Offline

    Jarrrk

    I did, although not good enough it seems. Thanks for the help mate
     
  4. Offline

    Axe2760

    No prob, glad I could help :)
     
Thread Status:
Not open for further replies.

Share This Page