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

# stackkit game

> Operate the owner's game servers on the installed Game workload

Operate the owner's game servers on the installed Game workload.

List game servers and run the routine owner operations (power, allow list) through the Pterodactyl Panel of the applied Game workload. Creating a server is `stackkit setup game`.

```bash theme={null}
stackkit game [flags]
```

Subcommands: [`stackkit game allow`](#stackkit-game-allow), [`stackkit game list`](#stackkit-game-list), [`stackkit game power`](#stackkit-game-power)

## stackkit game allow

Admit one player on a StackKits allow-list game server.

```bash theme={null}
stackkit game allow <server> [flags]
```

| Flag              | Type   | Default | Description                                                                     |
| ----------------- | ------ | ------- | ------------------------------------------------------------------------------- |
| `--json`          | bool   | —       | Emit stackkit.command-result/v1 JSON                                            |
| `--owner-approve` | bool   | —       | Authorize the allow-list change with the established local Owner custody        |
| `--player`        | string | —       | **Required.** Exact game account name (Minecraft account name or Xbox gamertag) |

**Examples**

```bash theme={null}
stackkit game allow 92c66407 --player Notch --owner-approve
```

## stackkit game list

List the owner's game servers with state and port.

```bash theme={null}
stackkit game list [flags]
```

| Flag     | Type | Default | Description                          |
| -------- | ---- | ------- | ------------------------------------ |
| `--json` | bool | —       | Emit stackkit.command-result/v1 JSON |

**Examples**

```bash theme={null}
stackkit game list --json
```

## stackkit game power

Start, stop or restart one game server and wait for the result.

```bash theme={null}
stackkit game power <server> [flags]
```

| Flag              | Type   | Default | Description                                                         |
| ----------------- | ------ | ------- | ------------------------------------------------------------------- |
| `--json`          | bool   | —       | Emit stackkit.command-result/v1 JSON                                |
| `--owner-approve` | bool   | —       | Authorize the power change with the established local Owner custody |
| `--signal`        | string | —       | **Required.** Power signal: start, stop or restart                  |

**Examples**

```bash theme={null}
stackkit game power 92c66407 --signal restart --owner-approve
```
