# What is the enableRanks parameter for the LeaderboardCreate call?

**URL:** https://forum.heroiclabs.com/t/what-is-the-enableranks-parameter-for-the-leaderboardcreate-call/5550
**Category:** Runtime Framework
**Tags:** server-framework, golang
**Created:** [August 9, 2024, 11:32am UTC](https://forum.heroiclabs.com/t/what-is-the-enableranks-parameter-for-the-leaderboardcreate-call/5550 "2024-08-09T11:32:25Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![chakie](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/chakie/32/772_2.png) [@chakie](https://forum.heroiclabs.com/u/chakie)
#### Post date: [August 9, 2024, 11:32am UTC](https://forum.heroiclabs.com/t/what-is-the-enableranks-parameter-for-the-leaderboardcreate-call/5550/1 "2024-08-09T11:32:25Z")

</div>

In a recent Nakama version a new parameter `enableRanks` was added to `LeaderboardCreate`. What does this parameter do and what value enables the old behaviour? Using the Go version. Looking at the sources doesn’t really say much either.

The docs here need some updating:

> **[Function Reference](https://heroiclabs.com/docs/nakama/server-framework/go-runtime/function-reference/#Leaderboards)**
>
> This page lists all functions available within Nakama's Go runtime, with their respective parameters and corresponding code samples.

---

<div class="post-metadata">

### Author: ![sesposito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/sesposito/32/2594_2.png) [@sesposito](https://forum.heroiclabs.com/u/sesposito)
#### Post date: [August 12, 2024, 2:25pm UTC](https://forum.heroiclabs.com/t/what-is-the-enableranks-parameter-for-the-leaderboardcreate-call/5550/2 "2024-08-12T14:25:42Z")

</div>

From Nakama 3.23 ranks have to be enabled on a per leaderboard/tournament basis, setting the `enableRanks` to `true` at creation, otherwise the computed ranks will not be present in record listing.

For any existing leaderboards/tournaments in place the previous default of the ranks being available by default will stand.

The documentation will be updated as soon as possible.

Best.

---

<div class="post-metadata">

### Author: ![chakie](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/chakie/32/772_2.png) [@chakie](https://forum.heroiclabs.com/u/chakie)
#### Post date: [August 13, 2024, 8:55am UTC](https://forum.heroiclabs.com/t/what-is-the-enableranks-parameter-for-the-leaderboardcreate-call/5550/3 "2024-08-13T08:55:20Z")

</div>

Ok, so in order to have new leaderboards work the same way as the old ones did `enableRanks` should be set to `true`?

---

<div class="post-metadata">

### Author: ![sesposito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/sesposito/32/2594_2.png) [@sesposito](https://forum.heroiclabs.com/u/sesposito)
#### Post date: [August 13, 2024, 9:07am UTC](https://forum.heroiclabs.com/t/what-is-the-enableranks-parameter-for-the-leaderboardcreate-call/5550/4 "2024-08-13T09:07:00Z")

</div>

Yes that’s correct.
