How to Add Custom Clothing or Peds to a FiveM Server
Add custom clothing or ped files to a FiveM server with one streamed resource, an ensure line in server.cfg, and only assets you have the rights to use.
Short answer
Put your clothing or ped files in their own resource, inside a stream folder. Add ensure <resource name> to server.cfg and restart the server. Clients download the streamed files when they join. The files alone do not dress a ped, so a script or menu from your framework still has to apply them. Only use assets you have the right to use.
What the resource contains
A clothing resource is a folder with a manifest and the streamed files. The Cfx.re forum guide uses an empty __resource.lua and a stream folder, and copies .ydd and .ytd files into subfolders of stream. The resource manifest reference documents directives such as fx_version and game. It also documents file, which adds a file to the resource packfile so clients download it when the resource loads.
Ped data is registered with data_file. The data-files reference lists ped keys such as PED_METADATA_FILE and PED_COMPONENT_SETS_FILE. It does not show a full custom ped example, so for a ped check which keys your ped actually needs.
Where to put it
Create the resource in your server's resources directory. The forum guide's layout is:
resources/
eup-stream/
__resource.lua
stream/
gang/
police/
Keep all clothing in this one resource. The forum guide says multiple stream folders for clothing clash with each other. eup-stream is the guide's example name, so choose your own.
The ensure line
Add the resource to server.cfg:
ensure eup-stream
Use your own resource name. The forum guide also sets set es_enableCustomData 1, which it describes for the ES framework. Add that line only if you run ES. Restart the server after editing server.cfg.
Applying clothing and peds in your framework
Streaming only makes the files available to the client. The sources for this post do not document how each framework applies clothing, so check your framework's docs or clothing script for its menu and commands.
Testing in game
- Restart the server and check the console for errors about your resource.
- Join with a fresh client so it has to download the files.
- Open your clothing menu or spawn your ped. Check that the new items appear and that the ped uses the model you expect.
Common problems
- Resource does not start: the name in
ensuremust match the resource folder name. - Clothing does not show: check that the files sit inside
streamand that the manifest is correct. - Items clash: the forum guide says clothing spread across several stream folders or resources conflicts.
- Membership or player-limit requirements: an older forum guide says custom clothes need an Argentum membership or
sv_maxclients 8. I could not confirm this against current official docs, so check current FiveM rules before relying on it. - Wrong file types: the forum guide says to use
.yddand.ytdfiles made for FiveM, not single-player GTA files.
Licensing
Only use clothing and ped files you have the right to use. That means files you made yourself, files you bought under a licence that allows server use, or files the creator released for this purpose. Keep a record of where each asset came from and what its licence allows. This is general guidance, not legal advice.
FAQ
Do I need to restart the server after adding clothing?
Yes. The forum guide says to restart the server after you add the resource and its ensure line.
Can I spread clothing across several resources?
The forum guide says no. Load all clothing from one resource, because multiple stream folders for clothing clash.
Which file types does the guide use?
The forum guide uses .ydd and .ytd files.
Sources
Last checked: 30 November 2026
Note: The official docs pages cover manifest and data-file directives. The clothing folder steps and the ensure line come from a Cfx.re forum guide, which may be out of date. Check the current docs before you rely on it.
FiveM.tools was founded with sponsorship from Nyru.