# Configuration

{% embed url="<https://youtu.be/9UpA__a6YrE>" %}
Avampost configuration video.
{% endembed %}

## 1. Define the Avampost region.

* Ensure you have **WorldGuard** installed.
* Set two positions using `//wand`.
* Define the region using the command: `/region define [name]`.
* Activate the avampost system by setting the flag with: `/region flag [name] avampost-system true`.

## 2. Define the Avampost File

* Duplicate the example "avamposto" (which refers to the OutPostID) provided in the initial file.
* Rename the `outpostID` to a unique identifier.
* Update the region to match the name you set up in the previous step.
* Update the MythicMobs entry with a mob that exists in your MythicMobs configuration.

Once done, you're ready to play and capture the Avampost!

## Setting up Avampost rewards:

Rewards are executed as console commands, allowing the use of the variable `%player%`:

* Execute `/avampost admin edit` and select "modify avampost".
* Choose the avampost you wish to modify and navigate to "Rewards".
* Click "Add new Reward" and input the desired console command (omit the initial '/').
  * Example: To send a message, input: `say %player% has conquered the Avampost!`

<figure><img src="/files/10L6WbZFkS5Un8Fikoav" alt=""><figcaption><p>Avampost rewards editor menu</p></figcaption></figure>


---

# 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://docs.anotherlevel.it/documentation/outposts/configuration.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.
