How to find the amount of players connected to server as the host?

How can you find out how many players are connected to a host , or find out when a new player connects?

In server or outside of it? Everything you need is in GameMode:

Get number of players:

There also varables NumPlayers, NumSpectators, NumBots and NumTravellingPlayers all blueprint accessable, you might try to add them up right

PostLogin is ealest in accessable in blueprints event called or player connecting:

Also each player gets it’s own PlayerController so BeginPlay in controller event can be used to handle player join too