gain_task_xp
Categories: economy
Required arguments
| Key(s) | Description | Type |
|---|---|---|
task | The ID of the task to give experience towards. | STRING |
quest | The ID of the quest that contains the task. | STRING |
xp | The amount of task experience to gain. | EXPRESSION |
Trigger parameters required
PLAYER
Example
effects:
- id: gain_task_xp
args:
task: chop_10_logs
quest: mining_master
xp: 10 + %level% * 5
Behaviour
| Setting | Value |
|---|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |