Veland Posted July 19, 2023 Posted July 19, 2023 I'm making logging and user utility server side mod for admins. How can I get Players IP address? Quote
Zacomat Posted July 19, 2023 Posted July 19, 2023 For example during the PlayerLoggedInEvent ServerPlayer p= (ServerPlayer)event.getEntity(); p.connection.getRemoteAddress(); this will return an InetSocketAddress if the client is remote 1 Quote
Recommended Posts
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.