btc_give_reward
Adds a reward to a player's pending queue (with optional cron scheduling) — action entry.
Entry Information
| Property | Value |
|---|---|
| Entry ID | btc_give_reward |
| Type | Action |
| Color | Red |
| Icon | mdi:gift-outline |
Fields
| Field | Type | Description |
|---|---|---|
artifact | Ref<RewardsArtifactEntry> | Artifact for reward storage |
reward | Ref<RewardDefinitionEntry> | Reward definition to give |
customData | String | Custom data to attach to this reward instance (JSON format) |
useCron | Boolean | Enable cron-based scheduling (e.g., daily, weekly rewards) |
cronExpression | CronExpression | Cron expression for scheduled rewards (e.g., '0 0 0 * * *' for daily at midnight). Only used if useCron is true. |
Usage Example
- entry: btc_give_reward
name: "Adds a reward to a player's pending queue (with optional cron scheduling)"
artifact: ""
reward: ""
customData: ""
useCron: false
cronExpression: ""