# Display LeaderBoard at start .. (Persistance)

**URL:** <https://forums.unrealengine.com/t/display-leaderboard-at-start-persistance/2696273>\
**Category:** Verse\
**Tags:** unreal-engine\
**Created:** [January 31, 2026, 6:44pm UTC](https://forums.unrealengine.com/t/display-leaderboard-at-start-persistance/2696273 "2026-01-31T18:44:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DragonYipYop](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DragonYipYop](https://forums.unrealengine.com/u/DragonYipYop)\
**Post date:** [January 31, 2026, 6:44pm UTC](https://forums.unrealengine.com/t/display-leaderboard-at-start-persistance/2696273/1 "2026-01-31T18:44:32Z")

</div>

Hi,

I would like to have a Leaderboard (with Persistance), which shows the list of the players since start. My map is an escape game, and the infos i want persist, are if they “finish” Room1, Room2, etc…

Actually, it has simply the “Exemple Text”…. :’(

I used the code which can be find here : [Persistent Player Statistics in Unreal Editor for Fortnite | Fortnite Documentation | Epic Developer Community](https://dev.epicgames.com/documentation/en-us/fortnite/persistent-player-statistics-in-unreal-editor-for-fortnite)

My questions :

1. Can I have my function which update all the infos in this “player\_stats\_manager := class():” ?
2. “InitializePlayer” is a special function, that launch at start ?
3. How can I put a function that can show what i want … the list of the players and the scores.

For the moment, I cannot just display player name … (I start Verse…)

I have my billboard, which show scores with the other verse (player\_stats\_example := class(creative\_device): )

But … in the player\_stats\_manager, when i try to do the same (and transform to a class(creative\_device): ), it doesn’t work… I put the device insise , a print appears, but the device does nothing… I chose it in the Details.

I think I’m totally lost…

So could you help me to have a very simple example to :

- Just print the display name at start …. only that plz
- If you want, a second example to put it in the billboard (and in a “Print” too)

Sorry, maybe it’s simple …

Thx a lot… 3hours I just want to print my name when join :’( :’(

---

<div class="post-metadata">

**Author:** ![DragonYipYop](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DragonYipYop](https://forums.unrealengine.com/u/DragonYipYop)\
**Post date:** [January 31, 2026, 7:00pm UTC](https://forums.unrealengine.com/t/display-leaderboard-at-start-persistance/2696273/2 "2026-01-31T19:00:38Z")

</div>

For Example …. I tried this .. and it doesn’t Work…. I dont’t know why :’( :

```auto
using { /Fortnite.com/Devices }

using { /Verse.org/Simulation }

using { /UnrealEngine.com/Temporary/Diagnostics }

# Manages and updates player_stat_tables for each player.

player_stats_manager := class(creative_device):

    @editable MyHUD:billboard_device = billboard_device{} # Displays the player's Score, High Score, Wins, and Losses

    Message1<localizes>(Agent:agent): message ="{Agent}... how..."

    OnBegin<override>()<suspends>:void =

        MyHUD.SetText(Message1(Agent))

```

It tells me : “Unknown identifier `Agent`.(3506)” on the last “Agent”

---

<div class="post-metadata">

**Author:** ![Mineblo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mineblo/32/1203575_2.png) [@Mineblo](https://forums.unrealengine.com/u/Mineblo)\
**Post date:** [February 1, 2026, 11:47am UTC](https://forums.unrealengine.com/t/display-leaderboard-at-start-persistance/2696273/3 "2026-02-01T11:47:53Z")

</div>

> [@DragonYipYop](#):
>
> It tells me : “Unknown identifier `Agent`.(3506)” on the last “Agent”

That is because You dont have any valid Agent mentioned in this line “MyHUD.SetText(Message1(Agent))”

You can replace it with this:

```auto
for(Agent:GetPlayspace().GetPlayers():
      MyHUD.SetText(Message1(Agent))

```

---

<div class="post-metadata">

**Author:** ![DragonYipYop](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DragonYipYop](https://forums.unrealengine.com/u/DragonYipYop)\
**Post date:** [February 1, 2026, 1:13pm UTC](https://forums.unrealengine.com/t/display-leaderboard-at-start-persistance/2696273/4 "2026-02-01T13:13:53Z")

</div>

Oh nice ! Thx it Works !!

```verse
        for(Agent:GetPlayspace().GetPlayers()):

            MyHUD.SetText(Message1(Agent))

```

Now …

1. Show name + stats

In the game, each players has a score in a var …

And I actualise it with this code :

`StatsMessage<localizes>(Player:agent, Score:int):message = "{Player}, Stats:\n Score: {Score}"`

But here, it doesn’t Work. I think because it’s an issue between Player / Agent ?

I tried to read how it is really but ….

What I think :

- Agent : is a Player, a NPC, an animal maybe.. ?
- Player : is a real Player only, who can have some stats / var

My question is :

Can I show the stats at start, and refresh it with a “OnPlayerAdded” (or other ?)

I think I can’t have my “Score” stats (persistant) in the Agent, but I can retrieve it in the Player ? How could I have the both 🙂 ? (name + score)

1. Update too

In my map, I would like when a player do anything, it refresh the same board. For ex : I finish a room in an escape, my score is now “2” (was 1 at start).  
I would like the same board refresh the score

Maybe I can put only one function, and tell it to launch at 2 places ?

Thx a lot !

[EDIT] : I’m trying anything like this (I would appends the message, because here it will has only the last) :

```verse
 OnBegin<override>()<suspends>:void=

        for(Agent:GetPlayspace().GetPlayers()):
            if:
                Player := player[Agent]
                PlayerStatsTable := PlayerStatsMap[Player]
                CurrentScore := PlayerStatsTable.Score 
                Messagetotal : message = "{Player} : {CurrentScore}"

                

            MyHUD.SetText(Messagetotal)

```

---

<div class="post-metadata">

**Author:** ![DragonYipYop](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DragonYipYop](https://forums.unrealengine.com/u/DragonYipYop)\
**Post date:** [February 3, 2026, 8:17pm UTC](https://forums.unrealengine.com/t/display-leaderboard-at-start-persistance/2696273/5 "2026-02-03T20:17:26Z")

</div>

Hi,

I think I won’t put the board at the entrance. Then, when anyone go out the entrance, the board will auto-update 🙂  
Like that, no problem to check it (near) since start. And i will use the same code to update it when a room will be resolved.

I think it’s the best choice.

I have a question …  
If a second member come later, is it possible tu use the same code inside a “OnPlayerAdded” or anything else ?

Thx
