Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

So, I'm working on a website for my Minecraft server, and we're looking at creating pages for each of the admins/mods, with some info about them. I'm trying to find a way that I can embed a 'skin preview' of each player's skin onto their respective pages. I suppose we could also just use screenshots, but I think a skin preview would look nicer. Any suggestions?


Edit: This website uses a Java applet, but I'm not 100% sure how to implement this myself.

share|improve this question

closed as off-topic by kotekzot, cloudymusic, Billy Mailman, Studoku, MBraedley Jan 13 at 23:57

  • This question does not appear to be about videogames or videogame consoles within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

    
Doesn't Minecraft.net already have this? Actually, I think they only have the "change your skin", you have to know what you want to change it too first. –  Raven Dreamer May 13 '11 at 1:55
2  
@Raven > It looks like there USED to be one on the website, but it's not there anymore. I've found some places that use a 3D java applet created by notch; I'm guessing this is the one that used to be on minecraft.net –  DwarfSlice May 13 '11 at 2:02
1  
I guess it's time to create a Flash app to do that. If I have time I'll make one and post it. –  zzzzBov May 13 '11 at 17:01
4  
This question appears to be off-topic because it is about website development, not playing games. –  kotekzot Jan 13 at 22:52

1 Answer 1

up vote 8 down vote accepted

Minecraft.net does have a skin viewer available, as long as you're only trying to view existing users' current skins rather than previewing them straight from .png files. To invoke it, add the following code to your page:

<applet code="net.minecraft.skintest.ModelPreviewApplet"
  archive="http://www.minecraft.net/skin/skintest.jar" codebase="."
  width="320" height="320">
    <param name="name" value="535" />
</applet>

(Change 535 to whatever username you want to view.) I've set up an example on jsFiddle.

If you want to preview arbitrary skins, the applet used by Planet Minecraft appears to be available for public use (it points to a forum post, though that thread doesn't appear to mention PMC's previewer). Still, I'd recommend sending them an email first, just in case.

share|improve this answer
    
Works excellent, but this doesn't show every layer of the skin (accessory layers don't appear to show up), so I'm going to hold off on accepting it for now, unless another solution comes up. –  DwarfSlice May 13 '11 at 19:59
    
Is there anything like this where instead of a username I'd refer to a .png? –  user15035 Nov 22 '11 at 13:05
    
minecraft.net/skin/skintest.jar seems to be gone now. Where do we reference skintest.jar now? –  user66654 Jan 13 at 22:44

Not the answer you're looking for? Browse other questions tagged or ask your own question.