How to Add Custom Maps (MLO) in FiveM
Guide to installing new buildings and interiors for your server
Adding new maps and buildings (MLO) gives your server a unique feel. The process is simple but requires precise file organization.
- 1Step 1
Prepare Map Files
Ensure the map folder contains a 'stream' directory and an 'fxmanifest.lua' (or resource.lua) file.
-- fxmanifest.lua of a map resource fx_version 'cerulean' game 'gta5' this_is_a_map 'yes' data_file 'DLC_ITYP_REQUEST' 'stream/*.ytyp' - 2Step 2
Upload Files
Upload the entire map folder to your server's 'resources' directory. Creating a [maps] folder to group them is recommended.
- 3Step 3
Activate
Open 'server.cfg' and add 'ensure map_folder_name'. If you used a group folder [maps], just add 'ensure [maps]'.
- 4Step 4
Test Map
Enter the server and go to the map location to check for any texture or collision issues.
Helpful tips
- ConflictsAvoid installing two maps in the same geographical location, as this will cause building overlap and glitches.
- PerformancePoorly designed maps cause FPS drops. Always choose optimized maps.
Frequently asked questions
What is an MLO in FiveM?
An MLO is a custom interior, such as a police station or a house you can walk into. It ships as stream files (ymap, ytyp, ydr and ytd) inside a resource that you ensure like any other script.
Why are walls or textures missing in my new map?
Usually the texture files are too large or another map is placed on the same spot. Check the console for oversized asset warnings, compress big ytd files, and make sure two maps do not edit the same area.
Do custom maps slow down the server?
Maps mostly load on the players' side, so the cost is download size and client FPS rather than server CPU. Keep the number of large maps reasonable and compress textures so players join faster.
Two maps conflict at the same location. What can I do?
Keep only one of them, or ask the author for a version without the overlapping ymap. Removing only some files of a map usually leaves holes or floating objects.
Run this guide on a ready server
Need a server for this guide? FiveM server hosting from SNG comes with txAdmin, OneSync and DDoS protection, and the SNG CDN for FiveM delivers your server files to players from inside Saudi Arabia.
Related FiveM guides
Want a server that handles heavy maps?
