How to display network information to the user?

I have been looking around google for a way to display network information similar to the way most games do it. But I have not been able to find anything.
I would like to show the user the following:

  • Ping in ms
  • KB/s up
  • KB/s down
  • Packet/s up
  • Packet/s down
  • Packet loss up %
  • packet loss down %

In case you don’t know what I’m talking about here’s a picture

253858-578080-20180916094113-1-copy.png

I would just want to know what functions/variables to use.

Both, Fortnite and PubG use this exact layout. So the data has to be readily available. Looking for the answer to this myself.

You can get it via UNetConnection and you can get it via player controller

It is related to UPlayer which is not available in Blueprints so you need to dive to C++ to grab that but it should not be hard to bring those to blueprint if you want

How can it be done in more words, please?! The data on the above PUBG screen-shot - is it a ready to use widget or not? Thank you!

To get packet loss (on custom controller class):

int32 AECRPlayerController::GetInPacketLoss() const
{
	if (const UNetConnection* MyNetConnection = GetNetConnection())
	{
		return MyNetConnection->InPacketsLost;
	}
	return 0;
}

int32 AECRPlayerController::GetOutPacketLoss() const
{
	
	if (const UNetConnection* MyNetConnection = GetNetConnection())
	{
		return MyNetConnection->OutPacketsLost;
	}
	return 0;
}

Ping is available in player state

If you are still interested there is a plugin: GitHub - Chippy4/NetworkInformation: The Network Information plugin empowers Unreal Engine developers to effortlessly integrate vital network details into their projects.