# Skulls in Menus

## Overview

FateHubCore supports using skulls as menu items! You may do this via the built in spigot system, [Skulls](https://www.spigotmc.org/resources/skulls-the-ultimate-head-database.90098/), or [HeadDatabase](https://www.spigotmc.org/resources/head-database.14280/).

## Spigot System Tutorial

The first step is to set your item

```
        material: "SKULL_ITEM"
```

Or when using a newer version of Spigot

```
       material: "PLAYER_HEAD"
```

Then you must set the durability/data value

```
        durability: 3
```

Then the final step is to add this

```
        skullOwner: "Username Here"
```

Now you have setup your skull item!

### Example Spigot System Item

```
      item-1:
        name: "&e&nFactions&b &7| &cSeason I"
        material: "SKULL_ITEM"
        skullOwner: "Noodles_YT"
        durability: 3
        slot: 12
        amount: 1
        glow: true
        message:
          enabled: false
          text: "&eHello &b<player>!"
        command:
          enabled: true
          #Put command without /
          execute: "joinserver UHCGames"
        action: ""
        lore:
          - ""
          - " &7* &bVersion&7: &31.7.x - 1.14.x"
          - " &7* &bOnline&7: &3{online-factions}"
          - " &7* &bStatus&7: &3{status-factions}"
          - " &7* &bIn-Queue&7: &3{queued-factions}"
          - ""
          - "&eClick to join the &b&lFactions &equeue&7."
```

### Spigot System Troubleshooting

Some people have noted that the skins will not be correct or change a few seconds later. This is an issue with the Minecraft Skin Servers. To fix this, you can enter the name of the head you want on this website page:

{% embed url="<https://minecraft-heads.com/custom-heads/heads-generator>" %}

It will then redirect you to a page where it will let you copy the Minecraft URL. Use this under the skullOwner section. Below are pictures outlining this process.

{% embed url="<https://www.bghddevelopment.com/cdn-cgi/imagedelivery/6pDiUJVklyFQ8zDPATvmkQ/e61d4f8b-58ba-4e55-8bc1-dccaf5b26500/public>" %}

{% embed url="<https://www.bghddevelopment.com/cdn-cgi/imagedelivery/6pDiUJVklyFQ8zDPATvmkQ/880eb7d8-c3f0-43de-d039-c21a0a743d00/public>" %}

{% embed url="<https://www.bghddevelopment.com/cdn-cgi/imagedelivery/6pDiUJVklyFQ8zDPATvmkQ/62ca22cf-5742-404d-537b-99f554df9d00/public>" %}

In the end the heads will then show correctly again.

{% embed url="<https://www.bghddevelopment.com/cdn-cgi/imagedelivery/6pDiUJVklyFQ8zDPATvmkQ/abd5884e-da14-436f-a847-f980a8822f00/public>" %}

## Head Database Tutorial

The only step is to add

```
     head-database: true
     skullOwner: "Username/ID Here"
```

You may find ID's on the [head website](https://minecraft-heads.com).

**Your material, amount, durability will be ignored as it's not needed for that item.**

### **Example Head Database Item**

```
      item-1:
        name: "&e&nFactions&b &7| &cSeason I"
        material: "TNT"
        durability: 0
        head-database: true
        skullOwner: "6569"
        slot: 12
        amount: 1
        message:
          enabled: false
          text: "&eHello &b<player>!"
        command:
          enabled: true
          #Put command without /
          execute: "joinqueue factions"
        action: ""
        lore:
          - ""
          - " &7* &bVersion&7: &31.7.x - 1.14.x"
          - " &7* &bOnline&7: &3{online-factions}"
          - " &7* &bStatus&7: &3{status-factions}"
          - " &7* &bIn-Queue&7: &3{queued-factions}"
          - ""
          - "&eClick to join the &b&lFactions &equeue&7."
```

![Example HeadDatabase Result](https://photos.bghddevelopment.com/7pdT9X.png)

## Skulls System Tutorial

This is a free alternative to using HeadDatabase. Once you have downloaded and installed [Skulls](https://www.spigotmc.org/resources/skulls-the-ultimate-head-database.90098/) add:

```
     skulls: true
     skullOwner: "ID Here"
```

This is just like using HeadDatabase but just with the extra `skulls: true` added.

### **Example Skulls Item**

```
      item-1:
        name: "&e&nFactions&b &7| &cSeason I"
        material: "TNT"
        durability: 0
        skulls: true
        skullOwner: "1461"
        slot: 12
        amount: 1
        message:
          enabled: false
          text: "&eHello &b<player>!"
        command:
          enabled: true
          #Put command without /
          execute: "joinqueue factions"
        action: ""
        lore:
          - ""
          - " &7* &bVersion&7: &31.7.x - 1.14.x"
          - " &7* &bOnline&7: &3{online-factions}"
          - " &7* &bStatus&7: &3{status-factions}"
          - " &7* &bIn-Queue&7: &3{queued-factions}"
          - ""
          - "&eClick to join the &b&lFactions &equeue&7."
```

![Example](https://photos.bghddevelopment.com/sQ0bcH.png)
