Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
607d5b2b32
commit
43df96391c
1 file changed
+24
-20
@@ -38,26 +38,27 @@ podman run -d --name zomboidforge \
|
|||||||
|
|
||||||
Unset variables keep the value in the server `.ini` (or the game default).
|
Unset variables keep the value in the server `.ini` (or the game default).
|
||||||
|
|
||||||
| Variable | Default | |
|
| Variable | Default | |
|
||||||
|----------------------|--------------------------|-----------------------------------------------------------------------------------------------------|
|
|-------------------------------|--------------------------|-----------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `SERVER_NAME` | `zomboidforge` | Server config name (`/data/Server/<name>.ini`) |
|
| `SERVER_NAME` | `zomboidforge` | Server config name (`/data/Server/<name>.ini`) |
|
||||||
| `SERVER_PASSWORD` | | Password clients need to join (`.ini` `Password`) |
|
| `SERVER_PASSWORD` | | Password clients need to join (`.ini` `Password`) |
|
||||||
| `PUBLIC` | | `true`/`false`: listed in the in-game server browser |
|
| `PUBLIC` | | `true`/`false`: listed in the in-game server browser |
|
||||||
| `PUBLIC_NAME` | | Name in the server browser |
|
| `PUBLIC_NAME` | | Name in the server browser |
|
||||||
| `PORT` | `16261` | Game port (`-port`) |
|
| `PORT` | `16261` | Game port (`-port`) |
|
||||||
| `UDP_PORT` | `16262` | Direct connection port (`-udpport`) |
|
| `UDP_PORT` | `16262` | Direct connection port (`-udpport`) |
|
||||||
| `UPNP` | | `true`/`false`: UPnP port mapping on the router (`.ini` `UPnP`); `false` recommended (see below) |
|
| `UPNP` | | `true`/`false`: UPnP port mapping on the router (`.ini` `UPnP`); `false` recommended (see below) |
|
||||||
| `ADMIN_USERNAME` | `admin` | First start only |
|
| `ADMIN_USERNAME` | `admin` | First start only |
|
||||||
| `ADMIN_PASSWORD` | | Required on the first start, ignored afterwards |
|
| `ADMIN_PASSWORD` | | Required on the first start, ignored afterwards |
|
||||||
| `SERVER_PRESET` | | Sandbox preset for a new server: `Apocalypse`, `Extinction`, `Outbreak`, `Rising`, `SixMonthsLater` |
|
| `SERVER_PRESET` | | Sandbox preset for a new server: `Apocalypse`, `Extinction`, `Outbreak`, `Rising`, `SixMonthsLater` |
|
||||||
| `MODS` | | Mod IDs, Build 42 format: `\ModA;\ModB` |
|
| `MODS` | | Mod IDs, Build 42 format: `\ModA;\ModB` |
|
||||||
| `WORKSHOP_ITEMS` | | Workshop item IDs: `123;456` |
|
| `WORKSHOP_ITEMS` | | Workshop item IDs: `123;456` |
|
||||||
| `RCON_PASSWORD` | | Written into the `.ini` on every start; RCON is disabled without it |
|
| `RCON_PASSWORD` | | Written into the `.ini` on every start; RCON is disabled without it |
|
||||||
| `JVM_MIN_HEAP` | JVM default | `-Xms`; unused heap memory is returned to the system only down to this size |
|
| `JVM_MIN_HEAP` | JVM default | `-Xms`; unused heap memory is returned to the system only down to this size |
|
||||||
| `JVM_MAX_HEAP` | 75 % of the memory limit | `-Xmx`; `8g` when the container has no memory limit |
|
| `JVM_MAX_HEAP` | 75 % of the memory limit | `-Xmx`; `8g` when the container has no memory limit |
|
||||||
| `JVM_UNCOMMIT_DELAY` | `60` | Seconds after which unused heap memory is returned to the system (`-XX:ZUncommitDelay`) |
|
| `JVM_UNCOMMIT_DELAY` | `60` | Seconds after which unused heap memory is returned to the system (`-XX:ZUncommitDelay`) |
|
||||||
| `STEAM` | `1` | `0` runs the server without Steam |
|
| `STEAM` | `1` | `0` runs the server without Steam |
|
||||||
| `SOFT_RESET` | | `true` starts once in soft reset mode (`-Dsoftreset`); unset it afterwards |
|
| `SOFT_RESET` | | `true` starts once in soft reset mode (`-Dsoftreset`); unset it afterwards |
|
||||||
|
| `ZF_EXPERIMENTAL_PERFORMANCE` | `false` | `true`/`false`: performance changes that alter timing or resource use (more threads, shorter waits); overrides `forge.toml` |
|
||||||
|
|
||||||
Notes:
|
Notes:
|
||||||
|
|
||||||
@@ -130,6 +131,9 @@ budget_ms = 2 # time per tick for tasks that mods hand to the main thread
|
|||||||
|
|
||||||
[shutdown]
|
[shutdown]
|
||||||
timeout_s = 10 # time the mods' threads get to finish when the server stops
|
timeout_s = 10 # time the mods' threads get to finish when the server stops
|
||||||
|
|
||||||
|
[features]
|
||||||
|
experimental_performance = false # default false; ZF_EXPERIMENTAL_PERFORMANCE takes precedence when set
|
||||||
```
|
```
|
||||||
|
|
||||||
### Mod development
|
### Mod development
|
||||||
|
|||||||
Reference in new issue
Block a user