# Collect shop revenue

## Auto-deposit owner

By default, all money earned from shops will automatically be deposited to the owner. This also works offline, and the owner will get a notification whenever someone buy's anything from the shop.

## Require manual collection

Manual collection requires the shop owner to open the shop editor and click on the "collect money" item (gold ingot) in order to get the shop's revenue. If you enable this, all players your shop is [trusting ](https://vebjorn-elvekrok.gitbook.io/villager-market/trusted-system)can also collect the money.

To enable this, set `require-collect` in the config.yml to `true:`

```yaml
#Should players be required to collect the earned money in the edit shop GUI?
require_collect: true
```


---

# 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://vebjorn-elvekrok.gitbook.io/villager-market/collect-shop-revenue.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.
