vMenu Docs
Configuration

clothing-presets.json

Outfits you publish for everybody, such as a set of police uniforms.

The list behind Outfit Presets, Server Presets in the character creator. It ships empty as [].

Making presets in game

The easiest way. Build the outfit in the character creator, then use Outfit Presets, Server Presets, Save Clothes To Server Presets. vMenu writes the file and sends the new list to every player, so nothing needs a restart.

Format

[
  {
    "name": "Police",
    "description": "Department outfits",
    "presets": [
      {
        "name": "Patrol Officer",
        "description": "Standard patrol",
        "gender": "male",
        "components": [
          { "slot": 11, "collection": "", "localDrawable": 55, "drawable": 55, "texture": 0, "palette": 0 }
        ],
        "props": [
          { "slot": 0, "collection": "", "localDrawable": 46, "drawable": 46, "texture": 0 }
        ]
      }
    ]
  }
]
FieldMeaning
nameShown in the menu. Required on categories and outfits.
descriptionShown under the row. Optional.
gendermale or female. The outfit is hidden on the other freemode ped, because a drawable number is a different piece of clothing there. Leave it out to show it on both.
componentsClothing slots. An outfit without any is skipped.
propsHats, glasses, watches and other props.
slotThe component or prop slot.
collection, localDrawableThe content pack the piece comes from and its number inside that pack. Keeps the outfit correct when you add clothing packs later.
drawable, texture, paletteThe piece's plain numbers. Used when collection is empty.

Hand written files are read at server start. Restart the resource after editing it by hand.

Permissions

PermissionWhat it allows
vMenu.Enhanced.Menus.CharacterCreator.PresetsSeeing and wearing the server presets.
vMenu.Enhanced.Menus.CharacterCreator.PresetsManageSaving and removing server presets.

Errors

Console messageCause
No config/clothing-presets.json found...The file is missing. The preset menu starts empty.
config/clothing-presets.json could not be parsed...Broken JSON. The preset menu starts empty.
Skipping a category in ...: it has no name.A category without name.
Skipping an outfit in '...': it has no name.An outfit without name.
Skipping '...' in '...': it has no clothes in it.An outfit with no components.

On this page