> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zonely.gen.tr/llms.txt
> Use this file to discover all available pages before exploring further.

# 迷你游戏服务器

> 将游戏进程与JSON的管理面板连接.

迷你游戏服务器工具将您自己的机器中的游戏进程连接到 Zonely Minigame Gateway. 可以从面板,进程输出和系统测量中监测连接状态.

## 准备连接记录

**管理 → 小型游戏** 为区域中相应的游戏创建服务器连接。 获取连接 JSON 。此数据包含特定的身份,以访问网站和服务器。

## 启动工具

[正式软件包](https://github.com/zonely-gen-tr/zonely-minigame-server) 下载和保存文件在同一文件夹中 。 **Node.js 20岁或以上** 运行您的系统的启动器 :

> [tab] Windows
>
> ```bat title="Windows" icon="https://mintcdn.com/zonely-a8cd49e7/ja7fj31SJsKV8uKD/images/doc-icons/ui-monitor.svg?fit=max&auto=format&n=ja7fj31SJsKV8uKD&q=85&s=be8f113e6d089ddf27a146dee68a1b3c" theme={"theme":"css-variables"}
> Zonely-Minigame-Server.bat
> ```

> [tab] Linux
>
> ```bash title="Linux" icon="https://mintcdn.com/zonely-a8cd49e7/ja7fj31SJsKV8uKD/images/doc-icons/ui-terminal.svg?fit=max&auto=format&n=ja7fj31SJsKV8uKD&q=85&s=974dbaf0043eca8dd43204c8ea988572" lines theme={"theme":"css-variables"}
> chmod +x zonely-minigame-server.sh
> ./zonely-minigame-server.sh
> ```

第一次组建 **config.json** 输入完整 JSON 。从面板到文件。

## 选择游戏进程

| 区域 | Function |
| - | - |
| process.command | Application to start the game process. |
| process.args | Start parameters. |
| process.cwd | Work folder of the process. |
| process.env | Timely to be given environment values. |
| auto\_start | Automatic start when the connection is installed. |

根据您的应用程序完成进程区域并重新启动工具 。 **connection\_key** 并保护其他的连接ID,其形式为所出面板.

## 从面板上看

打开连接状态并日志输出。 如果连接到此工具, 则检查进程命令、 参数和工作文件夹 。

[迷你游戏管理](https://docs.zonely.gen.tr/zh-CN/guides/minigame-studio.md) · [连接和工具](https://docs.zonely.gen.tr/zh-CN/integrations/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.