> For the complete documentation index, see [llms.txt](https://trades.advancedplugins.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trades.advancedplugins.net/configuration/items.md).

# Items

With AdvancedTrades, your villagers can trade custom items with fully modifiable NBT tags, names, materials and custom model data.

Modifiable settings for item configurations:

* **type** - item's material
* **id** - item's durability
* **amount** - item's amount
* **name** - item's custom name
* **lore** - item's custom lore
* **item-flags** - list of item flags applied to items
* **custom-model-data** - item's custom model data for custom textures
* **force-glow** - set whether item should glow or not
* **enchantments** - list of enchantments applied to item
* **rgb-color** - item's color (applyable for colored leather armor)
* **nbt** - set item's custom nbt (json format)

Example of all settings in effect:

```yaml
      item: 
        amount: 1
        name: '&cCustom chestplate'
        lore:
          - '&dExclusive from &dVillagers'
        enchantments:
          - 'Protection:20'
          - 'Unbreaking:2'
        item-flags:
          - 'HIDE_ENCHANTS'
        custom-model-data: 1
        force-glow: false
        rgb-color: 255;0;0
        nbt: '{CanDestroy:["minecraft:diamond_ore"],CustomNBTData:"test:true"}'
```


---

# 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:

```
GET https://trades.advancedplugins.net/configuration/items.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.
