> For the complete documentation index, see [llms.txt](https://wiki.stmod.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.stmod.net/private-servers/main-stmod-window.md).

# Main STMod Window

<figure><img src="https://app.gitbook.com/o/SrVu0j9CYXbvJXRYgHnk/~/files/LFzuePM3tdmYXI5MrctQ" alt=""><figcaption></figcaption></figure>

####

{% hint style="success" %}

#### Autologin

{% endhint %}

<div align="left"><figure><img src="https://app.gitbook.com/o/SrVu0j9CYXbvJXRYgHnk/~/files/bsAq3EhiUlRgBEDzSR8O" alt=""><figcaption><p><strong><code>Check the 'Autologin' box to reveal all related options.</code></strong><br><br><strong><code>In the 'User' field, enter your in-game Metin2 username.</code></strong><br><strong><code>In the 'Pass' field, enter your in-game Metin2 password.</code></strong><br><strong><code>If your account requires a PIN to log in, check the 'Pin' box and enter your PIN in the text field next to it.</code></strong><br><strong><code>If the login process requires the mouse to be focused on a specific location on screen, check the 'Click #1' box. If no X;Y position has been recorded yet, you will be prompted to move your mouse to the desired location and press F9 to save it.</code></strong><br><strong><code>The 'Click #2' box follows the same logic as 'Click #1' and can be used for a second click position if needed.</code></strong><br><strong><code>On some servers, pressing Enter is required to complete the login process. If this applies to your server, check the 'Enter' box.</code></strong><br><strong><code>Do not type your username or password manually into the game — STMod will interact directly with the game's login window and handle the login automatically using the credentials you provided.</code></strong><br><strong><code>Char number — specifies which character slot to select after login. Counting starts from 0 (i.e., the first character is 0, the second is 1, and so on).</code></strong></p></figcaption></figure></div>

<figure><img src="https://app.gitbook.com/o/SrVu0j9CYXbvJXRYgHnk/~/files/fjrHGzc74kSML1f0ICYZ" alt=""><figcaption></figcaption></figure>

<figure><img src="https://app.gitbook.com/o/SrVu0j9CYXbvJXRYgHnk/~/files/a6L7Pi59CSTnfs6lfNfD" alt=""><figcaption></figcaption></figure>

####

{% hint style="success" %}
**Restart Client**

**→ The bot will automatically restart the client if it crashes.**\
**(Additionally, STMod monitors the Metin2 window for Runtime errors. If a Runtime error is detected, STMod will restart that client automatically — even in cases where the window has not fully crashed.)**
{% endhint %}
