Determine player's Ip Address

Discussion in 'Plugin Development' started by Buckley, Feb 27, 2011.

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

    Buckley

    I'm making an online/offline authorization plugin... I don't know if I need to say much more about that, but I am at the point to where I need to detect a player's IP address. I can't figure out how to do so though... Any help please?
     
  2. Offline

    DiaAWAY

    well, depends on what you mean by 'detect', but i would believe that player.getAddress() would solve your issue? It returns an InetSocketAddress, you should be able to get what you need from that :)
     
  3. Offline

    Buckley

    I'll try that. Thanks!
     
Thread Status:
Not open for further replies.

Share This Page