Posted July 19, 20232 yr I'm making logging and user utility server side mod for admins. How can I get Players IP address?
July 19, 20232 yr For example during the PlayerLoggedInEvent ServerPlayer p= (ServerPlayer)event.getEntity(); p.connection.getRemoteAddress(); this will return an InetSocketAddress if the client is remote
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.