Will there be a way to get the server ip and port?

Hello, is/will there be a way to get the ip and port of the Minecraft server the plugin is running on? I need it for a plugin that communicates with a remote server. (The ip and port identifies which server is connecting).

Server.getBoundAddress()

3 Likes

Thanks! I completely missed that when checking through the server object!