Fair leaderboards with timestamp and updates
Hi, another feature request for leaderboard here.
It is common to order players with same highscore by timestamp, so that the first one to get this score is higher in rank. This is easily done with this module.
The issue is in increment command, when you add some score points what you actually want for timestamp part is not to increment it, but to update it to current time.
Suppose we have this scores for id
after this operation (illustration only, not the desired syntax):
exzincrbyandset key +10#=1689158754 id
result should be
Fair leaderboards with timestamp and updates
Hi, another feature request for leaderboard here.
It is common to order players with same highscore by timestamp, so that the first one to get this score is higher in rank. This is easily done with this module.
The issue is in increment command, when you add some score points what you actually want for timestamp part is not to increment it, but to update it to current time.
Suppose we have this scores for
idafter this operation (illustration only, not the desired syntax):
result should be