# Leaderboard and Score with EOSPlus 

**URL:** <https://forums.unrealengine.com/t/leaderboard-and-score-with-eosplus/2858203>\
**Category:** Multiplayer\
**Tags:** epic-online-services, question\
**Created:** [January 27, 2025, 12:46pm UTC](https://forums.unrealengine.com/t/leaderboard-and-score-with-eosplus/2858203 "2025-01-27T12:46:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [January 27, 2025, 12:46pm UTC](https://forums.unrealengine.com/t/leaderboard-and-score-with-eosplus/2858203/1 "2025-01-27T12:46:01Z")

</div>

Hello everyone,

I would like to store the best players along with their scores on a leaderboard.

I followed this tutorial: [EOS Leaderboards Tutorial](https://dev.epicgames.com/community/learning/courses/1px/unreal-engine-the-eos-online-subsystem-oss-plugin/Dl0R/unreal-engine-eos-stats-achievements-and-leaderboards#summary).

However, I’m using the `WriteLeaderboards` method instead. This works correctly with the Unreal binding but not with the Steam binding.

The issue is that if you set the leaderboard to update only using `ELeaderboardUpdateMethod::KeepBest`, the stat still gets updated regardless of whether the new value is better or worse. For example, if a player has a best score of 20 and submits a score of 10, the stat will be overwritten with 10, causing a desynchronization between the stat and the leaderboard score.

This forces me to either:

- Handle `ELeaderboardUpdateMethod::KeepBest` manually.
- Or, Modify the plugin to retrieve the score directly from the leaderboard.

In the meantime, both Steam and Epic maintain a separate leaderboard scores, so it would be easy to use it as a single unified query endpoint.

Would you mind suggesting the recommended way to implement a “KeepBest” leaderboard that works correctly with both Epic and Steam (via EOSPlus)? Or can I make a PR?

Thanks,

Florian

Excerpt of change made against the plugin:

```auto
struct FOnlineStatsRow
{
// [...]
  int32 Score = -1;
}

// EOS
bool FOnlineLeaderboardsEOS::ReadLeaderboardsAroundRank(int32 Rank, uint32 Range, FOnlineLeaderboardReadRef& ReadObject)
{
// [...]
  for (uint32 Index = StartIndex; Index <= NewEndIndex; Index++)
  {
    Row->Score = Record->Score;
  }
}

// Steam
virtual void Finalize() override
{
  for (int32 EntryIdx=0; EntryIdx < CallbackResults.m_cEntryCount; EntryIdx++)
  {
     UserRow->Score = LeaderboardEntry.m_nScore;
  }
}

```

[068QP00000UdKLlYAN.txt](https://forums.unrealengine.com/uploads/short-url/r47XixkBKSt2oCnPnBB5W7m7JCA.txt) (2.98 KB)

---

<div class="post-metadata">

**Author:** ![jamesherd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jamesherd](https://forums.unrealengine.com/u/jamesherd)\
**Post date:** [March 14, 2025, 5:00pm UTC](https://forums.unrealengine.com/t/leaderboard-and-score-with-eosplus/2858203/2 "2025-03-14T17:00:19Z")

</div>

Hi, unfortunately, the EOSPlus plugin is deprecated and no longer supported. If you’re encountering issues using it, we recommend using the Native Platform Integration available in UE5.5 onwards instead. Beyond that, you’d need to implement any further missing features yourself, either via game code or a custom plugin.
