> ## 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.

# Mini game server

> Connect the game process to the management panel with JSON.

Mini game server tool connects the game process in your own machine to Zonely Minigame Gateway. Connection status from panel, process output and system measurements can be monitored.

## Prepare connection record

**Management → Mini Games** Create server connection for the corresponding game in the section. Get the connection JSON produced by the panel. This data contains specific IDs to the site and server.

## Start the tool

[Official package](https://github.com/zonely-gen-tr/zonely-minigame-server) Download and hold files in the same folder. **Node.js 20 or above** required. Run the launcher of your system:

> [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
> ```

The first formed **config.json** Type the full JSON you get from the panel to the file.

## Select game process

| Area | 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. |

Complete process areas according to your own application and restart the tool. **connection\_key** and protect other connection IDs in the form of panel produced.

## Watch from the panel

Open the connection status and log output. Check the process command, parameters and working folder if the vehicle is connected and the game is not started.

[Mini game management](https://docs.zonely.gen.tr/en/guides/minigame-studio.md) · [Connections and tools](https://docs.zonely.gen.tr/en/integrations/overview.md)


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