> For the complete documentation index, see [llms.txt](https://kb.heathen.group/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.heathen.group/old-kb/old-toolkit-for-steamworks/unreal/blueprint-nodes/functions/set-mod-directory-name.md).

# Set Mod Directory Name

{% hint style="success" %}

#### Like what you're seeing?

Support us as a [GitHub Sponsor](/old-kb/where-to-buy/become-a-sponsor.md) and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude.\
\
These articles are made possible by our [GitHub Sponsors](/old-kb/where-to-buy/become-a-sponsor.md) ... become a sponsor today!
{% endhint %}

## Introduction

{% hint style="warning" %}
Only valid for Steam Game Servers
{% endhint %}

Sets the game directory.

This should be the same directory where the game gets installed into. Just the folder name, not the whole path. e.g. "Spacewar".

{% hint style="info" %}
This is required for all game servers and can only be set before calling [Log On](/old-kb/old-toolkit-for-steamworks/unreal/blueprint-nodes/functions/log-on.md) / [Log On Anonymous](/old-kb/old-toolkit-for-steamworks/unreal/blueprint-nodes/functions/log-on-anonymous.md)
{% endhint %}

### Directory Name

The game directory to set. Must not be **NULL** or an empty string (""). This can not be longer than 32

## Nodes

<figure><img src="/files/jvYDMKCfRJyVRLWibVbN" alt=""><figcaption></figcaption></figure>
