> For the complete documentation index, see [llms.txt](https://gstudios.gitbook.io/gsshopsystem/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gstudios.gitbook.io/gsshopsystem/setup/config.yml.md).

# config.yml

## :moneybag: Economy setup

#### - Economy types

You can use multiple economy types at one.\
Here is all supported economy types:

* GOLDS - economy integrated in the plugin (messages included in languages files)
* VAULT - economy connected to the vault
* PLAYERPOINTS - playerpoints economy
* ULTRAECONOMY\_ - BeastTokens plugin

{% code title="syntax" overflow="wrap" lineNumbers="true" %}

```yaml
economy:
  enabled-economies:
    - ...
```

{% endcode %}

#### - Economy format

You can edit visible economy format.

Use placeholder **%amount%** for amount value.\
Format: 'type: format'

{% code title="syntax" overflow="wrap" lineNumbers="true" %}

```yaml
economy:
  formats:
    type: '%amount%'
```

{% endcode %}

Usage of economy formats in configurations.\
Format: '%economy\_\<eco>%'\
Example: '%economy\_golds%'

#### - Gold economy

If you want to use included Gold economy, you can edit lot of things!\
At first you can change main /gold command to your own. Then you can enable/disable any of the commands from the list below. If you want you can change permissions to.\
\
Default amount and default tax...\
\- If you will change these values, the new players will get these values after the first join. This new values will not be applyed to old players.\
\
All gold messages is in langugage file.

## :space\_invader: Support a creator

Let the creators on your server create their own code, which they can share among their community and earn a % of every fan who uses their code.<br>

**How to ad support a creator head to the menu?**\
Add to the gui map symbol, that you have in config.yml

**Code expiration**\
Each time the code is entered, an expiration date is set when the user must reactivate the code.\
You can change expiration in the config.yml

format: time+time+time (10d+5h+5m+6s)\
`code-expiration: 7d`

**Percentage**\
When a user purchases an item with a code, the owner gets a given percentage of the amount spent.

## :shopping\_cart: Shopping cart
