Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Human Skin Converter

Comments in 'Resources' started by MrGenga, Oct 1, 2015.

  1. MrGenga
    Offline

    MrGenga Active Member

    Joined:
    Jul 24, 2015
    Posts:
    75
    Minecraft User:
    MrGenga
    Hello, I'm using PHP, create a simply Human Skin Converter. His convert .png skin to PocketMine skn format. Yeah, I know about @Samueljh1 thing, but in his converter, show no only converted skin, more one - skin-image. In my converter all is more easy. URL: mrgenga.tk/skin.php?url=http:///skins.minecraft.net/MinecraftSkins/MrGenga.png
    I use in example, my skin from minecraft.net, you can use your url.
    If image no exisst, his show - fail
    Example:
    PHP:
    $skin file_get_contents("http://mrgenga.tk/skin.php?url=http://skins.minecraft.net/MinecraftSkins/MrGenga.png");
    if(!
    $skin=="fail"$this->getServer()->getPlayer("MrGenga")->setSkin($skin);
    [
    Last edited: Oct 2, 2015
  2. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17

Share This Page

Advertisement