aboutsummaryrefslogtreecommitdiffstats
path: root/docs/task-types/playerkilling-(task-type).md
blob: 0ce145a9c90001205531e2479fdf24206dc24c37 (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
32
---
title: playerkilling
parent: Built-in task types
grand_parent: Task types
---

# playerkilling (task type)

Since v2.0
{: .label .label-green }


Kill a set amount of players.

## Options

| Key      | Description                                     | Type                | Required | Default | Notes |
|----------|-------------------------------------------------|---------------------|----------|---------|-------|
| `amount` | The number of players to kill.                  | Integer             | Yes      | \-      | \-    |
| `worlds` | Worlds which should count towards the progress. | List of world names | No       | \-      | \-    |

## Examples

Kill 10 of any player:

``` yaml
killplayers:
  type: "playerkilling"
  amount: 10                            # amount of players to kill
  worlds:                               # (OPTIONAL) restrict to certain worlds
   - "world"
```