> For the complete documentation index, see [llms.txt](https://gyzer.gitbook.io/legendaryguild-english/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gyzer.gitbook.io/legendaryguild-english/configuration/guild-shop.md).

# Guild Shop

Customizable unlimited guild products can be added, and product prices and conditions can be set through [Requirements](/legendaryguild-english/configuration/requirements.md)

* Unlimited addition of products&#x20;
* Daily purchase restrictions&#x20;
* Weekly purchase restrictions&#x20;
* Monthly purchase restrictions&#x20;
* Lifetime purchase restriction

The product configuration file for the guild store is located at **Contents/config/GuildShop.yml**

{% hint style="info" %}
The product consists of the following nodes

1. The following nodes display item settings in the GUI without further explanation.

```
display: '商品1'
material: APPLE
amount: 1
data: 0
model: 0
lore: []
```

2. requirements：Product price, demand
3. run：Execution group after purchase
4. buy\_limit.type（optional）：Product purchase restriction type
5. buy\_limit.amount（optional）：Product purchase limit quantity
   {% endhint %}

## Example

Create a new restricted purchase item

```
items:
  shop2:
    display: '商品2'
    material: APPLE
    amount: 1
    data: 0
    model: 0
    lore:
      - '&f'
      - '&fItems:'
      - '&f &7- Coin ×50'
      - ''
      - '&fPrice: &a100 Guild Points'
      - '&fCurrent Guild Points: &a%points%'
      #%limit%is a purchase restriction prompt. If the product does not have a purchase restriction, it will not be displayed
      - '%limit%'
    requirements:
      - 'guild_points;100'
    run:
      - '[console]money give %player% 50'
    buy_limit:
    #  Type List —— Once：Lifetime purchase restriction
    #               Day：Everyday purchase restriction
    #               Week：Every week purchase restriction
    #               Month：Every month purchase restriction
      type: Day
    #  Limited purchase quantity
      amount: 25
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://gyzer.gitbook.io/legendaryguild-english/configuration/guild-shop.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
