# 像素工厂(Mindustry)开服教程

{% hint style="warning" %}
注意

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

## 开始

### 准备必要内容

#### 下载官方服务端

前往作者代码仓库下载服务端程序 `server-release.jar` 文件

{% embed url="<https://github.com/Anuken/Mindustry/releases>" %}

#### 下载灵工艺像素工厂开服工具

前往灵工艺官方发布页面可以下载开服工具

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

### 开始部署服务器

{% stepper %}
{% step %}

### 运行《灵工艺像素工厂开服器》

<figure><img src="/files/IsompifxPYCOnPwmNOw5" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### 进入本体设置导入服务端

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

<figure><img src="/files/Zm8NxITY9lofpj1yUoXS" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### 配置服务端与Java环境

<figure><img src="/files/Jh8owwEz50pvz2nnCuKr" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### 返回控制中心启动服务器

因服务端策略为启动与主持地图游戏，仅启动服务器未主持游戏时是不会在游戏内访问到的

启动服务器后可以输入 `host [地图名称] [游戏模式]` 的命令并主持游戏

<figure><img src="/files/1IbFkAYYXdgDJOaqrgSx" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### 启动并主持游戏后可在游戏本地服务器内显示并加入

<figure><img src="/files/jOxcHuNGWXDQjeEsgCRT" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

### 参考内容

#### 官方维基

{% embed url="<https://mindustrygame.github.io/wiki/>" %}


---

# Agent Instructions: 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:

```
GET https://docs.nullcraft.org/tutorial/mindustry-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
