I'm currently programming a plugin with which the players get Minecraft Heads on my private freebuild server. Since I want to make no Gui from which the players can take their heads, I want the players to find their own head on Minecraft-Heads.com. I came across the problem that the Skull Owner can't write the Id or Value in the chat because the chat is not enough. In addition, there's no use clicking on a command block because you need OP and creative mode for it and that is not what I want.
I don't quite understand the problem of chatting and "Skull Owner the Id or Value".
Isn't it so that you can just take the name of the player with the corresponding head?
I took a look at one of my old plugins. In the meantime the setOwner method is deprecated, but maybe it still works that way, you would have to try it.
public static ItemStack getCustomSkull (String skullPlayerName) {
ItemStack skull = new ItemStack (Material.PLAYER_HEAD, 1, (short) 3);
SkullMeta metaskull = (SkullMeta) skull.getItemMeta ();
metaskull.setOwner (skullPlayerName);
skull.setItemMeta (metaskull);
return skull;
}