> For the complete documentation index, see [llms.txt](https://fm-shop.gitbook.io/fm-shop-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fm-shop.gitbook.io/fm-shop-docs/installation/all-maps-access-installation.md).

# All Maps Access installation

How to install the maps of an All Maps Access subscription on your FiveM server.

Follow the steps in order. It takes about 5 minutes.

{% hint style="info" %}
This guide is for the **All Maps Access** subscription. If you bought a single map, use the [Installation guide](https://fm-shop.gitbook.io/fm-shop-docs/installation/installation-guide) instead. The two guides are different.
{% endhint %}

You **do not need to edit, move or delete any file** inside our folders.

## Before you start

* You need access to your server files: the folder that contains `resources` and `server.cfg`. If you use **txAdmin**, it is the *Server Data Folder* shown in the txAdmin settings.
* Download our resources from **portal.cfx.re → Granted Assets**, using the **same Cfx.re account** that owns your server key. See [Receiving your purchase](https://fm-shop.gitbook.io/fm-shop-docs/getting-started/receiving-your-purchase).

## Steps

{% stepper %}
{% step %}

### Stop the server

Always stop the server before adding or updating maps.
{% endstep %}

{% step %}

### Copy the folders

Unzip everything you downloaded, then copy **all** the `cfx-fm-...` folders **directly** inside `resources`.

```
resources/
├─ cfx-fm-map-data-sub/
│  ├─ fxmanifest.lua        <- this file must be right here
│  ├─ gta5.meta
│  └─ stream/
├─ cfx-fm-city-hall-exterior-sub/
├─ cfx-fm-aldente-interior-sub/
└─ ...
```

{% hint style="danger" %}
**Do not put our folders inside other folders**, for example `resources/[maps]/cfx-fm-map-data-sub`. The `cfx-fm-map-data-sub` resource loads some files from its exact path, and inside another folder they stop working.
{% endhint %}

**Do not rename our folders.** The names must match the lines you add in the next step.

**Common mistake:** after unzipping, some folders end up doubled, like `cfx-fm-map-data-sub/cfx-fm-map-data-sub/fxmanifest.lua`. Open each folder: if you do not see `fxmanifest.lua` right away, move the inner folder up one level.
{% endstep %}

{% step %}

### Add the maps to `server.cfg`

Open `server.cfg` with a text editor (in txAdmin: **CFG Editor**, in the left menu). Choose **one** of the two blocks below and paste it **at the end** of the file.

* **City Hall:** there are two locations. Choose Block A **or** Block B. Never both.
* **PDM:** there are two versions of the same map in different locations. The `ph` version is active. To use the `rh` version, put `#` in front of the `ph` line and remove the `#` from the `rh` line. Never use both.

Lines that start with `#` are ignored by the server.

{% tabs %}
{% tab title="Block A - Legion Square" %}
City Hall at **Legion Square**.

```
# ===== FM MAPS =====
ensure cfx-fm-map-data-sub

# City Hall - Legion Square
ensure cfx-fm-city-hall-exterior-sub
ensure cfx-fm-city-hall-interior-sub

# PDM - keep only ONE of these two lines active
ensure cfx-fm-pdm-interior-ph-v1-sub
# ensure cfx-fm-pdm-interior-rh-v1-sub

# Other maps
ensure cfx-fm-aldente-interior-sub
ensure cfx-fm-ammunation-big-sub
ensure cfx-fm-ammunation-small-sub
ensure cfx-fm-barber-shops-sub
ensure cfx-fm-beach-club-01-sub
ensure cfx-fm-bean-machine-v1-sub
ensure cfx-fm-binco-stores-interior-sub
ensure cfx-fm-csi-interior-01-sub
ensure cfx-fm-fleeca-banks-v2-sub
ensure cfx-fm-grotti-auto-interior-v1-sub
ensure cfx-fm-jewelry-interior-sub
ensure cfx-fm-lapuerta-pd-exterior-sub
ensure cfx-fm-lapuerta-pd-interior-sub
ensure cfx-fm-larrys-interior-v1-sub
ensure cfx-fm-ltd-gasoline-interior-sub
ensure cfx-fm-lucky-plucker-interior-sub
ensure cfx-fm-m-houses-01-sub
ensure cfx-fm-malibu-club-interior-sub
ensure cfx-fm-medical-center-interior-v1-sub
ensure cfx-fm-moore-club-v1-sub
ensure cfx-fm-mrpd-interior-v1-sub
ensure cfx-fm-ponsonbys-interior-sub
ensure cfx-fm-rusty-garage-interior-sub
ensure cfx-fm-south-side-square-v1-sub
ensure cfx-fm-suburban-interior-sub
ensure cfx-fm-supermarkets-interior-v2-sub
ensure cfx-fm-taco-farmer-interior-sub
ensure cfx-fm-towing-impound-exterior-sub
ensure cfx-fm-towing-impound-interior-sub
ensure cfx-fm-tuner-shop-interior-sub
# ===================
```

{% endtab %}

{% tab title="Block B - Little Seoul" %}
City Hall in **Little Seoul**.

```
# ===== FM MAPS =====
ensure cfx-fm-map-data-sub

# City Hall - Little Seoul
ensure cfx-fm-city-hall-exterior-ls-sub
ensure cfx-fm-city-hall-interior-ls-sub

# PDM - keep only ONE of these two lines active
ensure cfx-fm-pdm-interior-ph-v1-sub
# ensure cfx-fm-pdm-interior-rh-v1-sub

# Other maps
ensure cfx-fm-aldente-interior-sub
ensure cfx-fm-ammunation-big-sub
ensure cfx-fm-ammunation-small-sub
ensure cfx-fm-barber-shops-sub
ensure cfx-fm-beach-club-01-sub
ensure cfx-fm-bean-machine-v1-sub
ensure cfx-fm-binco-stores-interior-sub
ensure cfx-fm-csi-interior-01-sub
ensure cfx-fm-fleeca-banks-v2-sub
ensure cfx-fm-grotti-auto-interior-v1-sub
ensure cfx-fm-jewelry-interior-sub
ensure cfx-fm-lapuerta-pd-exterior-sub
ensure cfx-fm-lapuerta-pd-interior-sub
ensure cfx-fm-larrys-interior-v1-sub
ensure cfx-fm-ltd-gasoline-interior-sub
ensure cfx-fm-lucky-plucker-interior-sub
ensure cfx-fm-m-houses-01-sub
ensure cfx-fm-malibu-club-interior-sub
ensure cfx-fm-medical-center-interior-v1-sub
ensure cfx-fm-moore-club-v1-sub
ensure cfx-fm-mrpd-interior-v1-sub
ensure cfx-fm-ponsonbys-interior-sub
ensure cfx-fm-rusty-garage-interior-sub
ensure cfx-fm-south-side-square-v1-sub
ensure cfx-fm-suburban-interior-sub
ensure cfx-fm-supermarkets-interior-v2-sub
ensure cfx-fm-taco-farmer-interior-sub
ensure cfx-fm-towing-impound-exterior-sub
ensure cfx-fm-towing-impound-interior-sub
ensure cfx-fm-tuner-shop-interior-sub
# ===================
```

{% endtab %}
{% endtabs %}

Save the file.
{% endstep %}

{% step %}

### Clear the cache

Delete the **`cache`** folder that sits next to your `resources` folder. It is safe: the server creates it again on start. Do this every time you install or update a map.
{% endstep %}

{% step %}

### Start the server and check the console

Start the server and wait about 10 seconds. The console shows a short **FM Maps** summary.
{% endstep %}
{% endstepper %}

## What the console shows

**Everything correct:** a green message.

```
[FM Maps]  ----------------------------------------------------------------
[FM Maps]  All good! Your FM maps are installed correctly.
[FM Maps]  31 maps running   |   City Hall: Legion Square
[FM Maps]  ----------------------------------------------------------------
```

**Something to fix:** a red message. Each problem comes with how to fix it.

```
[FM Maps]  ----------------------------------------------------------------
[FM Maps]  1 thing to fix, then restart the server:
[FM Maps]  1. Two City Hall versions are running (Legion Square and Little Seoul).
[FM Maps]     How to fix: In server.cfg keep only ONE City Hall (Step 3).
[FM Maps]  ----------------------------------------------------------------
```

**No FM Maps message at all:** `cfx-fm-map-data-sub` did not start. Check that the folder is directly in `resources` (Step 2) and that `ensure cfx-fm-map-data-sub` is in `server.cfg` (Step 3). Then look for red errors in the console that mention `cfx-fm-`.

## Troubleshooting

**"Couldn't find resource cfx-fm-..."** The folder is doubled (see Step 2) or was renamed. The folder name must be exactly the one written after `ensure`.

**"You lack the required entitlement..."** The resources were downloaded with a different Cfx.re account than the one that owns your server key. Download them again from [portal.cfx.re](https://portal.cfx.re) with the correct account, or generate the server key with the account that bought the subscription.

**Missing buildings, floating objects or invisible walls** Two versions of the same map are running. Check that:

* only one City Hall and only one PDM are active in `server.cfg`;
* you do not have old standalone versions of our maps in `resources` (same name without `-sub`). If you do, delete them;
* `cfx-fm-map-data-sub` is in `server.cfg`.

**The map looks old after an update** Delete the `cache` folder (Step 4) and restart. Players can also clear their FiveM cache.

## Updating

1. Stop the server.
2. **Delete** the old folder completely, then copy the new one in its place. Do not copy the new files over the old ones.
3. Delete the `cache` folder.
4. Start the server.

## Support

Need help? Open a ticket on our [Discord](https://discord.gg/TZeRjWeFKQ). See [Support](https://fm-shop.gitbook.io/fm-shop-docs/help/support).
