Docs / Reference / Environment variables
Network and online services
LAN play and the services the game talks to. See Playing together and Weather and seasons for the features themselves.
| Variable | Values / default | What it does |
|---|---|---|
OMSI_LAN_IP |
a.b.c.d[,e.f.g.h] |
LAN addresses to offer first, when the detection gets them wrong. |
OMSI_LAN_JOIN_TIMEOUT |
seconds; default: built-in | How long to wait when joining a LAN game. |
OMSI_MOD_UPLOAD_KIB_PER_SEC |
KiB/s; default 1024; 0 disables the limit |
Aggregate encrypted mod-upload rate shared by all workers. Positive values are clamped to 64–1048576; invalid values use the default. Read when the first mod frame is sent; restart to change it. Gameplay UDP uses a separate transport. |
OMSI_NO_BRIDGE |
flag | LAN: leave the internet alone - no rendezvous bridge, no tunnel (tests, LAN parties). |
OMSI_NO_TUNNEL |
flag | LAN: no tunnel. |
OMSI_CLOUDFLARED |
path | The cloudflared program for the LAN tunnel. Searched after the game's folder and before the PATH. |
OMSI_NO_LAN_MODS |
flag | LAN: do not exchange mods. |
OMSI_NO_LAN_UPLOADS |
flag | LAN: a game hosting a session takes no buses from the players who join. |
OMSI_NO_VAR_SYNC |
flag | LAN: no variable sync. |
OMSI_NO_HARDWARE_ID |
flag | LAN: the game sends no hardware identifier (a host can then turn the player away, and cannot ban the machine). |
OMSI_OFFICIAL_KEY |
file | The official server's signing key. |
OMSI_NO_PRESENCE |
flag | No presence ("playing now") service. |
OMSI_PRESENCE_URL |
URL; default: built-in | Base URL of the presence ("playing now") service. |
OMSI_NO_UPDATE |
flag | No update check. |
OMSI_UPDATE_KEY |
text | With OMSI_UPDATE_URL: one more Ed25519 public key (hex) the signed manifests of those releases may be signed with (scripts/guard-e2e.sh). |
OMSI_UPDATE_URL |
URL or file:///...json; default: built-in |
Another release description for the update check. |
OMSI_HEALTH_URL |
URL or file:///...json; default: built-in |
Another list of broken releases for the start guard, instead of release/health.json on GitHub. |
Something wrong or missing? Fix it on GitHub or open an issue.