# How to use in plugins

You can use any head from AdvancedHeads database in other plugins. You will need the "base64" value of it.&#x20;

### How to get base64 from any advanced head

Hold that head in your hand and run command `/ahd info`. You will be able to see information about this head - the name, ID and base64.

<figure><img src="/files/6iGARMBs5tPGFDMtfUso" alt=""><figcaption></figcaption></figure>

Click on `Base64`, you will be able then to copy the value by clicking CTRL+A, then CTRL+c (CTRL will be Command button in MacOs). Now that you have the Base64, let's learn how to use it in other plugins.

### DeluxeMenus

Set `material: basehead-<value>` ,\<value> to base64m e.g. from the head above

`material: basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjBlYjY0NzcxMzY0Y2M1NDY5ZThjNWVhNmEzYWQ1ZDgyYmIyZTdlYjU3MjFkY2Y5OGIzNDI0Mzc5MWM2Y2I3In19fQ==`\
This will set the displayed GUI item to any head you want.

Link to their Wiki explanation: <https://wiki.helpch.at/clips-plugins/deluxemenus/options-and-configurations/item#material>

### ShopGUI+

Set skin's value to the base64 value we already have. Here's an example:

{% code overflow="wrap" lineNumbers="true" %}

```yaml
item:
  material: PLAYER_HEAD
  quantity: 1
  skin: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjBlYjY0NzcxMzY0Y2M1NDY5ZThjNWVhNmEzYWQ1ZDgyYmIyZTdlYjU3MjFkY2Y5OGIzNDI0Mzc5MWM2Y2I3In19fQ==
```

{% endcode %}

Link to their Wiki explanation: <https://docs.brcdev.net/#/item-meta?id=_113-2>

### Other plugins

Other plugins will have similar ways of using our heads within their own. If you have questions visit our [Discord server](https://advancedplugins.net/discord) where we will help you set it up.


---

# 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://heads.advancedplugins.net/information/how-to-use-in-plugins.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.
