Custom Heads Textures
pinoylifecraft opened this issue ยท 8 comments
Hello there,
It would be nice if you add Custom Heads Textures, as well as support for HeadDataBase, here are the things that I like ๐
Added HeadDatabase support in the latest snapshot.
It works as such;
skull-texture: 'hdb-<head id>'
ex:
skull-texture: 'hdb-4320'
It works:
skull-texture: 'eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZTM2ZTk0ZjZjMzRhMzU0NjVmY2U0YTkwZjJlMjU5NzYzODllYjk3MDlhMTIyNzM1NzRmZjcwZmQ0ZGFhNjg1MiJ9fX0='
This is not work:
skull-texture: 'hdb-2003'
@DarkFort Make sure you are using the latest snapshot. Tested as of now and it is working.
http://ci.craftationgaming.com/job/ItemJoin/74/
EDIT: Dont forget to enable HeadDatabase in the ItemJoin config.yml xD
Added as of ItemJoin v4.6 and it has been released!
Get it here; https://www.spigotmc.org/resources/itemjoin.12661/download?version=202495
Please read the changelog as the documentation has not been updated yet; https://www.spigotmc.org/wiki/recent-changes
Thanks for the idea I will look into adding this in the future, probably v4.6.
Okay so! I have added this feature for v4.6 as well now. Snapshot will be out soon if you are interested.
My system mainly works off of http://minecraft-heads.com, however it will work for any URL as long as its encoded in Base64, as shown in the screenshots minecraft-heads.com already supplies the needed texture for you so not many people will have to worry about it.
All I have done is added skull-texture to skull items so as shown below you just have to copy the texture value from minecraft-heads.com into the skull-texture on the skull item.
(Random head from minecraft-heads.com)
Copy the code supplied from them)
(This is the code I copied all spaced out so you can see what everything is).
(This is what you need from the code highlighted in red).
(Copy this).
(Paste the code as shown below into the skull-texture).
(Shown working with the Cauldron as well as another random skull texture I found).
Hello there @RockinChaos ,
How about HeadDataBase support? The thing that I requested ๐
To use the Head Database hook, HDB must be enabled on your server and then all you will need to do is set the material to this format:
material: 'hdb-<head id>'
ex:
material: 'hdb-4320'
Do you mean support for the actual hdb plugin or the website? I just bypassed the need for the premium plugin and just added the website that it grabs the heads from.
I can easily add support for the hdb plugin though its just one line of code but I cannot check if it works or not considering its a premium plugin.
EDIT: Ahh I see, I just added something similar to DeluxeMenu's "For the encoded texture properties string (which requires no dependencies)"
I will add hdb today but if you can it would be great if you could download the snapshot I upload today and test it with hdb on a test server to tell me if it works or not (as I don't own the premium plugin).