> For the complete documentation index, see [llms.txt](https://docs.razedmods.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.razedmods.com/guides/installing-resources.md).

# Installing Resources

{% stepper %}
{% step %}

### Copy the `resources` folder into `txData`

Find the folder named **resources** from your download, then copy it into your server's **txData** folder.

If asked to **Replace files/folders**, choose **Yes / Replace All**.

{% hint style="info" %}
Tip: On Windows, you can drag & drop the folder. On macOS, hold `Option` while dragging to copy.
{% endhint %}
{% endstep %}

{% step %}

### Open `server.cfg` in a text editor

Go to your server files, find **server.cfg**, right‑click → *Open with* → **Notepad** (or any editor).

If the file won't open, make sure file extensions are visible and the file is not `server.cfg.txt`.
{% endstep %}

{% step %}

### Add this line at the bottom of `server.cfg`

Copy:

{% code title="server.cfg" %}

```
ensure [Razed-Mods]
```

{% endcode %}

Put this **below** other `ensure` lines for your resources. One line is enough.

![](/files/60e67a871657bd220500293fc5a430680a1e1347)
{% endstep %}

{% step %}

### Save server.cfg and start your FiveM server

* Press `Ctrl` + `S` (Windows) or `⌘` + `S` (Mac) to **save** the `server.cfg` file.
* Close the text editor.
* Start (or restart) your FiveM server. You can do this by launching **FXServer.exe**.

If everything is correct, the console should start the Razed-Mods resources without any errors.
{% endstep %}
{% endstepper %}

## Quick Troubleshooting

<details>

<summary>Nothing happens / resource didn’t start</summary>

* Re‑check that `resources` sits inside `txData` (not beside it).
* Confirm the line is `ensure [Razed-Mods]` (brackets included).
* Restart the whole server after saving `server.cfg`.

</details>

<details>

<summary>Getting a Recursive Error crash</summary>

* Make sure you don't have other visual mods running. Remove them if you do.
* Create a new FiveM server since yours is likely using outdated files which are causing the crash.

</details>

<details>

<summary>server.cfg didn’t save</summary>

* Close other programs that might be locking the file.
* Run your editor as Administrator (Windows).

</details>

<details>

<summary>Still stuck?</summary>

Send a screenshot of your `txData` folder and the bottom of your `server.cfg` to support in our Discord server. We’ll try our best to find the issue as quickly as possible.

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.razedmods.com/guides/installing-resources.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
