> For the complete documentation index, see [llms.txt](https://gtfo-modding.gitbook.io/wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gtfo-modding.gitbook.io/wiki/guides/enabling-mtfo-hot-reload.md).

# Enabling MTFO Hot Reload

## Enabling MTFO Hot Reload

{% hint style="warning" %}
Hot reloading may not work for every datablock. If you make a change and nothing happens, you may need to restart the game instead. Additionally, hot reloading isn't quite the same as restarting your game, and may cause bugs. If in doubt, restart your game.
{% endhint %}

Hot reloading is a MTFO feature that allows you to reload datablocks without restarting the game. It can speed up your ability to test your changes quite considerably, and is definitely something you should strongly consider before trying to make your own datablock mods.

If you're using r2modman to manage your mods, then after creating a profile with MTFO (and launching the modded profile at least once to generate the config files) you can go to Config Editor in the r2modman profile, and then edit MTFO's config file.

<figure><img src="/files/nNZC1GuqrMnidgdEZqnI" alt=""><figcaption><p>Accessing MTFO's config.</p></figcaption></figure>

Then simply set EnableHotReload to true and save.

<figure><img src="/files/MTzpBG70bAbQs6Rp7ucn" alt=""><figcaption><p>The EnableHotReload setting in MTFO's config.</p></figcaption></figure>

You can also edit the config file with any text editor as well.

{% hint style="info" %}
Don't mind the description stating it only works for a few datablocks, it's outdated.
{% endhint %}

Now when you're in the game's level selection menus, a button will appear on the left that will reload your datablocks without having to restart the game.

<figure><img src="/files/IvlC8BbOBcensR1P8z96" alt=""><figcaption><p>The Reload Game Data button.</p></figcaption></figure>


---

# 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://gtfo-modding.gitbook.io/wiki/guides/enabling-mtfo-hot-reload.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.
