> For the complete documentation index, see [llms.txt](https://docs.nullcraft.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nullcraft.org/tutorial/the-forest-server.md).

# 森林开服教程

{% hint style="warning" %}
**此教程正在持续更新中。**
{% endhint %}

## 开始 <a href="#kai-shi" id="kai-shi"></a>

{% hint style="info" %}
本教程面&#x5411;**《灵工艺森林开服器》**&#x8F6F;件用户。 如果你不是使用此软件来开服，那么本教程的内容可能不适用于你。
{% endhint %}

### 下载官方专用服务器工具

1. 登录 Steam 在 **库** 中 **点击 游戏、软件和工具** 勾选 **工具** 选项。

<div align="left"><figure><img src="/files/qEOHa0I4JIL9ahflySbS" alt="" width="272"><figcaption></figcaption></figure></div>

2. 找到 **The Forest Dedicated Server** 并下载，下载完毕后打开文件目录。

<div align="left"><figure><img src="/files/LH5O15TYvpQ5OYAjkfWl" alt="" width="560"><figcaption></figcaption></figure></div>

### 运行服务器

1. 下载 **《灵工艺森林开服器》**

{% embed url="<https://nullcraft.org/d/101>" %}

2. 将 **《灵工艺森林开服器》** 放入 **The Forest Dedicated Server.exe** 同级目录下。

<div align="left"><figure><img src="/files/sZMEJWXlFSYmK1jdCA6s" alt="" width="563"><figcaption></figcaption></figure></div>

3. 打开 **《灵工艺森林开服器》**  并运行服务器，直至等待提示 **服务器启动完毕**。

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

4. 打开游戏，测试局域网内是否能够正常显示服务器
   * 注：默认游戏名为 **NullCraft The Forest Server** 可在 **服务器配置** 页面进行修改。

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

## 设置 Steam 游戏账户

若要使用 Steam 服务器功能，例如收藏，游戏保存，需要设置 Steam 游戏账户令牌。

**可参考此教程:**

{% content-ref url="/pages/hpjqqeoSDIinqrUTdAXj" %}
[Steam 游戏服务器帐户管理](/tutorial/steam-game-server.md)
{% endcontent-ref %}

## 问题排查

### 无法找到服务器

检查 服务器配置页面 中的 服务器IP地址 栏目，将此处的 IP 地址填写为本机 IPv4 地址或公网 IPv4 地址后再试

### 无法保存游戏进度

检查是否设置了 [#she-zhi-steam-you-xi-zhang-hu](#she-zhi-steam-you-xi-zhang-hu "mention") 的令牌
