# Item

## Syntax

```yaml
...
  item:
    material: TEXT
    ...
```

## Material

Material have lot of things to set...

```yaml
material: TEXT
```

**Available material values:**

* Normal item (e.g.: STONE)
* Player Head\
  1.8-1.12:\
  &#x20; material: SKULL\_ITEM\
  &#x20; data: 3\
  &#x20; skin: \<player name>\
  1.13+:\
  &#x20; material: PLAYE&#x52;*\_*&#x48;EAD\
  &#x20; skin: \<player name>
* Base64/Texture Head\
  1.8-1.12:\
  &#x20; material: SKULL\_ITEM\
  &#x20; data: 3\
  &#x20; base64: \<base64 texture value>\
  1.13+:\
  &#x20; material: PLAYE&#x52;*\_*&#x48;EAD\
  &#x20; base64: \<base64 texture value>\
  \
  \- Find head skin value here `https://textures.minecraft.net/textures/`

## Data

Data is a number, that defines type for specific items.

```yaml
data: #
```

{% hint style="info" %}
Data is required and use only in version 1.8-1.12.2
{% endhint %}

## Amount

Amount of the item in the menu.

```
amount: #
```

## Custom model data

```yaml
custommodeldata: #
```

## Name

Name of the item. Support's PlaceholderAPI and [Hex colors](/shopsystem/setup/hex-colors.md)

```yaml
name: TEXT
```

## Lore

Lore of the item. Support's PlaceholderAPI and [Hex colors](/shopsystem/setup/hex-colors.md)

```yaml
lore: 
- TEXT
- TEXT 2
```

## Enchants

Add enchants to the item. Full list of enchants here -> [1.8](https://helpch.at/docs/1.8/org/bukkit/enchantments/Enchantment.html#) | [1.13](https://helpch.at/docs/1.13.2/org/bukkit/enchantments/Enchantment.html#) | [1.18](https://helpch.at/docs/1.18/org/bukkit/enchantments/Enchantment.html#)

format: ENCHANT;LEVEL\
e.g.: MENDING;2

```yaml
enchants:
- TEXT
```

## ItemFlags

Set item flags to the item.

```yaml
itemflags:
- TEXT
```


---

# 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://gennarioplugins.gitbook.io/shopsystem/setup/item.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.
