# 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="https://3757509724-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNDIkpfP9aokpBUK8Gs8%2Fuploads%2FsjU0JvIzjqlxrbjcl2Ig%2Fimage.gif?alt=media&#x26;token=6d99a127-30af-4f57-8caf-5c41570ad800" 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>
