1. Welcome to LilyPad. Download the project, explore the forums, and create your own LilyPad network.


    If you use the software and enjoy it or have a question, or would like to contribute to the future of the software directly or through resources, please sign up and join our little community.

Bukkit - Get lilypad Server Name.

Discussion in 'Development' started by DiscFire, May 19, 2014.

  1. DiscFire

    DiscFire New Member

    I'm in a situtation where I want to get the username of the player's current server, however no matter how many times I google I can not find a way. Can anyone tell me a way I could?

    Thanks
    Last edited: May 22, 2014
  2. The_Zip

    The_Zip Active Member Resource Contributor

    I am slightly confused on what you are looking for?? /list will list the players, is that what your looking for?? Can you please specify more.
  3. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    Code (text):

    connect.getSettings().getUsername()
     
    Perhaps that is what you are looking for?
  4. DiscFire

    DiscFire New Member

    Yes, @Coelho, that is what I was looking for. :) Thanks!

Share This Page