# 💸 AutoSell

The **AutoSell System** allows players to automatically sell items from their inventory. This feature helps streamline the selling process and increases efficiency in economy-based servers.

Players with the base permission `vortexprisoncore.autosell` and appropriate tier permissions `vortexprisoncore.autosell.tier1`  can access the autosell GUI with `/autosell`.&#x20;

Players can add items to `/autosell` gui so that item autosells as soon as player gets it which can be toggled via `/autosell on/off`

#### Configuration

```yaml
# AutoSell config

# Price provider. Types: 'ShopGUIPlus', 'Essentials'
Price Provider: 'ShopGUIPlus'

# GUI Config
Tiers:
  '1':
    Name: 'Tier 1 AutoSell'
    Rows: 1 # How many rows the GUI should have
  '2':
    Name: 'Tier 2 AutoSell'
    Rows: 2 # How many rows the GUI should have
  '3':
    Name: 'Tier 3 AutoSell'
    Rows: 3 # How many rows the GUI should have
  '4':
    Name: 'Tier 4 AutoSell'
    Rows: 4 # How many rows the GUI should have
  '5':
    Name: 'Tier 5 AutoSell'
    Rows: 5 # How many rows the GUI should have
  '6':
    Name: 'Tier 6 AutoSell'
    Rows: 6 # How many rows the GUI should have
```

#### Explanation

**Price Provider**

* Determines where the plugin will get item prices from.
* Supported options:
  * **`ShopGUIPlus`** – Uses prices from ShopGUIPlus.
  * **`Essentials`** – Uses prices from Essentials Economy.

**Tiers**

AutoSell has different tiers, each defining the **size of the GUI** where items are stored before being sold.

* **Name**: The name of the AutoSell tier.
* **Rows**: The number of inventory rows in the AutoSell GUI (1-6 rows).

#### Example

```yaml
Tiers:
  '3':
    Name: 'Tier 3 AutoSell'
    Rows: 3
```

This means **Tier 3 AutoSell** will have a GUI with **3 rows**, allowing players to store and sell more items at once.

#### Customization

* Add new tiers by increasing the tier number and specifying the number of rows.
* Change the price provider to match your server’s economy system.


---

# 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://wiki.vortexdevelopment.net/projects/vortexprisoncore/autosell.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.
