Skip to content

Can you obtain the server's IP/domain a player pings? #1784

Answered by derklaro
Andre601 asked this question in Q&A
Discussion options

You must be logged in to vote

It is not possible with onPacketSending(PacketEvent), you need to store the address the player pinged which comes from the handshake (PacketType.Handshake.Client.SET_PROTOCOL) as a string.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@derklaro
Comment options

@Andre601
Comment options

@derklaro
Comment options

@Andre601
Comment options

@Andre601
Comment options

Answer selected by Andre601
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants