Skript Skins Question

Discussion in 'Skript' started by fakepixel, Mar 28, 2018.

  1. Is there a way in Skript to translate a Skin Image into a Skin Texture?

    (https://visage.surgeplay.com/skin/512/dbb2dde7d2334b8d8172d31032f8f35e)

    then Skript would turn that into a big code (Skin Texture)

    Is that possible?

    Also, how can Some Skin APIs such as visage, and craftar can get a Skin really fast and I can refresh the page many times without getting an error and on mojang sessionserver i get "TooManyRequestsException"
     
  2. 1. I'm not sure what you mean, try explain better?
    2. they probably save it for later and have multiple ips doing the checks.
     
  3. A Skin Texture is bunch of random numbers and letters
    eyJ0aW1lc3RhbXAiOjE1MjI0MjI4MzA1MjAsInByb2ZpbGVJZCI6IjdjZjc2MTFkYmY2YjQxOWRiNjlkMmQzY2Q4NzUxZjRjIiwicHJvZmlsZU5hbWUiOiJrYXJldGg5OTkiLCJzaWduYXR1cmVSZXF1aXJlZCI6dHJ1ZSwidGV4dHVyZXMiOnsiU0tJTiI6eyJ1cmwiOiJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlL2M3ZmQxZTMyNzU4ODZjMWJmODUwZGUzMjYxYWNjOGQ4MjgzNGVmYjhiNTgzOTVkNTFiYzIwNzlhZTNmMzciLCJtZXRhZGF0YSI6eyJtb2RlbCI6InNsaW0ifX19fQ==

    It is used in NBT to make heads have skins and stuff like that.
    And I was wondering If i could maybe get the image from that link, and translate it somehow into the Skin Texture, maybe there is a website like that can do that?

    This Website https://mineskin.org/ users can upload Minecraft Skins and the Website would generate a Skin Texture, but How do I make it so it automatically does it with Skript and turns the Skin from https://visage.surgeplay.com/skin/512/dbb2dde7d2334b8d8172d31032f8f35e
    into a Skin Texture
     
  4. Why would you even want to transform Skin to Textures property if you can grab that directly from mojang?
     
    • Agree Agree x 1
    • Winner Winner x 1
  5. If I grab directly from Mojang many times, they will Time me out and wont be able to use the API for a few mins
     
    • Agree Agree x 1
  6. They do something called caching. What this involves is that they store the data on their own servers, and update their database on intervals so that it does not exceed Mojang’s request limit. So what you’re actually doing is contacting (requesting from) their third party database, and not Mojang.
     
    • Like Like x 1

Share This Page