# GUI

Manual, how to configure items at GUI.

## Locale/GUI.yml

Configuration file, where all data and translations about items are located.

```yaml
Count: #Item's key. Maintained by system, can't be changed.
   HeadName: 
    EN: "&2&lActivity"
   Lore:
    EN:
     - "&6\u25CF &3Active &6\u00BB &7{option__figure__particle__activity}"
     - ""
     - "&6\u25CF &7Click"
     - " &2\u2022 &7Toggle flag"
   Material: "CHEST" #Name of the material
   MaterialData: 0 #Metadata of the item. Especially color. Only for 1.8.8 - 1.12.X
   Slot: 3 #Slot number where item will be played in inventory
   SkullData: "textures" #Texture value of player's head. 
   ItemFlagList: #Flags applied to item.
   - HIDE_ENCHANTS
   CustomModelData: 0 #Is an integer that may be associated client side with a custom item model. Supported at 1.14.X and aboove.
```

### ItemFlags

* HIDE\_ENCHANTS
* HIDE\_ATTRIBUTES
* HIDE\_UNBREAKABLE
* HIDE\_DESTROYS
* HIDE\_PLACED\_ON
* HIDE\_POTION\_EFFECTS
* HIDE\_COLOR - 1.16.X and above

### Helpful stuff

Materials: <https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html>

Textures of player's head: <https://minecraft-heads.com>

Grid can help you to compute right slot index.

<figure><img src="https://1976143074-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLJoFzkAGLhrcX9C4iXwD%2Fuploads%2FU8xPMbb8i2aWSyJuuCPs%2FGUI%20-%20GridSlot%209x6.jpg?alt=media&#x26;token=2115919a-13d1-4094-93f0-9619dfd34dd4" alt=""><figcaption></figcaption></figure>
