# Using with Citizens NPCs

Integrate the BattlePass plugin functionalities with NPCs using the Citizens plugin to enhance player interaction and engagement on your Minecraft server.

## Required Plugins

* **BattlePass** plugin
* **Citizens** Plugin

## Steps

### 1. Create NPCs

First, create NPCs for each BattlePass menu you wish to integrate:

```
/npc create <NPC Name> --type PLAYER
```

### 2. Assign Commands to NPCs

Assign the following commands to your NPCs to enable players to access various BattlePass menus by interacting with them.

| Command                                  | Description              |
| ---------------------------------------- | ------------------------ |
| /npc command add bp open portal -p       | Open main menu           |
| /npc command add bp open daily-quests -p | Open daily quests' menu  |
| /npc command add bp open quests -p       | Open weekly quests' menu |
| /npc command add bp open rewards -p      | Open rewards menu        |

### 3. That's all!

As simple as that - set up NPCs with BattlePass!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://battlepass.advancedplugins.net/useful/using-with-citizens-npcs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
