Skip to content
FIVECRATE
MLO & maps intermediate

How to Add Shells to FiveM: Housing Shells vs MLOs

How to add shells to FiveM: stream the shell models, declare the .ytyp, then register each shell in ps-housing, qb-houses, qbx_properties or esx_property.

Author: FiveCrate
Published:
Updated:
Read time: 16 min
Applies to
FiveM Legacy and FiveM for GTAV Enhanced (stream_enhanced). Housing scripts as published on December 2, 2026 - qb-houses 1.5.0 with qb-interior 1.2.0 (QBCore), ps-housing 2.0.8 (QBCore and Qbox, archived February 6, 2026), qbx_properties 0.0.1 (Qbox) and esx_property 2.0 from ESX-Legacy-Addons (ESX Legacy); the streaming steps are the same on every server
Last verified

Direct Answer

To add shells to FiveM, stream them like props, then register them in your housing script. Put each shell’s .ydr model, its .ytd textures and the .ytyp archetype file in the stream folder of a separate resource, declare the .ytyp with data_file 'DLC_ITYP_REQUEST' in fxmanifest.lua, and ensure that resource in server.cfg. Then add the model name and the shell’s door offset to the script’s shell list: Config.Shells in ps-housing, an export and a tier in qb-interior and qb-houses, interiors in qbx_properties, or Config.Interiors.Shells with Config.Shells = true in esx_property.

What are FiveM interior shells?

A shell is a complete interior saved as one model. qb-interior, the shell resource of QBCore, describes itself as a “Collection of shell models with exports for creating them”: its stream folder holds one .ydr model per shell, and its code creates each shell as a single object. A shell can be furnished or empty: ps-housing’s shell list holds both an “Apartment Furnished” and an “Apartment Unfurnished”.

The models alone do nothing. A shell appears only when a script creates it, and that is the key to everything below. Every housing script covered here does the same thing when a player walks through a door:

  1. It loads the shell model and creates it as an object far below the door, or high above it in the case of esx_property.
  2. It freezes the object so it cannot move.
  3. It moves the player inside. Offsets stored for that shell in the script’s config line the player up with the shell’s door.

The scripts create the shell with CreateObject or CreateObjectNoOffset and pass false as the network argument. The official natives reference explains what that means: “If false, the object exists only locally.” Each player who enters gets their own copy of the shell on their own game.

The qb-houses manifest calls itself a “Housing system for players using shells and furniture items to decorate their homes”. Shells are not only houses, though. qb-interior also exports office, store, warehouse and garage shells, so any server that needs an indoor space behind a door, on a roleplay, gang, heist or survival server, uses the same technique.

Shells vs MLOs: how they differ

An MLO is a different kind of asset. A reply on the Cfx.re forum puts the difference in two lines: “That is a prop (ydr)” and “an mlo is an interior of a building”. The Sollumz interior tutorial describes the MLO’s archetype file as the place where the creator sets “how many rooms there are and where the portals between rooms are”, and the .ymap as the file where the interior is placed in the world.

Housing shellMLO
What it isOne model (.ydr) holding the whole room setAn interior archetype with rooms and portals in a .ytyp, placed by a .ymap
Where it standsCreated by a script under or above the house door, only while someone is insideAt a fixed place on the map, for every player
Needs a scriptYes, a housing script spawns itNo, the map resource loads it
One model, many housesYes: every house set to the same shell uses the same modelNo, each MLO is one building
Offsets to setA door or exit offset per shell in the housing configNone for the interior itself

The MLO install guide covers MLOs. FiveCrate’s house MLOs and FiveM housing shells categories hold the two kinds of interiors.

How to add housing shells to a FiveM server: stream the models

The streaming part is the same on Qbox, ESX Legacy, QBCore and a server without a framework. The resource only holds models and data files. The layout below follows qb-interior, the shell resource of QBCore, with my_shells standing in for your own name:

resources/
  my_shells/
    fxmanifest.lua
    stream/
      my_shells.ytyp
      my_shell_small.ydr
      my_shell_small_txd.ytd
  1. Create a separate resource for the shells. The ps-housing wiki is explicit: “Ensure they are in a separate folder and avoid putting them in the ps-housing stream folder as it won’t work.”
  2. Copy the .ydr, .ytd and .ytyp files into stream. qb-interior’s stream folder holds one .ydr per shell, a few .ytd texture dictionaries and one .ytyp for the whole pack.
  3. Write fxmanifest.lua. qb-interior’s manifest declares its archetype file with data_file 'DLC_ITYP_REQUEST' and marks the resource as a map:
fx_version 'cerulean'
game 'gta5'
this_is_a_map 'yes'

data_file 'DLC_ITYP_REQUEST' 'stream/my_shells.ytyp'
  1. Add the resource to server.cfg with ensure my_shells. The qb-houses README lists ensure qb-interior among the lines to add.
  2. Restart the server, then register the shells in your housing script as shown in the next section.

Why the DLC_ITYP_REQUEST line matters for shells: the official Data Files page describes DLC_ITYP_REQUEST as the “Equivalent of PERMANENT_ITYP_FILE”, and nta, a forum account with Cfx.re platform access, explains that “Only models defined in archetype files that are declared as PERMANENT_ITYP_FILE or DLC_ITYP_REQUEST are always available”. A shell is created by script far from any map that depends on it, so its archetype must be always available. The custom props guide covers the rest of the rules for this line, including why only the .ytyp base name is read.

this_is_a_map “Marks this resource as being a GTA map, and reloads the map storage when the resource gets loaded”, in the words of the official manifest reference. Both qb-interior and ps-housing carry it.

How to add shells to a FiveM housing script

Each housing script keeps its own list of shells. A model that is streamed but not in that list cannot be chosen, and a list entry without a streamed model fails when someone enters. The scripts differ in the key names and in where they put the shell.

ScriptFrameworkWhere shells are listedModel keyOffset keysWhere the shell is createdCreate a property
qb-houses + qb-interiorQBCoreTiers in getDataForHouseTier (qb-houses client/main.lua), exports in qb-interiormodel inside the exportexit (x, y, z, h)Door height minus Config.MinZOffset (30)/createhouse [price] [tier], realestate job
ps-housingQBCore, QboxConfig.Shells in shared/config.luahashdoorOffset (x, y, z, h, width)Door height minus 25.0/housing menu, realtor job
qbx_propertiesQboxinteriors in config/shared.luaThe table key, as a backtick hashfirstspawn, exit, clothing, stash, logoutEntrance height minus shellUndergroundOffset (50.0)/createproperty, realestate job
esx_propertyESX LegacyConfig.Interiors.Shells in config.luavaluepos, positions.Wardrobe, positions.StorageEntrance X and Y at a height of 2000, plus posproperty:create, as an admin

ps-housing (QBCore and Qbox): Config.Shells

ps-housing supports QBCore and Qbox through separate install guides. Its README opens with an archive notice that says the archived repositories are not “broken or unusable” but will get no “further updates”, and the repository has been read-only since February 6, 2026.

The wiki’s Custom Shells Installation Guide has three steps: download the shells, place them in a separate resource folder, then “add them to the Config.Shells table in ps-housing/shared/config.lua”. Its example entry, unchanged:

["Standard Motel"] = {
 label = "Standard Motel", -- Label Name (must match the Index)
 hash = `standardmotel_shell`, -- Shell Name
 doorOffset = { x = -0.45, y = -2.41, z = -0.56, h = 92.63, width = 2.0 }, -- Exit Offset
 stash = {
 maxweight = 8000000, -- Stash Weight Limit
 slots = 120, -- Number of Slots
 },
 imgs = {
 {
 url = "https://cdn.discordapp.com/attachments/1101313033684394084/1101712181017460736/motel.webp", -- Image URL
 label = "Motel", -- Image Label
 },
 }
},
  • The key and label must match. The wiki’s comment on label says “must match the Index”.
  • hash is the model name in backticks, which CfxLua turns into the model’s hash.
  • doorOffset is measured from the shell. ps-housing creates the shell 25.0 units below the property door, then places the player and the exit zone at doorOffset from the shell entity, turned to heading h. width sets the width of the exit zone.
  • stash sets the storage of properties that use this shell.

Realtors pick the shell when they create a property: the README’s steps are to open /housing, choose to create a new property and fill in the details, including “which shell to use”. The wiki still says to download shells “from your keymaster/providers page”. Cfx.re has since built the Cfx.re Portal by “rebuilding Keymaster from scratch” for “server and asset management”, and announced that Keymaster “will be gradually deprecated”.

qb-houses and qb-interior (QBCore): tiers and exports

qb-houses lists qb-interior as “Necessary for house interiors”. The two work together like this:

  • A tier is a number on the house. /createhouse [price] [tier] “Creates a house and saves it to database (Only people with “realestate” job)”.
  • Each tier calls one qb-interior export. The function getDataForHouseTier in qb-houses’ client/main.lua maps tier 1 to CreateApartmentShell, tier 2 to CreateTier1House, and so on up to tier 100. Any other number shows “Invalid House Tier”.
  • Each export names one model and one exit offset. For example, CreateTier1House uses shell_v16mid with an exit of {"x": 1.561, "y": -14.305, "z": 1.147, "h":2.263}.
  • The shell is created below the door. qb-houses subtracts Config.MinZOffset, set to 30, from the door height before calling the export. The config comment says “You don’t need to change it”.

To add a shell to qb-houses, you add a branch for a new tier number, such as 101, in getDataForHouseTier, before its final else, and make it return a qb-interior export. qb-interior already exports the generic function every shell export uses, CreateShell(spawn, exitXYZH, model), which takes the spawn coordinates, the exit offset and the model name. Then create houses with that tier number.

Two details in the code matter before you start:

  • Tiers above 16 need shells that are not included. The tier 16 line ends with the comment -- End of free shells. From tier 17 on, the exports live in qb-interior’s client/optional.lua and load models that qb-interior’s stream folder does not contain.
  • Tier 16 points at a missing export. It calls CreateFurniMotelStandard. In the qb-interior source read on December 2, 2026, neither client/main.lua nor client/optional.lua defines an export with that name.

QBCore itself has changed direction: its documentation now says “QBCore has withdrawn from other platforms”. The framework comparison explains what that means for a running server.

qbx_properties (Qbox): interiors

The Qbox txAdmin recipe downloads qbx_properties into resources/[qbx]. Its manifest describes it as “Hopefully one day a feature rich property system” at version 0.0.1, and its README to-do list still includes “MLO Support” and a “Realtor job aspect”.

Shells go into the interiors table of config/shared.lua, next to the game’s own apartments. The shell entry in the file:

[`furnitured_midapart`] = {
 firstspawn = vec3(1.46, -10.33, 0.0),
 exit = vec3(1.46, -10.33, 0.0),
 clothing = vec3(6.03, 9.3, 0.0),
 stash = vec3(6.91, 3.94, 0.0),
 logout = vec3(4.07, 7.89, 0.0)
},
  • A backtick key means a shell. The server treats an interior as a shell when tonumber(property.interior) ~= nil, which is true for a hashed model name and false for the names of game interiors.
  • The five positions are offsets from the entrance. The shared function CalculateOffsetCoords adds them to the entrance, after lowering it by shellUndergroundOffset, which is 50.0 by default.
  • Realtors pick from this table. /createproperty is refused with “Not a realtor” unless the player has the realestate job, and the creation menu lists every key of interiors.
  • The model is not included. qbx_properties streams no shell: its stream folder holds only auto_shop_board files. furnitured_midapart.ydr is in qb-interior’s stream folder, so the model must come from a shell resource on your server.

esx_property (ESX Legacy): Config.Shells and Config.Interiors.Shells

esx_property lives in the ESX-Legacy-Addons repository. Its README lists “Shell / IPL support” and a separate starter shell pack as an optional dependency, “only for shell use”.

  1. Turn shells on. In config.lua, Config.Shells = false is the default, with the comment “Enable/Disable Shell Interiors”. Set it to true. While it is off, the property creator shows only IPL Interiors, and entering a shell property shows “This Interior Uses Shells, which are disabled!”
  2. Add an entry to Config.Interiors.Shells. The shipped entries use this shape:
{
 label = "Standard Motel",
 value = "standardmotel_shell",
 positions = {
 Wardrobe = vector3(-1.435, -4.74, -1.0),
 Storage = vector3(2.45, -4.37, -1.0), -- Only Works with Ox Inventory
 },
 type = "shell",
 pos = vector3(0.054924, 2.459473, 1.546776)
},
  1. Create the property. The README says to “Use the command property:create while an admin”, then choose the interior from Custom Interiors, which the menu describes as “Custom Interiors, Made by You”.

value is the model name. The client creates the shell at the entrance’s X and Y coordinates at a height of 2000, plus pos, while the server moves the player to the same X and Y at a height of 2001 and into a routing bucket of that property. pos therefore shifts the shell around the point where the player arrives. The comment on Storage reads “Only Works with Ox Inventory”.

To find the offsets of a new shell, the README says to stand inside the property where the wardrobe or storage should go and “use the getoffset command and it will print the offset in F8”.

Servers without a housing framework

Racing, PvP, freeroam and other servers without one of these frameworks can still use shells: a standalone script loads the model and calls CreateObjectNoOffset, as all four scripts above do. That native “Creates an object (prop) with the specified model centered at the specified position”. The custom props guide shows the official spawn example and the parameters.

Furnished shells and furniture props

Some shells are furnished, others are empty rooms that players fill. qb-houses offers furniture through /decorate, with each item in Config.Furniture named by its object, price and label. ps-housing opens its furniture store with Z. Both use ordinary prop models, so custom furniture is streamed the same way as any prop. FiveCrate’s furniture and housing props and FiveM housing scripts categories list both sides.

Housing shells on FiveM for GTAV Enhanced

Shells are streamed assets, so the Enhanced rules for streamed files apply:

  • stream_enhanced wins when it exists. “When a stream_enhanced folder is present, its contents are loaded instead of the stream folder on FiveM for GTAV Enhanced.” The stream folder “still works when no stream_enhanced folder is present, but it is deprecated.”
  • Convert the models for Enhanced. The docs say to “place Gen8 assets in stream and Gen9 assets in stream_enhanced”. Alchemist, the official converter, handles “YDR, YTD, YFT, YPT and YDD”, which covers shell models and their textures. The Alchemist guide walks through the conversion, and the props guide explains where the .ytyp goes.
  • The housing config names the model, not the folder. Every script above refers to a shell by its model name, so the entries stay as they are.

Troubleshooting

Black screen when entering a house with qb-houses

qb-interior fades the screen out, requests the shell model and then waits with while not HasModelLoaded(model) do Wait(1000) before it creates the shell. That loop has no time limit, so a model that is not streamed leaves the screen black. Check that the shell resource is started and that the tier’s export names a model that is in its stream folder.

“attempted to load invalid model” with ps-housing or qbx_properties

Both load shells with ox_lib’s lib.requestModel, which raises attempted to load invalid model '%s' when the model is neither valid nor in the game image. The shell’s resource is not started, the hash or table key is misspelled, or the model is missing from stream.

“This Interior Uses Shells, which are disabled!”

esx_property shows this when a property uses a shell while Config.Shells is false. Set it to true in config.lua and restart the resource.

No such export when a house uses tier 16

qb-houses calls exports['qb-interior']:CreateFurniMotelStandard(coords) for tier 16, and qb-interior defines no export with that name. Use another tier, or add a tier that calls an export which exists. qb-interior’s stream folder does contain standardmotel_shell.ydr, so a new tier can create that model through CreateShell once you give it an exit offset. The No such export guide explains the error itself.

“Invalid House Tier” with qb-houses

The house’s tier has no branch in getDataForHouseTier. The shipped function stops at tier 100; add a branch for any higher number you use.

Nil value error when opening a house stash with qb-houses

The server reads Config.StashWeights[houseTier].slots, and the shipped config defines tier 1 only, under the comment “Please follow by tiers!”. Add an entry with maxweight and slots for every tier your houses use. The QBCore nil value guide covers this class of error.

Shells placed in the ps-housing stream folder do not load

The wiki warns against it: put the shells in a separate resource, start it, and add them to Config.Shells.

Stuck in a black loading screen with ps-housing

ps-housing’s manifest declares six of the game’s own interior prop archetype files with DLC_ITYP_REQUEST, under the comment -- Fix for "stuck in black loading screen". Keep those lines if you edit the manifest. nta explains why such declarations exist: a game prop defined in int_residential is in “not such a permanently-loaded file”.

The player spawns in a wall or outside the shell

The door or exit offset does not match the shell. Each script measures it differently (see the table above), and an offset copied from another script or another shell lands in the wrong place. In esx_property, measure positions inside the property with getoffset.

Next Steps

Browse MLO & interior maps

MLO interiors and maps for FiveM servers: houses, mechanic shops, cafes, restaurants, shops and islands.

Browse catalogue →

Official documentation and repository references