Leaderboard Reward
Overview
The Leaderboard Reward Module grants rewards to the top N players based on their leaderboard rankings. The number of rewarded players and the reward types are configurable through the Admin Dashboard, and rewards are distributed automatically at the time of leaderboard reset. Key Features
Configurable Rewards: Admin can define reward types (cash, items, credits) for top N players. Leaderboard Types: Configure rewards for different leaderboards (e.g., weekly, monthly). Automatic Reward Granting: Rewards are granted upon leaderboard reset.
Configuration
-
Leaderboard Type
Leaderboard rewards are set according to leaderboard type i.e. daily, weekly, monthly.
-
Reward Configuration
Set the reward for each rank (e.g., 1st Place: $100, 2nd Place: $50, 3rd Place: $25). Option to configure conditions (e.g., minimum score).
Reward Distribution
Leaderboard Reset: Automatically granted when leaderboard resets. Upon reset, the system identifies players and allocates the configured rewards.
API Endpoints
GET /api/leaderboard/rewards: Retrieve configured leaderboard rewards.