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 want | Use | Section |
|---|---|---|
| A player's own skin in a menu (party member, friend, leaderboard entry) | material: PLAYER_HEAD | Heads in menus |
| A custom head (a globe, a flag, a trophy) on a menu button | texture: in regions.yml | Custom 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 list | network.head in tab.yml | Tab 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: falseThese items show the skin of the player they are about:
| Menu file | Item | Skin shown |
|---|---|---|
guis/party/menu.yml | info-item | The party leader |
guis/party/members.yml | member-item, manageable-item | The member |
guis/party/duel.yml | party-item | The leader of the other party |
guis/party/teams.yml | member-item | The member |
guis/social/friends.yml | online-item, offline-item | The friend |
guis/social/clan.yml | member-item, manageable-item | The clan member |
guis/stats/stats.yml | summary-item | The player whose stats you view |
guis/stats/leaderboard.yml | board.entry-item | The player in that place |
guis/spectate.yml | players.player-item | A 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 -w0On 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
texturekey. Menu items elsewhere use the skin of a player (see above), and custom menus inguis/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: trueTo 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
| Problem | Cause and fix |
|---|---|
| The head is Steve or Alex | The item is not in a player menu, or the texture is empty or has the wrong format |
| A custom texture does not show | The material is not PLAYER_HEAD, or the Base64 value is cut off |
<icon:name> shows an emoji | The server or client cannot draw sprites. This is the fallback working |
<mdhead:Name> shows nothing | Heads need a server that can send object components (Minecraft 1.21.9 and newer) |
| Network players have no head in tab | packetevents is missing, or network.head is false |