Closed novabyte closed 7 years ago
Some functionality we should offer with the leaderboards impl:
This work is part of the 0.12.0 development:
nakama admin create-leaderboard --sort-order=desc
INCR
, DECR
, SET
, and BEST
. These operators define how the submitted score value is applied to the value in the database.SET
operator. More advanced velocity checks on values should be done via the Lua runtime.These features depend on https://github.com/heroiclabs/nakama/issues/5:
These features are deferred for the future:
We can implement "arcade style" leaderboards through authoritative boards managed by the Lua runtime. Leaderboard entry owner IDs don't need to be user IDs so a Lua script can set them to a combination of user ID and a unique factor, resulting in multiple entries per user.
Rank calculations will still work as expected.
Resolved in https://github.com/heroiclabs/nakama/commit/14cbcc78bed32d4a1fb4ba8e53584a7b6023b805.
Some final notes on dynamic leaderboards:
nakama admin create-leaderboard --sort=desc
. See full command for all options.The documentation will cover all usage notes.
- Leaderboards should be filterable by region (or country) and other properties.
@novabyte Hi. Has this been implemented?
Are these features implemented ?
@FaisalZaheer Yes, these features were all implemented. The feature was scoped down in Nakama 2.0 due to lack of use by game teams. Please ask questions on the community forums. Thanks 🙏
Define leaderboards on-demand via the script runtime with optional reset schedules (daily/weekly/monthy/etc). Form hierarchies of leaderboards for league-style progression system. This depends on TTL support in cockroachdb.