diff --git a/README.md b/README.md index 2c99604..725c957 100644 --- a/README.md +++ b/README.md @@ -38,26 +38,27 @@ podman run -d --name zomboidforge \ Unset variables keep the value in the server `.ini` (or the game default). -| Variable | Default | | -|----------------------|--------------------------|-----------------------------------------------------------------------------------------------------| -| `SERVER_NAME` | `zomboidforge` | Server config name (`/data/Server/.ini`) | -| `SERVER_PASSWORD` | | Password clients need to join (`.ini` `Password`) | -| `PUBLIC` | | `true`/`false`: listed in the in-game server browser | -| `PUBLIC_NAME` | | Name in the server browser | -| `PORT` | `16261` | Game port (`-port`) | -| `UDP_PORT` | `16262` | Direct connection port (`-udpport`) | -| `UPNP` | | `true`/`false`: UPnP port mapping on the router (`.ini` `UPnP`); `false` recommended (see below) | -| `ADMIN_USERNAME` | `admin` | First start only | -| `ADMIN_PASSWORD` | | Required on the first start, ignored afterwards | -| `SERVER_PRESET` | | Sandbox preset for a new server: `Apocalypse`, `Extinction`, `Outbreak`, `Rising`, `SixMonthsLater` | -| `MODS` | | Mod IDs, Build 42 format: `\ModA;\ModB` | -| `WORKSHOP_ITEMS` | | Workshop item IDs: `123;456` | -| `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_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`) | -| `STEAM` | `1` | `0` runs the server without Steam | -| `SOFT_RESET` | | `true` starts once in soft reset mode (`-Dsoftreset`); unset it afterwards | +| Variable | Default | | +|-------------------------------|--------------------------|-----------------------------------------------------------------------------------------------------------------------------| +| `SERVER_NAME` | `zomboidforge` | Server config name (`/data/Server/.ini`) | +| `SERVER_PASSWORD` | | Password clients need to join (`.ini` `Password`) | +| `PUBLIC` | | `true`/`false`: listed in the in-game server browser | +| `PUBLIC_NAME` | | Name in the server browser | +| `PORT` | `16261` | Game port (`-port`) | +| `UDP_PORT` | `16262` | Direct connection port (`-udpport`) | +| `UPNP` | | `true`/`false`: UPnP port mapping on the router (`.ini` `UPnP`); `false` recommended (see below) | +| `ADMIN_USERNAME` | `admin` | First start only | +| `ADMIN_PASSWORD` | | Required on the first start, ignored afterwards | +| `SERVER_PRESET` | | Sandbox preset for a new server: `Apocalypse`, `Extinction`, `Outbreak`, `Rising`, `SixMonthsLater` | +| `MODS` | | Mod IDs, Build 42 format: `\ModA;\ModB` | +| `WORKSHOP_ITEMS` | | Workshop item IDs: `123;456` | +| `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_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`) | +| `STEAM` | `1` | `0` runs the server without Steam | +| `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: @@ -130,6 +131,9 @@ budget_ms = 2 # time per tick for tasks that mods hand to the main thread [shutdown] 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