# Config Items

All AdvancedPlugins use similar item configuration format. You can follow this guide to configure your items.

## Item Configuration

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

### **armor-trim**

set item's trim material and pattern (new in Minecraft 1.20)

* format: `'MATERIAL;PATTERN'`, e.g. `QUARTZ;COAST`
* Trim material: <https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/meta/trim/TrimMaterial.html>
* Trim pattern: <https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/meta/trim/TrimPattern.html>
* **force-glow**

set whether item should glow or not

### **enchantments**

list of enchantments applied to item

### **custom-enchantments**

list of custom enchantments \**present in AdvancedEnchantments only*

### **rgb-color**

item's color (applyable for colored leather armor)

### **nbt**

set item's custom nbt (json format)

### **owner**

skull's owner. It can be player username or base64

### **unbreakable**

set item unbreakable (boolean - true/false)

### **itemsadder**

use custom item from ItemsAdder plugin (item's name)

## Configuration Example

```yaml
item: 
  amount: 1
  name: '&cCustom chestplate'
  lore:
    - '&dExclusive from &dVillagers'
  enchantments:
    - 'Protection:20'
    - 'Unbreaking:2'
  custom-enchantments:
    - 'glow:1'
  item-flags:
    - 'HIDE_ENCHANTS'
  custom-model-data: 1
  armor-trim: 'DIAMOND;SILENCE'
  force-glow: false
  rgb-color: 255;0;0
  owner: 40b7ff035bb8761eb40e86f3a17faee349dbcccd84a77703b47e9894a1df847f #base64
  nbt: '{CanDestroy:["minecraft:diamond_ore"],CustomNBTData:"test:true"}'
  unbreakable: true
  itemsadder: 'lava_pickaxe'
```

<figure><img src="/files/IlfKqcoaiBoItJwGelTY" alt=""><figcaption><p><a href="https://mintservers.com/?utm_source=gitbook_wiki&#x26;utm_medium=banner&#x26;utm_content=gitbook"><strong>Sponsored by MintServers. AdvancedPlugins.net integration &#x26; auto updates. Unlimited RAM plan for only $9.99!</strong></a></p></figcaption></figure>


---

# 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://wiki.advancedplugins.net/configuration/config-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.
