Перейти к основному содержимому

Give Reward Action

The Give Reward Action adds a defined reward to the player's pending queue.

Configuration

reward

" required> The template of the reward to give.

artifact

" required> The storage artifact where the queue is saved.

customDataString

Optional JSON string attached to this specific instance. Useful for passing dynamic data to the claim event.

Scheduling (Cron)

useCronBoolean

Enable time-based checks.

cronExpressionString

Cron expression (e.g. 0 0 0 * * * for daily).

Behavior: If enabled, the action checks if the player has already received this reward within the current cron window. If so, it does nothing. Useful for "Daily Rewards".

action:
type: btc_give_reward
reward: "daily_bonus"
useCron: true
cronExpression: "0 0 0 * * *"