Incentives #
The Incentives system in Hiro is a powerful tool that enables you to create a variety of incentives to drive and increase player engagement, retention, and revenue. Incentives can be used to reward players for completing specific tasks, such as logging in daily or completing advanced tutorials, and also to encourage players to spend money in your game.
Customization parameters #
The following JSON represents the customization parameters you can use to configure the default user experience for a particular incentive.
|
|
The JSON schema defines an incentives
object which must contain an individual object for each incentive you wish to define in the system. You can configure as few or as many incentives as needed for your desired gameplay.
Property | Type | Description |
---|---|---|
incentives | string:Incentive | A map of all incentives. |
Each individual incentive is keyed by id and may define the following:
Incentive #
Property | Type | Description |
---|---|---|
type | enum | The type of incentive (0 = unspecified, 1 = invite). |
name | string | The display-friendly name for this incentive. |
description | string | The description text for this incentive. |
max_claims | int | The maximum number of times this incentive can be claimed. |
max_global_claims | int | The maximum number of times an individual user can claim this incentive. |
max_recipient_age_sec | int64 | The maximum account age that is eligible for this incentive. Useful for restricting invites to new users only. |
recipient_reward | Reward | The rewards that the incentive recipient should receive. |
sender_reward | Reward | The rewards that the incentive sender should receive. |
max_concurrent | int | The maximum number of times this incentive can be created by an individual user. |
expiry_duration_sec | int64 | The duration, in seconds, before the incentive expires. |