aboutsummaryrefslogtreecommitdiffstats
path: root/docs/task-types/znpcsplus_interact-(task-type).md
blob: 6f4f17caded5b59e9a88bd07ff3c6b780a7703d4 (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
33
34
35
---
title: znpcsplus_interact
parent: External task types
grand_parent: Task types
---

# znpcsplus_interact (task type)

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

Plugin 'ZNPCsPlus' required
{: .label }

Interact with a ZNPCsPlus NPC.

## Options

| Key        | Description                                     | Type                | Required | Default | Notes                               |
|------------|-------------------------------------------------|---------------------|----------|---------|-------------------------------------|
| `npc-name` | The name of the NPC to interact with.           | String              | No       | \-      | Mutually exclusive with `npc-id`.   |
| `npc-id`   | The id of the NPC to interact with.             | String              | No       | \-      | Mutually exclusive with `npc-name`. |
| `worlds`   | Worlds which should count towards the progress. | List of world names | No       | \-      | \-                                  |

## Examples

Interact with an NPC with ID "gerald":

``` yaml
znpcsplusinteract:
  type: "znpcsplus_interact
  npc-id: "gerald"                      # ID of NPC
  worlds:                               # (OPTIONAL) restrict to certain worlds
   - "world"
```