promotional bannermobile promotional banner
Clothier logo

Clothier

Add custom hats, hair, clothing, capes and player models through asset packs, picked in an avatar-editor style menu.

Clothier

Clothier lets asset packs add their own cosmetics to Hytale: hats, hair, clothing, capes, accessories, even a whole new player model. Players pick them in a menu that works like the avatar editor, and other players see the result.

Clothier on its own adds the menu, the Cosmetics Mirror and the commands. The cosmetics themselves come from asset packs, so install at least one pack, or make your own.

For players

  • Craft a Cosmetics Mirror at a Furniture Bench (4 metal bars of any kind and 3 silver bars), place it on the floor or a wall, and use it. You can also type /clothier.
  • Pick a category and a slot, then a cosmetic. Cosmetics with colours or styles show swatches and a dropdown.
  • Nothing changes until you press Save. Close the menu or leave and your previous look stays.
  • Hide Default Cosmetic hides the Hytale cosmetic in that slot, for example your hair under a hat.
  • Armor still hides cosmetics the way it does in Hytale, and respects your helmet and armor visibility settings.

For server owners

Cosmetics are locked until a player has them. A player can wear a cosmetic when:

  • you unlock it for them with /clothier unlock <player> <cosmetic>,
  • the pack marks it "Unlocked": true, making it free for everyone, or
  • it has a PermissionNode and the player has that permission.
Command Who What it does
/clothier Adventurers Opens the menu
/clothier wear <cosmetic> Adventurers Wears a cosmetic you have
/clothier remove <cosmetic> Adventurers Takes a cosmetic off
/clothier clear <slot> Adventurers Empties a slot
/clothier reset Adventurers Removes all Clothier cosmetics
/clothier unlock <player> <cosmetic> World editors Unlocks a cosmetic for a player
/clothier lock <player> <cosmetic> World editors Locks it again and takes it off
/clothier unlockall <player> World editors Unlocks every cosmetic
/clothier lockall <player> World editors Locks every cosmetic

<player> can be an online player's name or any player's UUID. Unlocks for offline players are applied when they next join. Command permissions are under melodic.clothier.command.clothier.

For pack creators

Cosmetics are JSON assets in Server/Clothier/Cosmetics. They work with the in-game Asset Editor and reload live. Packs can also add their own slots and categories in Server/Clothier/Slots and Server/Clothier/Categories.

A simple cape:

{
  "Type": "ModelAttachment",
  "CosmeticSlot": "Cape",
  "Icon": "Icons/MyPack/Capes/Royal_Cape.png",
  "Properties": {
    "Translation": { "Name": "server.mypack.royalCape" },
    "Unlocked": true
  },
  "Appearance": {
    "Type": "Model",
    "Model": "Characters/MyPack/Capes/Royal_Cape.blockymodel",
    "TextureConfig": { "Type": "Static", "Texture": "Characters/MyPack/Capes/Royal_Cape.png" }
  }
}

Cosmetics can also:

  • offer colour variants from a Hytale gradient set or from your own textures,
  • offer several model options in a dropdown,
  • switch to a different model when armor or another cosmetic covers them,
  • replace the whole player model with a server ModelAsset,
  • hide other slots while worn.

The built-in slots are Haircut, Eyebrows, Eyes, Facial Hair, Ears, Face, Mouth, Head, Face and Ear Accessories, Undertop, Overtop, Gloves, Pants, Overpants, Shoes, Underwear, Body Characteristic and Cape.

Plugin developers can depend on Clothier from Maven (com.melodicalbuild:clothier) and unlock cosmetics with ClothierUnlocks, for example from a shop. Details are in the source repository.

Changes from Wardrobe

Clothier is a continuation of Wardrobe by jackson and tazer, which is no longer updated. Thanks to them for the original mod, and to RM20 for the cosmetic unlock system. Compared with Wardrobe 0.3.5:

  • Cosmetics can be free ("Unlocked": true) or granted by permission node, as well as unlocked per player.
  • Unlock commands work for offline players, and plugins get an unlock API.
  • The menu saves only when you press Save, reloads when packs change, hides empty tabs and searches by name.
  • Colour swatches work on Hytale 0.7, armor in every slot hides cosmetics correctly, and one broken cosmetic no longer breaks a player's whole look.

Clothier doesn't load Wardrobe packs or saved Wardrobe data, and the two can't be installed together. To convert a Wardrobe pack, move its Server/Wardrobe folders to Server/Clothier, rename WardrobeColor to ClothierColor, and depend on Melodic:Clothier instead of Hardaway:Wardrobe.

Compatibility

Hytale 0.7.2 and later 0.7 versions. Hytale 0.8 support is planned for Clothier 1.1.

License and source

Clothier is licensed under the GNU AGPL v3, like Wardrobe. Source code: https://gitlab.melodicalbuild.com/hytale/clothier

The Clothier Team

profile avatar
  • 2
    Followers
  • 3
    Projects
  • 2.8K
    Downloads