How to get skin face from Player

Discussion in 'Plugin Development' started by avatarDr, Jun 27, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    avatarDr

    I saw it was implemented in some GUI plugin for server and shown with nickname. Which way should I move to do the same?
     
  2. Offline

    monster860

    If you are using spout, it's simple:

    Code:
    GenericTexture gt = new GenericTexture();
    gt.setUrl("http://s3.amazonaws.com/MinecraftSkins/" + player.getName() + ".png");
    gt.setTop(8);
    gt.setLeft(8);
    gt.setWidth(8);
    gt.setHeight(8);
    By the way you worded it, it seems you are trying to use Spout. If you are trying to use spout, this should be on the Spout forums.

    If not using spout, then figure out a way to download an image and download:
    "http://s3.amazonaws.com/MinecraftSkins/" + player.getName() + ".png"
     
  3. Offline

    EnvisionRed

Thread Status:
Not open for further replies.

Share This Page