[Web] Serverless jQuery/HTML5 Skin Viewer

Discussion in 'Bukkit Tools' started by confuserr, Jan 4, 2013.

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

    confuserr

    Based on HTML5 Skin Viewer by earthiverse

    Requires no server side code to run. Uses YQL (Yahoo Query) to download the skin and create the 3D model all in the browser via canvas. Currently only allows for drawing the model and head.

    Demo
    http://jamesmortemore.com/mcskinviewer/

    Download
    https://raw.github.com/confuser/serverless-mc-skin-viewer/master/jquery.minecraftskin.js

    Usage
    HTML:
    <script src="jquery.js" type="text/javascript"></script>
    <script src="jquery.minecraftskin.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function() {
            $(".mc-skin").minecraftSkin({scale: 6, hat: true, draw: 'head');
        });
    </script>
    <style>
    .scratch {
        display:none;
    }
    </style>
    <span class="mc-skin" data-minecraft-username="confuserr"></span>
    Change scale to change the size. Set hat to false if you don't want the hat to display.

    Source
    https://github.com/confuser/serverless-mc-skin-viewer

    Note
    • As this uses YQL please note their usage policy which can be found here.
    • For IE support, include excanvas.
    • For licence, see Source.
     
    GodsDead, Wizehh, Ignorex and 4 others like this.
  2. Offline

    LaxWasHere

    Sexy
     
    lol768 likes this.
  3. Offline

    frash23

    I will be using this to display current moderators! Thanks!
     
  4. Offline

    tanveergt5

    wow awesome bookmarked and liked
     
  5. Offline

    Sushi

    This is very good. Nice work! :)
     
  6. Offline

    cookieman768

    Can you make a demo zip file with all the files on the web server? I am having troubles.
     
  7. Offline

    confuserr

    Just download the linked jQuery plugin and view the source of the demo page. It's pretty self explanatory.
     
  8. Offline

    Quaick

    confuser i have a problem! :/ soory for my bad english! When i write HuniliDeli skin seeing complete right but when i write hunilideli i cant see the skin! :/ i have a website for my server and my players can login with authme password to my site. But i want they can see their skin! :/
     
  9. Offline

    confuserr

    It'll be case sensitive, it picks the image straight from the minecraft skin servers (amazon)
     
  10. Offline

    Quaick

    Ex: minecraftpvp.com search part when i write hunilideli and press search button its automaticly edit my nick and its will be HuniliDeli . How can i do that man? i know php,css,html :(
     
  11. Offline

    cookieman768

    Well the problem is how do I get jquery? I am a noob when it comes to this stuff.
     
  12. Offline

    confuserr

  13. Offline

    confuserr

    Updated.
    Now defaults to Steve skin if skin image retrieval fails.
     
  14. Offline

    GodsDead

    This is awesome! Keep it up.
     
  15. Offline

    adam2255

    Can you update this to 1.8 skins?
     
Thread Status:
Not open for further replies.

Share This Page