Serializator Posted October 25, 2014 Posted October 25, 2014 I have a simple question, where do I find the port from the server the player is playing on? I know how to find the name, ip, motd, ping but I cannot find the port variable. Quote
Serializator Posted October 25, 2014 Author Posted October 25, 2014 Because I have a simple BungeeCord setup for development purposes and sometimes I need to update some things and then I need to have the port from the server I am on at that moment. Quote
Serializator Posted October 25, 2014 Author Posted October 25, 2014 Yes, I want to find it in the code. Quote
Serializator Posted October 25, 2014 Author Posted October 25, 2014 I need the port I am connected to, because the name or IP is just a copy from the information in the multiplayer list. Quote
Serializator Posted October 25, 2014 Author Posted October 25, 2014 It isn't, because on my BungeeCord server it is "127.0.0.1" and not "127.0.0.1:25567". Quote
Serializator Posted October 25, 2014 Author Posted October 25, 2014 With the BungeeCord portals. Quote
Serializator Posted October 25, 2014 Author Posted October 25, 2014 If that is the truth how does the client know to which server they need to send the packets if they connect to another BungeeCord server that is not placed in the multiplayer list? 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.