Keep the infos replicated. There are alot of classes that can be used for that. For example the “PlayerState”. The Server got an array of these PlayerStates and they are replicated.
So you could make your own PlayerState class and create some variables for your Player. You can then get these inside your widget and display the infos. But this is just one way.
It depens on what you want to do. If you want to show a scoreboard, you could use this method i just told you. I could be more of a help if you would tell me what information you want
If you want to go for the custom PlayerState, make sure you have your own custom GameMode BP. You can set this PlayerState only in the Default Values INSIDE of the GameMode BP.
So not in the ProjectSettings like the other BPs (Player, Controller, HUD etc.). If you open up your GameMode BP and click on “Default Settings” at the top, you will see the slot for
the PlayerState class on the right side in the options.
The array of these PlayerStates is located in the “GameState” Class. You can also create a custom BP of that class and set it inside the normal Projekt Settings.
Here you can add information about the current state of the game as well as using already made functions and variables (like the PlayerState array called “PlayerArray”)
If you need more help, feel free to ask me (: