Skip to Content
MineDuels

Player heads

Every way to show a head in MineDuels: menu items, custom textures, icons, name text and the tab list.

There are five places a head can appear. They use different settings, so pick the one that matches what you want.

You wantUseSection
A player's own skin in a menu (party member, friend, leaderboard entry)material: PLAYER_HEADHeads in menus
A custom head (a globe, a flag, a trophy) on a menu buttontexture: in regions.ymlCustom textures
A small face inside text<icon:name> with head:Face in text
The face of a named player in a message or scoreboard line<mdhead:Name>The mdhead tag
The face of players from other servers in the tab listnetwork.head in tab.ymlTab list

Heads in menus

Set the material of an item to PLAYER_HEAD. In menus that are about a player, the head shows that player's skin. You do not name the player. The menu fills it in.

# guis/party/members.yml
member-item:
  material: PLAYER_HEAD
  name: "<white>%member%"
  lore: ["%role%"]
  glow: false

These items show the skin of the player they are about:

Menu fileItemSkin shown
guis/party/menu.ymlinfo-itemThe party leader
guis/party/members.ymlmember-item, manageable-itemThe member
guis/party/duel.ymlparty-itemThe leader of the other party
guis/party/teams.ymlmember-itemThe member
guis/social/friends.ymlonline-item, offline-itemThe friend
guis/social/clan.ymlmember-item, manageable-itemThe clan member
guis/stats/stats.ymlsummary-itemThe player whose stats you view
guis/stats/leaderboard.ymlboard.entry-itemThe player in that place
guis/spectate.ymlplayers.player-itemA player of the watched match

Any other item with PLAYER_HEAD shows the default head. For example, settings/lobby.yml uses a head for the lobby players setting, and it looks like a plain head.

Change the head into another item to remove the skin. A normal item such as PAPER is left as it is.

member-item:
  material: PAPER
  name: "<white>%member%"

Custom textures

A custom texture is the Base64 value of a skin. The regions menu supports it. This menu exists on networks with several proxies. See Regions.

# regions.yml
regions:
  sg:
    display: "<aqua>Singapore"
    default: false
    item:
      slot: 11
      material: PLAYER_HEAD
      texture: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvSEFTSCJ9fX0="
      name: "%display%"
      lore: ["%state%", "<gray>Servers: <white>%servers%", "", "<yellow>Click to switch"]
      glow: false
  eu:
    display: "<green>Europe"
    item:
      slot: 13
      material: PLAYER_HEAD
      texture: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvSEFTSCJ9fX0="
      name: "%display%"

The example texture points to a placeholder hash (HASH), so it shows a default head. Replace it with a real one.

Get a texture

From a head website. Open a head on minecraft-heads.com, scroll to the Other section and copy the value called Value. Paste it as texture.

From a skin hash. If you have the hash of a skin (the end of a textures.minecraft.net link), build the value yourself:

echo -n '{"textures":{"SKIN":{"url":"http://textures.minecraft.net/texture/YOUR_HASH"}}}' | base64 -w0

On macOS use base64 without -w0. Paste the output as texture.

Rules for textures

  • The material must be PLAYER_HEAD. With another material, the texture is ignored.
  • Keep the value on one line, inside quotes.
  • Only the regions menu has a texture key. Menu items elsewhere use the skin of a player (see above), and custom menus in guis/custom/ have no texture key.
  • The texture name must not be empty. An empty texture: "" gives a default head.

A face in text

An icon can be a head. Add it to icons.yml and use it with <icon:name>.

# icons.yml
icons:
  steve:
    head: Steve
    fallback: "<yellow>☻</yellow>"
  owner:
    head: 069a79f4-44e9-4726-a5be-fca90e38aaf5
    fallback: "<gold>★</gold>"

head is a player name or a UUID. A UUID is safer, because a name can change.

# a kit file
display-name: "<icon:owner> <gold>Owner Kit"

fallback is shown where heads cannot be drawn, such as older clients or PlaceholderAPI text. See Icons for the mode setting.

The mdhead tag

<mdhead:Name> shows the face of a player without an entry in icons.yml.

# scoreboard.yml
lobby:
  lines:
    - "<mdhead:Notch> <white>Top player"

Use it in scoreboards, messages and menu text. Where heads cannot be shown, the tag shows nothing.

Tab list

On a network with the packetevents plugin, players of other servers are listed in the tab list. head: true puts their face before the name.

# tab.yml
network:
  enabled: true
  format: "<dark_gray>[<gray>%server%</gray>]</dark_gray> <white>%player%"
  head: true

To place the head yourself, write %head% in the format. A format with %head% is used as it is.

network:
  format: "%head% <dark_gray>[<gray>%server%</gray>]</dark_gray> <white>%player%"

Troubleshooting

ProblemCause and fix
The head is Steve or AlexThe item is not in a player menu, or the texture is empty or has the wrong format
A custom texture does not showThe material is not PLAYER_HEAD, or the Base64 value is cut off
<icon:name> shows an emojiThe server or client cannot draw sprites. This is the fallback working
<mdhead:Name> shows nothingHeads need a server that can send object components (Minecraft 1.21.9 and newer)
Network players have no head in tabpacketevents is missing, or network.head is false

Related: Icons, GUIs, Tab list, Regions.

On this page