> For the complete documentation index, see [llms.txt](https://docs.console.zenlayer.com/welcome/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.console.zenlayer.com/welcome/cn/virtual-machine/best-practice/set-up-palworld-dedicated-server-with-zenlayer-virtual-machine.md).

# 使用 Zenlayer 虚拟机设置 Palworld 专属服务器

## 背景信息

Palworld 是一款生存和制作游戏，您可以在其中与神秘生物“Pals”战斗、耕种、建造和共事。这款游戏提供令人兴奋的多人游戏体验，通过设置专用服务器可以增强这种体验。您可以使用 Zenlayer 的全球低延迟虚拟机来设置 Palworld 专用服务器。

有关当前促销套餐的列表，请[**点击查看**](https://console.zenlayer.com/home/special-offers/palworld-server-hosting?promoId=4efbba39-096b-4e56-b56c-59683a9ad08c)。

## 前提条件

* 您拥有一个[**zenConsole**](https://console.zenlayer.com/dashboard)账户。详情请参阅[**创建账户**](/welcome/cn/platform/account-management/create-an-account.md)。
* 所有截图仅用于说明，实际界面为准。
* 虚拟机名称、IP 地址、登录用户名和密码均为示例，实际情况请提供正确的信息。

## 操作步骤

### zenConsole 上的操作

1. 进入[**zenConsole**](https://console.zenlayer.com/dashboard)并点击**获取促销**。

   <div align="left"><figure><img src="/files/34JT94rLyqLra5phNePk" alt=""><figcaption></figcaption></figure></div>
2. 选择离您最近的**地域**，并点击**立即部署**。

   <div align="left"><figure><img src="/files/NTOpVTM2mY4lEXr8yriT" alt="" width="563"><figcaption></figcaption></figure></div>
3. 保持默认设置，核对摘要并点击**确认订单**。

   <div align="left"><figure><img src="/files/sjxLJPdNuwjc69buZnUp" alt=""><figcaption></figcaption></figure></div>
4. 等待虚拟机**启动**。您将收到一封包含公网 IP 地址、用户名和密码的电子邮件。复制密码。

   <div align="left"><figure><img src="/files/KC0EhzvwvPlcl4i9D2ok" alt="" width="563"><figcaption></figcaption></figure></div>
5. 在您的 Windows 计算机上按 `Win + r` 键并运行 `mstsc` 命令。

   <div align="left"><figure><img src="/files/wgXWCQdZlyfRSwXHFYRO" alt="" width="375"><figcaption></figcaption></figure></div>
6. 在**远程桌面连接**中，输入公网 IP 地址并点击连接。

   <div align="left"><figure><img src="/files/rBoUgB8pdEe7p8bxbRIR" alt="" width="375"><figcaption></figcaption></figure></div>
7. 输入用户名，粘贴您在电子邮件中收到的密码以远程访问您的虚拟机。

   <div align="left"><figure><img src="/files/WWNBMY9nEeNIe6k4HEAC" alt="" width="342"><figcaption></figcaption></figure></div>

   *<mark style="color:blue;">**Note**</mark>*\
   \&#xNAN;*<mark style="color:blue;">您也可以通过 VNC 远程访问。详见</mark>* [*<mark style="color:purple;">**通过 VNC 访问虚拟机**</mark>*](/welcome/cn/virtual-machine/best-practice/access-a-virtual-machine.md#access-a-windows-virtual-machine-via-vnc) *<mark style="color:blue;">了解详细步骤。</mark>*
8. 双击 Palworld 游戏图标以运行虚拟机。

   <div align="left"><figure><img src="/files/vpNh1YoLXtXQAxuH5HnB" alt=""><figcaption></figcaption></figure></div>

当您看到上述界面时，可以关闭远程连接窗口并按照以下**Steps in Palworld**进行操作。

{% hint style="info" %} <mark style="color:blue;">**Note**</mark>

<mark style="color:blue;">Palworld 指定的端口，UDP 端口 8211，默认会开放以确保游戏服务器的最佳功能。</mark>
{% endhint %}

### **Steps in Palworld**

1. 安装 [Steam](https://cdn.cloudflare.steamstatic.com/client/installer/steam.dmg) 并登录。

   <div align="left"><figure><img src="/files/vKU0pwGYJeQwOo1U2JIK" alt="" width="375"><figcaption></figcaption></figure></div>
2. 找到 Palworld 并点击**PLAY**。

   <div align="left"><figure><img src="/files/7FykJmDC8sDU4ASNHifd" alt=""><figcaption></figcaption></figure></div>
3. 点击 **加入多人游戏**。

   <div align="left"><figure><img src="/files/hl3KM9CJZhT2CPd3oiFe" alt=""><figcaption></figcaption></figure></div>
4. 输入您自己的虚拟机 IP 地址（在本示例中为 `107.151.135.106`），然后点击 **连接** 开始游戏。

   <div align="left"><figure><img src="/files/ECXNQbFGAks2UmHAbazg" alt=""><figcaption></figcaption></figure></div>

### 结果

您现在已经使用 Zenlayer 的虚拟机托管了 Palworld 的专用服务器。分享 IP 地址给您的朋友，开始令人兴奋的多人游戏体验！

### 下一步操作

#### 更新游戏版本

您可以远程访问您的虚拟机并进入 `C:\steamcmd`。双击 1.bat 文件以更新 Palworld 游戏版本。

<figure><img src="/files/0i5WA8gRWCA8M7uNnCzm" alt=""><figcaption></figcaption></figure>

#### 自定义游戏配置

您还可以自定义游戏配置。

1. 远程访问您的虚拟机并进入 `C:\steamcmd\steamapps\common\PalServer\Pal\Saved\Config\WindowsServer`。

   <figure><img src="/files/lfCmpPSK7Alb3GEIxoQy" alt=""><figcaption></figcaption></figure>
2. 修改文件并保存。

   <figure><img src="/files/uqu7JgY01G1GnYOgIZfc" alt=""><figcaption></figcaption></figure>
3. 重启您的虚拟机以使更改生效。

配置文件中的参数说明如下：

（无匹配条目）


---

# 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.console.zenlayer.com/welcome/cn/virtual-machine/best-practice/set-up-palworld-dedicated-server-with-zenlayer-virtual-machine.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.
