Skip to content

[Feature Request] Add support for FabricTailor skins #26

Description

@elhertz

Display FabricTailor heads on discord.
Hope it is possible, thanks!

Activity

  1. emielderckx commented on Sep 12, 2021

    @emielderckx

    Tom is right

  2. Tom-The-Geek commented on Sep 12, 2021

    @Tom-The-Geek
    Member

    FabricTailor's primary purpose is to allow changing of skins on regular server/in singleplayer, so I see no reason for it to be unsupported; however, SkinRestorer will probably never be supported officially, as it is specifically designed for offline mode servers.

    Also, @emielderckx your phrasing sounds a little like you are attacking the issue author, there are better ways of explaining that piracy is unsupported :P

  3. changed the title [-][Feature Request] add support for FabricTailor and SkinRestorer skins[/-] [+][Feature Request] Add support for FabricTailor skins[/+] on Sep 12, 2021
  4. elhertz commented on Sep 12, 2021

    @elhertz
    Author

    @emielderckx you are right. I should have thought about it before asking for support. My bad.
    @Tom-The-Geek thank you for taking my request in consideration.

  5. samolego commented on Sep 12, 2021

    @samolego

    Hi there, author of FabricTailor here :).
    You could request skin value from FT's interface TailoredPlayer
    (see code). Then decode that string (it's encoded using Base64 format), what you're looking for is SKIN -> url value.

  6. samolego commented on Sep 12, 2021

    @samolego

    (edit)

    From
    by calling ((TailoredPlayer) player).getValue(); you'd get a string like this

    Details
    ewogICJ0aW1lc3RhbXAiIDogMTYzMTc5ODEzMzY1OCwKICAicHJvZmlsZUlkIiA6ICI5NTBhOTg3ZDBkNDA0OThhYmU5OGRkMTc1NzFlNWUyZiIsCiAgInByb2ZpbGVOYW1lIiA6ICJzYW1vX2xlZ28iLAogICJ0ZXh0dXJlcyIgOiB7CiAgICAiU0tJTiIgOiB7CiAgICAgICJ1cmwiIDogImh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZWIyOWVkYTk1OTc5MWY1NGMyNmMyMzI4MzJiNzY2MDRlYmExYWM0ZmU0MTZhZWIzNTZjMzM1ZWExZTFiYmU3IgogICAgfSwKICAgICJDQVBFIiA6IHsKICAgICAgInVybCIgOiAiaHR0cDovL3RleHR1cmVzLm1pbmVjcmFmdC5uZXQvdGV4dHVyZS8yMzQwYzBlMDNkZDI0YTExYjE1YThiMzNjMmE3ZTllMzJhYmIyMDUxYjI0ODFkMGJhN2RlZmQ2MzVjYTdhOTMzIgogICAgfQogIH0KfQ==
    

    which you then decode and get

    {
      "timestamp" : 1631798133658,
      "profileId" : "950a987d0d40498abe98dd17571e5e2f",
      "profileName" : "samo_lego",
      "textures" : {
        "SKIN" : {
          "url" : "http://textures.minecraft.net/texture/eb29eda959791f54c26c232832b76604eba1ac4fe416aeb356c335ea1e1bbe7"
        },
        "CAPE" : {
          "url" : "http://textures.minecraft.net/texture/2340c0e03dd24a11b15a8b33c2a7e9e32abb2051b2481d0ba7defd635ca7a933"
        }
      }
    }
  7. samolego commented on Sep 16, 2021

    @samolego

    Leaving crafatar/crafatar#54 for reference.

  8. samolego commented on Feb 9, 2022

    @samolego

    There seems to be a way to do this using https://mc-heads.net/
    (comment in crafatar issue)

  9. added a commit that references this issue on Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions