So I've been working on a website and I want to get the player's head from their skin. I have their skin data saved into a database, but now I just need help getting the head from the skin. I've been looking at this post on the old PM forums - http://forums.pocketmine.net/thread...ve-a-players-skin-as-a-png.10381/#post-106560 However, this only returns the skin, not the head. Is there any way to only get the head?
How do I save a player's skin data, which I think is a RGBA hex, into a mysql database? What datatype does the field have to be and how would I insert it as a query?
did you even bother searching on this forum? https://forums.pmmp.io/threads/head.2344/#post-24757 https://forums.pmmp.io/threads/is-this-possible.1846/#post-24846