Gets the address used for listening for Bedrock
connections from.
Returns:
the listening address
port
intport()
Gets the port used for listening for Bedrock
connections from.
Returns:
the listening port
broadcastPort
intbroadcastPort()
Gets the broadcast port that's sent to Bedrock clients with the motd.
This is the port that Bedrock clients will connect with. It usually does not differ from the listening port.