Foundry servers offer a wide range of configuration options that you can adjust to your liking. In this guide, you’ll learn where to find your configuration file on your VPS, and we’ll explain the most important settings in detail.
Your Foundry server settings are stored in the app.cfg file. If you set up Foundry using the Game Server Installer, you’ll find it at C:\ZapX-GameServers\foundry\server\app.cfg.
- Connect to your VPS using Remote Desktop.
- Stop the server using the
FOUNDRY (foundry) - Stopshortcut. - Open
app.cfgin a text editor, such as Windows Notepad, and adjust the values. - Save the file and start the server using the
FOUNDRY (foundry) - Startshortcut.
The installer overwrites the name, player slots, ports, join password, and data folder every time you install or update. If you change these values only in app.cfg, your changes will be lost after the next update. Change them using the installer instead.
If you set up Foundry manually, you’ll find app.cfg in your server’s folder.
The tables below show important configuration options for Foundry servers.
Don’t change the ports directly in app.cfg. Instead, choose them under Advanced settings during installation so the installer can also open them in the firewall.
| Parameter name | Example | Description |
|---|---|---|
| server_world_name | world | Sets the world name and the folder where save files are stored |
| server_name | My Foundry World | Name displayed for your server in the server list |
| server_password | MyPassword123 | Password required to join the server |
| server_is_public | true/false | Determines whether the server is shown in the server browser |
| server_port | 3724 (default) | Sets the network port used by the game |
| server_query_port | 27015 (default) | Sets the query port that returns server information in the server list |
| server_max_players | 8 | Sets the maximum number of players who can be on the server at the same time |
The installer sets server_is_public=true and server_world_name=world once during the initial installation. Your values are retained after that. If server_is_public is set to false, your server won’t appear in the server list, but you can still connect directly using its IP address and port.
| Parameter name | Example | Description |
|---|---|---|
| pause_server_when_empty | true/false | Determines whether the world continues running when no players are online |
| map_seed | 42938743982 | Sets a custom seed for world generation |
| autosave_interval | 300 | Sets how often the server automatically saves, in seconds |
Once you’ve made your changes, save the file and restart your server. The next time it starts, your server will use the settings you specified.
Your Foundry server is now configured to your liking. To learn how to add your own worlds to the server, see Foundry: Managing Savegames. If you have any questions or need help, our support team is here for you every day! 🙂