# Custom Guild Tree Water Bottle

{% hint style="info" %}
The custom configuration node for adding a divine tree watering kettle is as follows

* display：Display Name
* requirements：Price, demand Specific View  **Requipments**
* run：Execute command group after use Specific View  **Run**
* day：Daily usage limit for this kettle （Unrestricted for **-1**）
* addExp：The number of **exp** added to the guild tree after use
* addPoints：Increased player **guild points** value after use
  {% endhint %}

## Example

Create a new kettle and display it in the divine tree interface.

* The kettle ID is an `远古水壶`
* &#x20;Using this pot requires a fee of **1000 coin**
* &#x20;Using this pot requires the consumption of `32 diamonds`&#x20;
* To use this pot , you need to consume 1 custom item `&c水壶兑换权券`
* Increase **1000** guild tree exp and **5000 guild points** after use&#x20;
* **20%** chance of returning **200** points after use&#x20;
* Can only be used **once a day**

{% code title="Contents/config/WaterPots" %}

```
pots:
  远古水壶:
    display: '&4&l&n远古水壶'
    requirements:
      - 'item;DIAMOND;0;32'
      - 'customitem;&c水壶兑换权券;1'
      - 'playerpoints;1000'
    run: 
      - '[console]points give %player% 200 ~chance:0.2'
    day: 1
    addExp: 1000.0
    addPoints: 5000.0
```

{% endcode %}

* Display the kettle in the guild tree GUI

Add the following under `customItem` in `GuildTree.yml`：

<pre><code><strong>customItem:
</strong><strong>  远古水壶:
</strong>    display: '&#x26;4&#x26;l&#x26;n远古水壶'
    material: BUCKET
    data: 0
    model: 0
    #%use% represents the number of times the kettle has been used today
    lore:
      - '&#x26;f '
      - '&#x26;7use demands:'
      - '&#x26;f - PlayerPoints×1000'
      - '&#x26;f - Diamond×32'
      - '&#x26;f - &#x26;c水壶兑换券×1'
      - '&#x26;7Add Exp: &#x26;a1000'
      - '&#x26;7Can Earn Points: &#x26;a5000点'
      - '&#x26;f'
      - '&#x26;cLimited to &#x26;a%use%/1 &#x26;ctimes per day.'
    fuction:
      type: pot
      #Corresponding to the kettle ID in WaterPots.yml
      value: 远古水壶
    slot: [43]
</code></pre>

* [x] 大功告成！


---

# 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://gyzer.gitbook.io/legendaryguild-english/configuration/custom-guild-tree-water-bottle.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.
