Skip to content
In-house anti-DDoS, included on VPS, game servers and web hosting · hosted in France · cancel anytime See our plans
CloudFive
Log in

01

ymap, ytyp, MLO: what a map contains

A FiveM map is a set of files in GTA V's formats:

  • .ymap: the placement file. It says which objects to put in the world, where and facing which way: barriers around a car park, a redesigned square, a race track. An exterior map is mostly made of ymaps.
  • .ytyp: the definitions file ("archetypes"). It describes the models the map adds on top of the game's own.
  • .ydr (models), .ytd (textures) and .ybn (collisions, without which you walk through objects): the 3D files themselves, when the map does more than use the game's objects.

A map that only places game objects can fit in a single .ymap file. A map that adds its own models contains dozens of files.

An MLO is a separate case: an interior you can walk into, with its own rooms and lighting, defined in a ytyp. It is installed the same way, with specifics (doors, escrow) covered in installing an MLO. Many maps combine both: a building with its interior and its surroundings.

02

Create the resource: stream folder and fxmanifest

The expected structure, according to the Cfx.re documentation:

resources/
  [maps]/
    ma_map/
      fxmanifest.lua
      stream/
        ma_map.ymap
        ma_map.ytyp
        ma_map_objets.ydr
        ma_map_objets.ytd
        ma_map_collisions.ybn

The stream folder holds all the game files: FiveM sends them to players without you having to list them. A map's fxmanifest.lua:

fx_version 'cerulean'
game 'gta5'
lua54 'yes'
this_is_a_map 'yes'

data_file 'DLC_ITYP_REQUEST' 'stream/ma_map.ytyp'
  • this_is_a_map 'yes': marks the resource as a map; FiveM then reloads the map data when it starts. Without this line, objects may be missing.
  • data_file 'DLC_ITYP_REQUEST': one line per .ytyp file, with its path in the resource. It asks the game to load these definitions permanently; the Cfx.re documentation describes it as the equivalent of PERMANENT_ITYP_FILE. Shared or paid maps often include it already: keep it and check that the name matches the file.

Then add ensure ma_map (or ensure [maps] for the whole folder) to server.cfg, and restart the server rather than just the resource. The other manifest lines are explained in the fxmanifest.lua.

If you build the map yourself with CodeWalker, the Cfx.re documentation says to also generate the _manifest.ymf file (the project's "Manifest Generator" tool): it is needed to load the models correctly. FiveM also reads .ymap and .ytyp files in XML format, as long as they are named without an extra extension (ma_map.ymap, not ma_map.ymap.xml).

03

Conflicts between two maps

Two maps that change the same area get in each other's way: duplicate objects, walls you walk through, flickering textures, holes in the ground. FiveM does not decide for you:

  • One map per location. Before installing a map, find the area it covers and compare it with what you already have, MLOs included.
  • Files with the same name. A file in stream with the same name as a game file replaces it: this is how a map changes an existing location, for example to remove objects. If two resources replace the same file, only one version applies, and the other map breaks without a clear message.
  • Duplicates of the same map: two copies of the same map, or an old version forgotten in another folder, cause the same symptoms.

To find the culprit, disable the maps' ensure lines one at a time by adding # in front, restart and go back to the spot. Keep maps in a [maps] folder and note the area each one touches. How the file is organised is covered in FiveM's server.cfg.

04

File size and loading time

Everything in stream is downloaded by each player on their first connection, then kept in FiveM's cache; it is only downloaded again if the file changes. A map weighing several hundred megabytes therefore lengthens every new player's first connection, and each map update triggers a new download.

  • Oversized files are the main source of problems. At startup, the console flags files that are too large, with the warning "Oversized assets can and WILL lead to streaming issues": models that do not show, blurry or flickering textures. Ask the author for an optimised version, or reduce the textures.
  • The number of maps matters too: each one uses memory on the player's side. Keep the ones that really serve your gameplay.
  • Escrow-protected maps only start with a licence key from the Cfx.re account that bought them: see the FiveM licence key.

Other settings that lighten a busy server are in optimising a FiveM server.

05

The required gamebuild

Many maps use objects added by a GTA V update. If your server enforces an older gamebuild, those objects do not exist: invisible parts of the map, missing collisions, or a resource that refuses to start.

  • The map's page usually states the minimum build. Set it with sv_enforceGameBuild at the top of server.cfg, then fully restart the server: choosing the number is covered in FiveM gamebuild.
  • An author can enforce it in the manifest, with a dependency such as '/gameBuild:h4' (at least build 2189, the Cayo Perico one). The resource then refuses to start on an older build.
  • Changing the build changes the game content for every player: check your other resources afterwards, vehicles and clothing included.

FiveM for GTA V Enhanced. Files made for classic FiveM are converted for the Enhanced version with Alchemist, the tool published by Cfx.re. Read its documentation before moving a map from one version to the other.

06

On CloudFive

On our FiveM hosting plans, from €2.50 per month:

  • files: maps, often large, are uploaded over SFTP or through the file manager in the customer area manager.cloudfive.fr, on NVMe storage;
  • backups from the customer area, to roll back if a map breaks something;
  • txAdmin included and the console, to read startup warnings about oversized files or missing dependencies;
  • the artifacts version installed and the available versions are shown, with a button to roll back to the previous one (a backup is made first).

The server is ready in about 30 seconds, in France, on AMD Ryzen 9 9950X with DDR5 memory, on our own network (AS218808), with Anti-DDoS Premium included and a FiveM-specific profile. ESX, QBCore or Qbox install in one click, and a shared Patreon key is provided at no extra cost, limited to 48 players. Monthly, no commitment, with French-speaking support 7 days a week by ticket, on Discord and by phone.

07

Frequently asked questions

What is the difference between an MLO and a ymap?

A ymap is a placement file: it puts objects in the world, outdoors as well as indoors. An MLO is a complete interior you can walk into, with its own rooms and lighting, defined in a ytyp file. Both are installed as a resource, with a stream folder.

How do I install a ymap map on FiveM?

Create a folder in resources with an fxmanifest.lua containing fx_version, game 'gta5' and this_is_a_map 'yes', and a stream subfolder with the map's files. Add ensure followed by the folder name to server.cfg, then restart the server.

What is DLC_ITYP_REQUEST for in an fxmanifest?

The data_file 'DLC_ITYP_REQUEST' line followed by the path of a .ytyp file asks the game to load these model definitions permanently. Many maps that bring their own objects use it: keep the one provided by the author and check that the name matches the file.

Why do two maps overlap or flicker?

They change the same area, or replace the same game file. Keep one map per location. To find the one causing trouble, disable the ensure lines one at a time, then restart the server and go back to the spot.

Why is my map invisible in game?

The resource does not start, the this_is_a_map line is missing, or the map uses objects from a GTA V update newer than the server's gamebuild. Read the console at startup, then check sv_enforceGameBuild in server.cfg.

Our plans

Going further.

The plans covered in this guide, hosted in France and protected by our anti-DDoS, with no commitment.

Support CloudFive AI

An answer right away, a real team behind it.

CloudFive AI answers you at any hour, in seconds. When it doesn’t know, or as soon as you ask, the team that runs the machines takes over. No offshore call centre.

  • TicketThe team replies in under 2 hours, 7 days a week.
  • CloudFive AIAt any hour, on ia.cloudfive.fr, Discord and in your customer area.
  • DiscordThe team, the AI and other customers, in the help channel.
  • Your data stays with usAI runs on our servers in France; e-mails, IPs and passwords are masked.
A ticket in the customer area: a customer’s question about a Minecraft plugin, and the CloudFive team’s reply
A real ticket in the customer area, answered by the team (demo account; shown in French).
CUSTOMER AREA · APP

Your servers.
At your fingertips.

Restart a server, watch its resources live, pay an invoice or open a ticket — and get an alert when something goes wrong.

  • The status of all your services at a glance
  • Blocked attacks, filtered traffic, monthly peak
  • A notification when a server goes down or an invoice is due

App coming soon · in the meantime, everything works in your browser at manager.cloudfive.fr

The CloudFive app: the list of your services, with their status
The CloudFive app: the home screen, your services’ status, blocked attacks and an invoice to pay