# Installation

{% stepper %}
{% step %}

### Purchase and download

EliteVaults is a paid plugin available on [BuiltByBit](https://builtbybit.com/resources/elitevaults-advanced-vaults-plugin.95407/). After purchasing, download the latest `.jar` file from the resource page. Always use the latest version. Older versions won't receive support.
{% endstep %}

{% step %}

### Install the plugin

Drop the `EliteVaults.jar` file into your server's `plugins/` folder. That's it. Start or restart your server and the plugin will generate its config files automatically.
{% endstep %}

{% step %}

### Review the config

On first startup, EliteVaults creates:

* `plugins/EliteVaults/config.yml` - all plugin settings
* `plugins/EliteVaults/lang/en_US.yml` - all player-facing messages
* `plugins/EliteVaults/data/elitevaults.db` - the SQLite database (if using SQLite)

Open `config.yml` and review the available options. The default values are suitable for most servers, but you may want to adjust a few settings based on your setup.
{% endstep %}

{% step %}

### Set up [permissions](/resources/plugins/elitevaults.md#permissions)

EliteVaults uses permission nodes to control how many vaults a player can access. Players without any specific permission are assigned the default amount defined by `vaults.default-vault-count` (default: 1).

Only one tier should be assigned per rank. If a player has multiple tiers, the highest one will be applied automatically. Additional vaults can be granted at any time using `/evadmin give <player> <count>`.
{% endstep %}

{% step %}

### Optional: Database setup

If you prefer a proper database, switch the storage backend to MySQL in `config.yml`:

```yaml
storage:
  type: MYSQL # SQLITE or MYSQL
  mysql:
    host: localhost
    port: 3306
    database: elitevaults
    username: root
    password: "changeme"
    pool:
      # Number of database connections to keep open. 0 = auto (recommended).
      maximum-pool-size: 0
```

MariaDB works exactly the same way - just point `host` at your MariaDB server (keep `type: MYSQL`).
{% endstep %}
{% endstepper %}


---

# 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://myelitewiki.gitbook.io/resources/plugins/elitevaults/installation.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.
