aboutsummaryrefslogtreecommitdiffstats
path: root/docs/task-types/playerpoints_earn.md
blob: 6bdbf463637b7b89eeeb5534529fb4452589ee02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
title: playerpoints_earn
parent: External task types
grand_parent: Task types
---

# playerpoints_earn (task type)

Since v3.14
{: .label .label-green }

Plugin 'PlayerPoints' required
{: .label }

Earn a number of points.

## Options

| Key      | Description           | Type    | Required | Default | Notes |
|----------|-----------------------|---------|----------|---------|-------|
| `amount` | The number of points. | Integer | Yes      | \-      | \-    |

## Examples

Earn 10 points:

``` yaml
playerpoints:
  type: "playerpoints_earn"
  amount: 10                             # number of points to earn
```