Grand opening25% off everything with FAM-261023-261025-UL4B9this weekendAdded for you at checkout Halloween Edition36 maps, limited runlimited runShop the drop
Chapter 10 of 17The Server Handbook for FiveM

Streaming maps, MLOs, vehicles and clothing

In short

Anything that adds or replaces game content — maps, MLOs, vehicles, clothing, props, the minimap — is streamed: the files sit in a resource’s stream/ folder and players download them on join.

FileContainsUsed for
.yftFragment modelVehicles, some weapons and props
.ydrDrawable modelProps, weapons
.yddDrawable dictionaryClothing, peds, minimap geometry
.ytdTexture dictionaryTextures for everything
.ybnCollision boundsMaps and MLOs
.ymapPlacementsWhere entities sit in the world
.ytypArchetype definitionsNew props and interiors
.metaData filesVehicles, handling, weapons, peds
fxmanifest.lua — an add-on vehicle
fx_version 'cerulean'
game 'gta5'

files {
    'data/vehicles.meta',
    'data/handling.meta',
    'data/carvariations.meta',
    'data/carcols.meta',
}

data_file 'HANDLING_FILE' 'data/handling.meta'
data_file 'VEHICLE_METADATA_FILE' 'data/vehicles.meta'
data_file 'CARCOLS_FILE' 'data/carcols.meta'
data_file 'VEHICLE_VARIATION_FILE' 'data/carvariations.meta'
  • Assets above 16 MiB of physical memory trigger the oversized-asset warning. Downscale 4K textures to 2K or 1K and compress them with mipmaps.
  • Maps and MLOs need this_is_a_map 'yes'; new props need a .ytyp declared with data_file 'DLC_ITYP_REQUEST'.
  • Two resources streaming the same file name conflict — only one wins. This is the usual cause of a broken minimap.
  • Very large asset counts can exceed game pools such as TxdStore; raise them with increase_pool_size within Cfx.re’s limits (see the performance chapter).
  • Check the Cfx.re Portal for any subscription requirement before streaming custom clothing.

The Server Handbook for FiveM

This chapter is one of 17. The handbook also carries the console command and convar cheat sheets, a glossary and the official references every chapter is checked against.

Open the handbook