Skip to content

Clothing fxmanifest

Quick answer

A clothing pack's manifest needs very little: the streaming policy, its data files, and — if you are creating an escrowed asset — lua54 'yes'.

Difficulty: Reference · Affects: both · CONFIRMED against Cfx documentation

INFO

Search: fxmanifest, manifest, data_file, subdir_file_mapping, escrow_ignore, lua54.

Last verified 31 August 2026 · Cfx resource manifest · Cfx Asset Escrow.

Add-on collection

lua
fx_version 'cerulean'
game 'gta5'

dependency '/policy:subdir_file_mapping'

files {
  'pedalternatevariations.meta'
}

data_file 'ALTERNATE_VARIATIONS_FILE' 'pedalternatevariations.meta'

What each line does

LinePurpose
dependency '/policy:subdir_file_mapping'Required for add-on clothing streaming. Officially documented as clothing support
files { }Makes the file available to the client
data_fileRegisters it with the game. Supports globbing
lua54 'yes'Required to create an escrowed asset
escrow_ignore { }Leaves listed files unencrypted and readable

A replace resource generally needs neither data_file nor the subdir policy — it streams files that shadow existing assets. See Replacing Freemode Clothing.

The lua54 confusion

Two different statements get mixed up:

  • Lua 5.4 is the runtime; Lua 5.3 is deprecated. This is about the language version.
  • lua54 'yes' is still required in the manifest to create an escrowed asset, per the Cfx developer FAQ.

If you publish escrowed packs, keep the line. Removing it because "Lua 5.4 is the default now" breaks asset creation.

escrow_ignore

lua
escrow_ignore {
  'config.lua',
  'stream/*.ytd',
  'stream/**/*.ytd'
}

Clothing textures and collections are not encrypted by escrow in the first place, so this is mainly for configuration files you want customers to edit.

What not to add

WARNING

SHOP_PED_APPAREL_META_FILE as a crash fix

Adding shop apparel metadata does not create YMT capacity and is not a fix for a capacity crash.

WARNING

Convars that have not shipped

A proposed convar for extending the shop apparel name list exists as an open Cfx pull request. It is NOT SHIPPED. Do not put it in a live server.cfg.

Support for Zaiders Store FiveM clothing packs.