This API allows you to easily create player skulls (heads) with custom textures.
- Tested Minecraft Versions:
- 1.7
- 1.8
- 1.9
This doesn't work reliably anymore. Mojang limited the amount of skin-uploads per user. As I don't have any more Minecraft accounts I could use to upload, it's not guaranteed to work properly.
A new, working client is available for the API. You can get it here and use this class to apply the textures.
Features
- Create skulls with any texture you want (uploaded to Imgur etc.)
- Apply the texture to items and blocks
Example
Code (Java):
@EventHandler
public void onJoin(final PlayerJoinEvent e) {
Bukkit.getScheduler().runTaskLater(this, new Runnable() {//Delay to make sure the player is online
@Override
public void run() {
try {
CustomSkullAPI.createSkull("http://inventivegames.de/texture/head/name/BLUE.png", new SkullCallback() {//Just an example image
@Override
public void call(final SkullData data) {
Bukkit.getScheduler().runTask(CustomSkullPlugin.this, new Runnable() {//Run this synchronous
@Override
public void run() {
ItemStack skull = new ItemStack(Material.SKULL_ITEM, 1, (short) 3);
data.applyToItem(skull);
e.getPlayer().getInventory().addItem(skull);
e.getPlayer().getLocation().getBlock().setType(Material.SKULL);
Skull s = ((Skull) e.getPlayer().getLocation().getBlock().getState());
s.setSkullType(SkullType.PLAYER);
s.update();
data.applyToBlock(s);
}
});
}
});
} catch (MalformedURLException e1) {
e1.printStackTrace();
}
}
}, 20);
}
Links
This API uses my online skull API which requires real Minecraft accounts to upload the images.
Donations of Minecraft accounts or via Paypal are highly appreciated!

[API] CustomSkullAPI [1.7 + 1.8] 1.0.1
Create player skulls with custom textures