# Exchange Rules

## Where can I find them?

Open config.yml file, all content above the "mysql" key is exchange rules config.

In the example config.yml file, we provide 2 exchange rules for you, which is named "Default\_Rule" and "VIP\_Rule".

## Rule Name

"Default\_Rule" is Rule Name. It will be used in command arg, its can't have special characters, otherwise plugin will print error and can not be used.

For example, "Default-Rule" is a incorrect name, because it is includes "-" character.

## Rule Options

All rule have 6 rule options:

* Exchange Economy Type

```
exchange-economy-type: PlayerPoints
```

Economy Type can be set to: "PlayerPoints", "Vault", "GamePoints", "EliteMobs", "PlayerTitle", "PlayerTask", "PEconomy;;\<currencyName>", "UltraEconomy;;\<currencyName>" or "Custom;;\<placeholder>;;\<giveCommand>;;\<takeCommand>".

* Exchange Economy Amount

```
exchange-amount: 1
```

Economy Amount must be a positive integer.

* Cost Economy Type

```
cost-economy-type: Vault
```

* Cost Economy Amount

```
cost-amount: 100
```

* Max use times per players

```
max-times-per-players: 10
```

* Max use times global server

```
max-times-global-players: 100
```


---

# 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://economyexchange.superiormc.cn/features/exchange-rules.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.
