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

# Startup Settings

> Configure server version, memory allocation, JVM flags, and startup parameters.

Startup settings define how your server boots — which version to run, how much memory to allocate, and any custom parameters.

## Accessing startup settings

Open your server panel and click the **Startup** tab. You'll see:

* **Startup command** — the exact command executed on boot (read-only for most games)
* **Variables** — configurable values like server version, jar filename, and license key
* **Docker image** — the runtime environment (usually don't change this)

## Common variables

### Minecraft

| Variable            | Description                                             |
| ------------------- | ------------------------------------------------------- |
| `MINECRAFT_VERSION` | Version to install (`latest`, `1.20.4`, `1.19.4`, etc.) |
| `BUILD_TYPE`        | Paper build number or `latest`                          |
| `SERVER_JARFILE`    | JAR to execute (usually `server.jar`)                   |

### FiveM

| Variable        | Description                                        |
| --------------- | -------------------------------------------------- |
| `FIVEM_VERSION` | Artifact version (`recommended` or specific build) |
| `LICENSE_KEY`   | Keymaster license bound to your IP                 |

## Memory allocation

Memory is set at the plan level. To adjust:

1. Determine your workload needs.
2. From the client area, request an [upgrade or downgrade](/billing/upgrades).

<Tip>
  For Minecraft, allocate 1–2 GB per 20 players plus overhead for plugins/mods. Modded servers often need 4–8 GB minimum.
</Tip>

## Custom JVM flags (Minecraft)

Optimized flags like [Aikar's flags](https://docs.papermc.io/paper/aikars-flags) reduce garbage collection pauses:

```text theme={null}
-XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions
```

Most CrazyNode Minecraft eggs apply optimized flags automatically. Advanced users can override them via a custom startup variable.

<Warning>
  Incorrect JVM flags can prevent the server from starting. Test after any change.
</Warning>
