Skip to content

ToCraft/SkinShifter

Repository files navigation

Build Maven metadata URL Patreon

SkinShifter

SkinShifter lets you change your Player Skin in game! (Don't worry- you won't change your actual skin, it just renders differently.)

Getting Started

This mod is intended to be used in modpacks or as library for other mods. You can change your skin by using the command /skinshifter set @s xyz, where xyz is the name or uuid of the player you want to morph into.

If you're a coder, you can use the following methods:

SkinShifter.setSkin(serverPlayer, playerUuidForSkin); // Sets the current skin
SkinShifter.getCurrentSkin(serverPlayer); // returns the UUID of owner of the current skin. Might be the own UUID!

To change config values, you can do the following:

class Test {
    public static void initialize() {
        SkinShifter.CONFIG.changeCape = true;
        SkinShifter.CONFIGchangeNameTag = true;
        // required to save the changes into the config file
        SkinShifter.CONFIG.save();
        // when changing the config after the first player has joined, use:
        // SkinShifter.CONFIG.sendToAllPlayers(serverLevel);
    }
}

License

SkinShifter is licensed under Apache 2.0.

About

Change your Skin!

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages