Skip to content
OpenTTD
Tools for your OpenTTD server

OpenTTD Tools: server settings for your dedicated server

Free, no sign-up required and right in your browser: use the server config generator to set up your OpenTTD server, including server listing, autosave, map, difficulty and economy settings. The live preview shows the finished openttd.cfg, which you can copy or download.

Free · No sign-up · Right in your browser

Server Configuration Generator

Describe openttd.cfg in your own words to ZapX AI Agent, or configure it in the form: server list, autosave, company cleanup, map, difficulty, economy and AI opponents, with a live preview for your OpenTTD server.

Built by Florian Galz

Rent an OpenTTD server

At a glance

Set these OpenTTD server settings in openttd.cfg

The server config generator covers 76 openttd.cfg settings and writes the file in the game's format.

Server & autosave

Server list visibility, player and company limits, pauses, autosave, restarts with a new map and removal of abandoned companies. Applies on every start.

New map

Climate, map size, starting year, town names, towns, industries, terrain, sea level, rivers and trees for a newly generated map.

Difficulty & economy

Starting loan, interest, costs, breakdowns, recessions, disasters, inflation, maintenance costs, town growth and cargo production for a new game.

Vehicles & AI

Driving side, vehicle limits, train length, aircraft, bridges, tunnels, stations, Cargodist and AI opponents for a new game.

How it works

How to set up your OpenTTD server settings

Five steps from the generator to starting your OpenTTD server.

  1. 1

    Open the generator

    Select the server config generator on this page. You can upload an existing openttd.cfg or paste its contents; unknown entries are preserved.

  2. 2

    Choose Easy Mode or the form

    In Easy Mode, describe your server in your own words, and an AI suggests values. You only apply the suggestions you select. In advanced mode, you set every field yourself.

  3. 3

    Configure server settings

    Server and autosave settings apply on every start. Map, difficulty, economy and vehicle settings only apply to a new map; a loaded savegame retains its own rules.

  4. 4

    Check the preview and export

    The live preview shows openttd.cfg and flags invalid values. You can then copy or download it, or share a link.

  5. 5

    Stop server, replace file, start server

    OpenTTD rewrites openttd.cfg when it shuts down. Stop the server first, replace the file, then start it again.

FAQ

Frequently asked questions

Quick answers about OpenTTD server settings, openttd.cfg, savegames and ports.

Which file controls an OpenTTD dedicated server?

openttd.cfg. It is divided into sections such as [network], [gui], [game_creation] and [difficulty]. OpenTTD 15 reads the server name and passwords from private.cfg and secrets.cfg in the same folder. Go to the OpenTTD server config generator

Why don't new game rules apply to a game in progress?

OpenTTD stores difficulty, economy, vehicle and construction settings in the savegame. openttd.cfg only sets them for a new map; a loaded savegame retains its own values. Go to the OpenTTD server config generator

Why are changes to openttd.cfg lost?

OpenTTD rewrites the file from memory when it shuts down. Changes you save while the server is running will be lost after the next shutdown. Stop the server first. Go to the OpenTTD server config generator

Which ports does an OpenTTD server need?

The game port, 3979 by default, for both TCP and UDP. The game uses TCP, while the server uses UDP to respond to server list queries. If your server is behind a router or firewall, open the port for both. For ZAP-Hosting servers, the panel assigns the ports. Port Checker

How do I set up an OpenTTD dedicated server on my own Windows server?

Game Server Installer sets up OpenTTD as a dedicated server on Windows. Players need the same OpenTTD version as the server. Add further settings to openttd.cfg, for example with the server config generator. Game Server InstallerGo to the OpenTTD server config generator

Are the OpenTTD tools free, and do I need an account?

Free, no sign-up required and right in your browser: you can use the server config generator without an account. The file is created in your browser. Only if you use Easy Mode are your description and current values sent to an AI. Go to the OpenTTD server config generator

Any more questions?

Contact Support

Discover more

Useful tools for your OpenTTD server

Install an OpenTTD dedicated server on your own Windows server, check the game port, create secure passwords or generate server configs for other construction and economy games.

Server Configuration Generator

Describe ServerConfig.json to ZapX AI Agent in your own words or set the options in the form — with a live preview for your Core Keeper server.

Built by Florian Galz

Server Configuration Generator

Describe server-settings.json to ZapX AI Agent in your own words or set the options in the form — with a live preview for your Factorio server.

Built by Florian Galz

Server Configuration Generator

Describe ServerConfig.json and BackupConfig.json to ZapX AI Agent in your own words or set the options in the form — with a live preview for your Rimworld Together server.

Built by Florian Galz

Port Checker

Check whether specific ports are open on an IP or hostname—select a protocol or game instead of scanning all ports at once.

Built by Sebastian Rademacher

Password Generator

Generate strong, random passwords directly in your browser — nothing is stored or transmitted.

Built by Rugile Rutkauskaite

Game Server Installer for VPS

Choose a game and operating system to get a single command that automatically installs ARK, Minecraft, Counter-Strike, FiveM and more on your own Linux or Windows server — including firewall, autostart and update scripts.

Built by Eric Mager