Skip to main content

Foundry: Server Configuration

The ideal products for this guide

Get started right away β€” order the matching product and follow this guide step by step.

Introduction​

Foundry servers come with a wide range of configuration parameters that you can customise to your likings. In this guide, we will explore all of the currently available configuration parameters and explain each in more detail.

Accessing your Configuration File​

Firstly, you will have to access your configuration file in order to edit any parameters. There are multiple ways to edit this file.

Via Webinterface​

The most user-friendly method is by heading over to the Settings section on your game server's webinterface and searching for the appropriate settings there, as seen below:

Server Configuration Options​

In the table below, we present important server configuration options that are currently available within Foundry servers.

tip

We do not recommending changing the Port settings, as these are automatically configured by the game server. Changing the Port values may potentially break your game server!

Important Server Settings​

Parameter NameExampleDescription
server_world_nameZAPDocsTestSet the name of the world, which is also the folder save files will be stored within
server_nameZAP-Hosting Docs TestName that appears on the server list for your server
server_passwordiLoveZAP!2024Set a password required to join the server
server_is_publictrue/falseToggle whether server is displayed on the server browser
server_port3724 (default)Set the network port to be used by the game
server_query_port27015 (default)Set the query port used to return info about the server in the server list
server_max_players32Set the maximum amount of players that can be on the server at once

Gameplay Configuration Settings​

Parameter NameExampleDescription
pause_server_when_emptytrue/falseToggle whether the factory should continue functioning without any players online
map_seed42938743982Set a custom seed for world generation
autosave_interval300Set how often the server saves in seconds

After you complete your changes, make sure to save the file where appropriate and restart your server. The next time your server starts up, it will use the settings that you have provided.