How to add custom clothing to your FiveM server
Add custom clothing to your FiveM GTA V server: QBCore setup, streaming, addon vs replacement packs, the file structure, and how to make your own clothing.
11 min read
Updated
ClothingWant to add custom clothing to your FiveM server? FiveM (opens in a new tab) is the multiplayer mod for GTA V, and custom clothing is what makes a roleplay server look like yours. This guide shows how custom clothing works in FiveM: the framework and plan you need, how streaming works, how addon and replacement packs differ, what every file in a pack does, and how to make your own custom clothing for GTA.
The stack in this article
What are FiveM, Cfx.re, FXServer and Tebex?
FiveM is Cfx.re's multiplayer mod for GTA V. You run a server with FXServer, managed through txAdmin, and Tebex is the store platform for selling perks. These four names come up in every guide about custom clothing, so here is who is who.
FiveM server plans, OneSync slots and custom clothing
Custom clothing needs a Cfx.re plan of Argentum or above, because the free Pebble tier can't stream it. Every server needs a license key from the Cfx Portal (opens in a new tab), set as sv_licenseKey. Element Club is Cfx.re's monthly subscription, and the tier you pick also decides your OneSync player slots.
OneSync is the sync system that lets a server hold more than 32 players: the server decides which players and objects each person can "see", instead of sending everything to everyone. A slot is one player connected at the same time, so your tier is your player cap.
FiveM frameworks: QBCore, Qbox and ESX
A framework is a big set of scripts that adds jobs, money, an inventory and character creation to an empty FXServer. It's what turns an empty server into a roleplay server. The three you will meet are QBCore, Qbox and ESX, and custom clothing works on all three.
You also need a database, usually MariaDB (opens in a new tab) or MySQL, where the framework saves characters and what they're wearing. The framework doesn't care where the clothes come from: it asks the game "how many tops exist?", and the game answers with vanilla clothes plus yours.
What is streaming custom clothing in FiveM?
Streaming custom clothing in FiveM means the server sends the files in a resource's stream folder to each player's game when they join. A server resource is a folder with a fxmanifest.lua, and anything inside its folder called stream is cached on the player's PC afterwards. That's streaming.
Clothing needs only two kinds of streamed files: the model (.ydd) and its colors (.ytd). They're the same flat sheet and 3D shape from the UV map article.
FiveM addon clothing vs replacement clothing
There are two ways to get a custom item into the game. A replacement swaps a vanilla item for yours, while an addon adds brand-new items at the end of each category and leaves the originals untouched. Addons are the better choice for anything you plan to keep.
Inside a FiveM addon clothing pack: .ydd, .ytd, .ymt and .meta
An addon clothing pack is a resource folder with an fxmanifest.lua, a stream folder holding the .ydd models, .ytd textures and a .ymt, and a .meta file with the shop data. Each file has one job, and the file names must follow a strict pattern.
Female clothes use the same layout with mp_f_freemode_01 instead of mp_m_freemode_01. A pack for both is two sets of files, each with its own .meta and .ymt.
What every file is
The resource's ID card. Names the game, lists the data files and says what type each one is.
The 3D model of one item (a jacket, a pair of jeans), already rigged to the body.
The textures: the painted color sheet wrapped around the model. One .ydd can have many, one per color variation.
The variation data. Tells the game which drawables and textures this pack has for each body part.
The shop data. Registers the pack under its name and describes each item: menu slot, price, texture count.
fx_version 'cerulean'game 'gta5'
author 'Your Studio'description 'Custom clothing pack: addon'
-- Tells the game these data files exist...files { 'mp_m_freemode_01_mp_m_mypack.meta',}
-- ...and what kind of data they are.data_file 'SHOP_PED_APPAREL_META_FILE' 'mp_m_freemode_01_mp_m_mypack.meta'<?xml version="1.0" encoding="UTF-8"?><ShopPedApparel> <pedName>mp_m_freemode_01_mp_m_mypack</pedName> <dlcName>mp_m_mypack</dlcName> <fullDlcName>mp_m_freemode_01_mp_m_mypack</fullDlcName> <eCharacter>SCR_CHAR_MULTIPLAYER</eCharacter> <creatureMetaData>mp_m_freemode_01_mp_m_mypack</creatureMetaData> <pedOutfits /> <pedComponents> <!-- one entry per drawable: its slot, price, shop locate and texture count. Generated by the clothing tools, you will not write these by hand. --> </pedComponents> <pedProps /></ShopPedApparel>You almost never write the .ymt and .meta by hand. Community tools such as Sollumz (opens in a new tab) and CodeWalker (opens in a new tab) create them from your models and textures. What matters is knowing what each one does, so you can debug a pack that doesn't show up.
How a file name is built
The names aren't free-form. The game parses them, and one wrong character makes the item vanish.
mp_m_freemode_01_mp_m_mypack ^ jbib _ 000 _ u .ydd└────────── pack ──────────┘ │ │ │ └ model file (ped + your DLC name) │ │ └ "u" = universal skin tone │ └ drawable number, starting at 000 └ component: the body part this item goes on
mp_m_freemode_01_mp_m_mypack ^ jbib _ diff _ 000 _ a _ uni .ytd │ │ │ └ texture file │ │ └ texture variation: a, b, c... │ └ same drawable number as the .ydd └ "diff" = diffuse (the color texture)Try it yourself. Change the pack name, the body part, the drawable number and the texture letter, and watch the two file names change.
Model file
mp_m_freemode_01_mp_m_mypack^jbib_000_u.yddTexture file
mp_m_freemode_01_mp_m_mypack^jbib_diff_000_a_uni.ytd| Code | Component ID | Body part |
|---|---|---|
| head | 0 | Head |
| berd | 1 | Masks |
| hair | 2 | Hair |
| uppr | 3 | Arms and torso |
| lowr | 4 | Legs |
| hand | 5 | Bags and parachutes |
| feet | 6 | Shoes |
| teef | 7 | Neckwear: scarves, chains, ties |
| accs | 8 | Undershirts |
| task | 9 | Armor and vests |
| decl | 10 | Decals |
| jbib | 11 | Tops and jackets |
This is the number you pass as the second argument of SetPedComponentVariation(ped, id, drawable, texture, palette) (opens in a new tab).
| Code | Prop ID | Body part |
|---|---|---|
| p_head | 0 | Hats and helmets |
| p_eyes | 1 | Glasses |
| p_ears | 2 | Earrings |
| p_lwrist | 6 | Watches |
| p_rwrist | 7 | Bracelets |
Props have their own numbering, used with SetPedPropIndex(ped, id, drawable, texture, attach) (opens in a new tab). A few more ids exist but servers rarely use them.
Props such as hats and glasses use the p_ codes and their own set of files. Copy their naming from a vanilla prop in CodeWalker (opens in a new tab).
How to make custom clothing for FiveM with Alive Games
To make custom clothing for FiveM you don't have to build an addon pack by hand. Alive Studio turns a texture you paint on a GTA V garment into an addon pack that is ready to put on your server: pick an item, paint it, create the addon and download it. See also the FiveM clothing creator.
Choose the GTA V garment you want to customize from the catalogue, a jacket or a pair of jeans for example.
Press Create FiveM Addon. Alive builds the addon pack from your texture, with the files named the way the game expects, and adds preview thumbnails.
Press Download FiveM Addon, unzip the pack into your server's resources, and add its ensure line, as in the next sections.
All steps done.
Set up your FiveM server for GTA V
To set up a FiveM server for GTA V, get a license key from the Cfx Portal on a plan that includes Stream Custom Clothing, then install FXServer, txAdmin, a database and your framework. Start the server once and make sure you can join it before you add the pack.
From the Cfx Portal (opens in a new tab), on a plan that includes Stream Custom Clothing.
Follow the FXServer setup guide (opens in a new tab), set up the database and install your framework, QBCore (opens in a new tab) for example. txAdmin (opens in a new tab), the web panel, comes with it. Start the server once and make sure you can join it.
All steps done.
## server.cfgsv_licenseKey "cfxk_xxxxxxxxxxxxxxxxxxxx_yyyyy" # from the Cfx Portalsv_hostname "My Clothing Server"sv_maxclients 64 # can't exceed your plan's slotsset onesync on # needed for more than 32 players
ensure qb-coreensure qb-clothingensure mypack # our clothing resourceHow to add custom clothing to your FiveM server
To add custom clothing to your FiveM server, put the pack folder in the server's resources folder, add its ensure line to server.cfg, and restart. A pack does nothing until the server starts it, and players get its files once they reconnect.
Copy the pack folder into the server's resources folder. You can group packs in a folder whose name is in square brackets, like [clothes]. The brackets only group things: the server ignores them, and the pack's name is just its own folder name.
# Copy the pack into the resources folder (quote the path: the brackets are part of the name)cp -r mypack "/home/fivem/server-data/resources/[clothes]/"Add ensure mypack, with the exact folder name. Put it after your framework and your clothing menu, so everything the pack needs is already running when it starts.
## server.cfgensure qb-coreensure qb-clothingensure mypack # your pack, after the framework and the clothing menuRestart the server. To try it without a restart, run refresh and then ensure mypack in the console, or use the Resources page in txAdmin (opens in a new tab).
# In the server console, or the live console in txAdminrefresh # rescan the resources folder for new or changed packsensure mypack # start the pack, or restart it if it is already runningrestart mypack # restart a pack that is runningstop mypack # turn it off until the next server restartJoin the server and open the clothing menu: your items appear after the vanilla ones. Watch the console for errors while the pack loads.
# In the game's F8 console, join again (use your server's address)connect 127.0.0.1:30120-- Component ids: 1 masks, 3 torso, 4 legs, 6 shoes, 8 undershirt, 11 tops/jacketslocal ped = PlayerPedId()
-- Addon drawables are counted too and are always added at the end,-- so the last drawable of a component is the newest addon.local count = GetNumberOfPedDrawableVariations(ped, 11)SetPedComponentVariation(ped, 11, count - 1, 0, 0) -- drawable, texture, palette
-- Props (hats, glasses...) use their own ids: 0 hats, 1 glasses, 2 ears.SetPedPropIndex(ped, 0, 0, 0, true)All steps done.
To turn a pack off, remove its ensure line, or run stop mypack to stop it until the next restart. Players keep the files they already downloaded, but the items disappear from the menu once they reconnect.
FiveM custom clothing not showing up: fixes
When custom clothing doesn't show up on a FiveM server, check the ensure line and the folder name, the plan that streams custom clothing, file name typos, the size of the pack, and the clothing menu's own limits. Each fix is below, one problem at a time.
More guides
- Start here
How to Create FiveM Clothing with Alive Studio
Design a custom shirt, pants, vest or full outfit, export it as a FiveM resource and install it on your server.
- Clothing
How to make custom clothing for FiveM
Make custom clothing for FiveM and GTA: the old way with Blender, CodeWalker, Photoshop and grzyClothTool, and the new way, painting in 3D.
- Clothing
Custom clothing on QBCore, Qbox and ESX: how to integrate it
Add custom clothing to FiveM on QBCore, Qbox and ESX: which clothing menu to use, the start order, how to test it, and how saved outfits behave.
- Servers
How to make a FiveM server, step by step
Make a FiveM server for GTA V on a rented server, your own PC or Linux: the steps, which recipe to pick, ports, server.cfg and common errors, with a hosting discount.
- Servers
FiveM server hosting 2026: How to choose and what it costs
How to choose FiveM server hosting: the authorized hosts compared, what to look for, the real monthly cost with custom clothing as of November 2026, and how much server you need.
- Servers
FiveM server artifacts: which version and how to update
What FiveM server artifacts are, how the recommended and latest builds differ, which one to pick, and how to update on Windows, Linux, txAdmin and a rented server.
- Peds
FiveM peds: outfits, male and female models, clothing
What a ped is, how the male and female freemode peds differ, how an outfit is built from parts, and why some clothing and body parts clip.
- Reference
GTA 5 DLC list: every clothing pack with release dates
What a pack is in FiveM, why it matters for custom clothing, and every GTA V clothing DLC pack with the update that added it and its release date.
- Basics
What is a UV map? UV maps and island selection explained
Why the paint lives on a flat sheet, why that sheet looks like a messy puzzle, and how island selection saves you.
- Stickers
What is a decal? How stickers work on 3D clothing
How a sticker on the outfit gets cut into puzzle pieces on the sheet, and why you never have to do it yourself.
Cfx.re
QBCore
Tebex
