# How to Install a FiveM MLO on Your Server (Step by Step)

You have purchased or downloaded a FiveM MLO. Now what? Installation is straightforward if you know the steps — but a single mistake in the file structure or server.cfg can result in the MLO not appearing at all, flickering textures, or server crashes.

This guide covers the complete installation process for any FiveM MLO.

## Before You Start — What You Need

- FiveM server with txAdmin or direct server access
- The MLO resource files downloaded from Tebex Keymaster or wherever you purchased
- FTP access or direct file system access to your server's resources folder
- A text editor such as Notepad++ or VS Code

## Step 1 — Download Your MLO Files

From Tebex/CFX Keymaster:
1. Go to portal.cfx.re and log in with your CFX account
2. Navigate to Granted Assets
3. Find your purchased MLO and click Download
4. Extract the ZIP file to your computer

A properly structured MLO resource folder contains:
- fxmanifest.lua — the resource manifest file
- stream/ folder — containing your YDR, YTD, YMAP, YTYP files
- Sometimes a client.lua for additional configuration

If any of these are missing, contact the developer before attempting installation.

## Step 2 — Upload to Your Server

Upload the entire MLO folder to your server's resources directory. Make sure the folder name has no spaces — use hyphens instead:
- Good: baasha-gang-hideout
- Bad: baasha gang hideout

Using FTP (FileZilla or similar):
1. Connect to your server via FTP
2. Navigate to /resources/
3. Upload the entire MLO folder
4. Verify all files transferred correctly

Using txAdmin file manager:
1. Open txAdmin panel
2. Navigate to your resources directory
3. Upload and extract the ZIP file directly

## Step 3 — Add to server.cfg

Open your server.cfg file and add the ensure line. Replace baasha-gang-hideout with the exact name of your MLO folder. The folder name and the ensure line must match exactly including capitalization.

Add it after your framework ensure lines like this:

ensure qb-core
ensure baasha-gang-hideout
ensure qb-gangscript

## Step 4 — Restart Your Server

After adding the ensure line, restart your server completely. Do not just use refresh — a full restart is required for new map resources to load properly.

In txAdmin: Server > Restart Server
Via console: type quit then restart the server process

## Step 5 — Verify Installation

After the server restarts, join and navigate to the location where the MLO should appear. Check these things:

**MLO is visible** — You can see the exterior and enter the interior.
**No flickering** — Textures are stable and not flashing between the MLO and the default GTA V terrain.
**No LOD pop-in** — At distance the building looks reasonable, not invisible until you get close.
**Proper collision** — You walk on floors correctly and cannot fall through surfaces.

## Common Installation Errors and Fixes

**MLO does not appear at all:**
- Check that the ensure line in server.cfg matches the exact folder name
- Verify the fxmanifest.lua exists inside the folder
- Check server console for any resource loading errors
- Make sure the stream/ folder contains the actual map files

**Flickering textures:**
- Another resource is loading a map in the same location — resource conflict
- Check if you have any other MLOs covering the same area
- Try moving conflicting resources earlier or later in server.cfg load order

**Missing textures (grey or pink surfaces):**
- YTD files may not have transferred correctly — re-upload
- Check that texture quality in your server config is not set too low
- Verify the YTD files are in the stream/ folder

**Players fall through the floor:**
- Collision files may be missing from the stream folder
- Contact the developer — this is a build issue with the MLO itself

**Server crashes on startup:**
- The fxmanifest.lua may have a syntax error
- A file may be corrupted during download — re-download and reinstall

## Correct File Structure Reference

A correctly structured MLO resource looks like this:

baasha-gang-hideout/
├── fxmanifest.lua
└── stream/
├── baasha_hideout.ydr
├── baasha_hideout.ytd
├── baasha_hideout.ymap
└── baasha_hideout.ytyp

Some MLOs have additional LOD model files:

baasha-gang-hideout/
├── fxmanifest.lua
└── stream/
├── baasha_hideout.ydr
├── baasha_hideout_lod.ydr
├── baasha_hideout.ytd
├── baasha_hideout.ymap
└── baasha_hideout.ytyp

## Getting Support

If you purchased from Baasha Bhai Studio and are experiencing installation issues, open a ticket in the Discord server. Include your server build version, any console errors related to the resource, a screenshot of your resource folder structure, and your server.cfg ensure lines. Most installation issues are resolved within minutes with the right information.

## Final Thoughts

MLO installation is a five minute process when done correctly. The most common mistakes are mismatched folder names in server.cfg, missing ensure lines, and resource conflicts with other map files. Follow this guide step by step and your new MLO will be live on your server in minutes.