Rewards Events Entity
The rewards_events entity defines the rewards given on game events, for example the daily login and the consecutive days login rewards.
Managing rewards events in the admin panel
Rewards events are in the Rewards section of the admin sidebar, under Rewards Events (/reldens-admin/rewards-events), see Rewards and Drops.
Key Properties
- label and description: Snippet keys shown to the players, for example rewards.dailyLogin
- handler_key: Handler that processes the event, for example login
- event_key: Game event that triggers the reward, for example reldens.joinRoomEnd
- event_data: JSON with the action and the rewarded items, for example {"action":"straightDaysLogin","days":2,"items":{"coins":10}}
- position: Display order
- enabled: Only the enabled events are loaded
- active_from and active_to: Optional active period
Database Relations
- rewards_events_state: Progress of each player on the event
reldens