Skip to content

Holdfast: Nations At War: Server Configuration

Learn how to set your Holdfast server’s name, password, welcome message, player limit, and other settings.

25 November 20264 min read1 Views0 helpful

Don't have your own server yet? Host your Holdfast: Nations At War server with ZAP-Hosting from €4.49 / month.Or try 3 days from €0.81

Introduction

With the right configuration, you can turn your Holdfast: Nations At War game server into exactly the server you have in mind: with your own name, password, welcome message for your players, and game rules. In this guide, we’ll show you which settings to configure as startup parameters in ZapX and what you can adjust directly in the configuration file.

How configuration works

Holdfast reads its server settings from the config/serverconfig.txt file. However, you don’t need to change the most important values there by hand: you’ll find them in ZapX under the Configuration tab, in Startup parameters.

Each time your server starts, it writes the values from the startup parameters to the corresponding lines in serverconfig.txt. Everything else, such as game rules or the map rotation, stays as it is and can be edited directly in the file. You’ll find the file in the config folder under the Files tab.

Important

Always change values that are available as startup parameters under Startup Parameters, not directly in serverconfig.txt. Any changes made in the file will be overwritten the next time the server starts with the values from the startup parameters.

After you save your changes, ZapX will offer to restart the server. Your changes won’t take effect until the server has restarted.

Startup parameters at a glance

Startup parameterLine in serverconfig.txtDescription
Server nameserver_nameThe name of your server in the server list. Default: ZapX Holdfast Server
Regionserver_regionThe region under which your server appears in the server list. Default: europe
Server passwordserver_passwordPassword required to join. Leave blank for a public server without a password.
Welcome messageserver_welcome_messageMessage players see when they join. Default: Welcome to your ZapX Holdfast server!
Intro titleserver_intro_titleHeading on your server’s welcome screen. Default: Welcome!
Intro textserver_intro_bodyText on the welcome screen. Default: Hosted by ZapX
Network modenetwork_broadcast_modeYour server’s network broadcast mode: Standard (default) or Competitive for competitive servers
Max. playersmaximum_playersThe number of players who can play on your server at the same time. Default: 64
Additional startup parameters–Optional additional command-line parameters for the server, separated by spaces. Leave blank if you don’t need any.
Info

Max. players applies to the entire server: when it starts, your server sets every maximum_players line in serverconfig.txt to this value, including those in your map rotation entries.

If the Server password field is blank, your server writes the line as a comment, #server_password, in the file. Your server can then be accessed without a password.

Admin password

ZapX automatically generates a random admin password for your server during its initial setup. You can find it on the server_admin_password line in serverconfig.txt.

Important

Your server also rewrites the server_admin_password line every time it starts. Any change made directly to this line will therefore only last until the next restart. Keep the password confidential and only share it with players who should have admin privileges.

Ports

ZapX assigns your server’s ports automatically. Each time it starts, your server writes them to the server_port, steam_communications_port, and steam_query_port lines. Don’t edit these lines by hand; the values will be overwritten the next time the server starts anyway. You can see your server’s ports under the Overview tab.

Workshop mods

Add mods from the Steam Workshop under the Workshop tab. Each time your server starts, it adds the Workshop IDs as mods_installed lines in a separate section of serverconfig.txt managed by ZapX. You can identify this section by the # ZAPX_MANAGED_WORKSHOP_BEGIN and # ZAPX_MANAGED_WORKSHOP_END markers. Don’t edit it by hand; it is rewritten every time the server starts.

After making changes under the Workshop tab, restart your server to load the mods. Our guide Installing mods shows you how to find and add mods.

More settings in serverconfig.txt

You can edit anything that isn’t available as a startup parameter directly in serverconfig.txt, for example:

LineDescription
friendly_fireWhether players can damage members of their own faction (true or false)
admin_console_allowedWhether admin console commands are allowed in the game at all (true or false)
allow_spectatingWhether players are allowed to spectate (true or false)
show_serverperformance_warningWhether your server shows players a warning when performance drops (true or false)
map_rotation_start_randomiseWhether the first map is randomly selected from the rotation after startup (true or false)

You can edit the file under the Files tab or under Configuration: there, an AI displays the settings as easy-to-understand form fields, and you can access the raw text using Edit directly. When your server starts for the first time, it creates serverconfig.txt from the included template. After that, your changes are retained, except for lines your server writes using the startup parameters.

Tip

Before making major changes, copy the current contents of serverconfig.txt. That way, you can quickly restore them if your server no longer starts as expected after a change.

Conclusion

You’ve now configured your Holdfast server just the way you want it. Our guide Connecting to the server shows your players how to join. If something isn’t working as expected, our guide Common issues can help. If you have any other questions, our support team is available every day! 🙂

Free tools

Holdfast: Nations At War Tools

View all

FAQ

Frequently asked questions

You’ll find it under Files in config/serverconfig.txt. However, you can configure the most important values under Configuration, in Startup Parameters.
Your server rewrites the server name, region, password, welcome messages, network mode, player limit, ports, admin password, and Workshop mods in the file every time it starts. So, change any values available as startup parameters under Startup Parameters instead.
ZapX generates it automatically during setup. You’ll find it on the server_admin_password line in config/serverconfig.txt.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.