Ultra Customizer Guides
  • 👋Welcome
  • ❔Basics
    • Getting started
    • Elements details
    • Manage folders
      • Global management
      • Import export
  • 💻GUI's
    • How to open your GUI
    • Custom buttons
      • Custom button icon
      • Player head (Opening the GUI)
    • Button Lores
      • Players placeholders
    • Unlockable Buttons
  • ⚙️Simple systems
  • Creating a mute chat script
    • Creating the /mutechat command
    • Creating the /unmutechat command
    • Creating the script
  • Text message replacement
    • Creating the script
  • ---------------------------
    • Changelog
Powered by GitBook
On this page

Was this helpful?

  1. GUI's
  2. Custom buttons

Player head (Opening the GUI)

In this guide, you'll learn how to make a button with the player's head that opens the GUI.

PreviousCustom button iconNextButton Lores

Last updated 3 years ago

Was this helpful?

Getting the head

First, we'll need to create a custom player head, which can be accomplished with the command below.

≥1.13

$ /minecraft:give @s minecraft:player_head{SkullOwner:"{Player}"}

≤1.12

$ /minecraft:give @p minecraft:skull 1 3 {SkullOwner:"{Player}"}

Once we have the head, we can add it to our GUI. This must be done in the GUI button overview (Screenshot below)

In this view, you must press the head you just obtained from your inventory. When someone opens the GUI, it will display their head.

To all 1.8.8 users! You need to rename the head in an anvil

We are now finished and can launch our GUI

💻