Posted April 11, 20169 yr Hey how do you get the current minecraft server url from the client side ? I'm codin a client side mod and i need to know the sever url when the player goes multiplayer game ty ^^
April 12, 20169 yr Minecraft#getCurrentServerData returns the ServerData of the current server, if any. ServerData#serverIP contains the IP/URL of the server. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
April 12, 20169 yr Author ty though it doesn't seem to have it in minecraft 1.7.10 think i found it named func_147104_D()
April 12, 20169 yr though it doesn't seem to have it in minecraft 1.8.9 I can assure you that the method and field both exist in 1.8.9. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
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.