Player Heads

How to display a player's head as 2D or 3D image in a menu.

Player Heads in Menuslink

To display a player's head as a 2D or 3D image using an Image element, you can use a 3rd-party web API called "Minotar".

2D Imagelink

1. Add an Image Elementlink

In the FancyMenu editor, right-click on the background, select "New Element," and then choose "Image" (or "Picture").

2. Set the Web Sourcelink

Right-click the Image element to access its properties. For the source type, select "Web."

3. Construct the URL with the Correct Placeholderlink

In the "Source" field, you would enter the following URL:
https://minotar.net/avatar/{"placeholder":"playername"}.png

FancyMenu will use the {"placeholder":"playername"} to dynamically insert the current player's username into the URL, allowing the Image element to fetch and display their head from Minotar.

3D Imagelink

This one's pretty similar to the 2D version, but here we need to use a different URL:

https://minotar.net/cube/{"placeholder":"playername"}/200.png

The 200 is the pixel size in this case, so if you want a smaller version, just replace it with 100 for example, or for a bigger version, use 300 and so on.