How to Set a Password on Your Holdfast: Nations At War Server
Learn how to password protect your Holdfast: Nations At War server for private events and restricted access.
Setting a server password restricts access to only players who know the password. This is essential for organized line battles, regiment practices, competitive events, or any situation where you want to control exactly who can join your Holdfast server.
Setting Your Server Password
Open the XGamingServer panel
Log in to the XGamingServer panel and stop your Holdfast server.
Open the config file
In the sidebar, go to Files and open serverconfig_default.cfg in the server root.
Set the password
Find the server_password setting and enter your desired password:
server_password YourServerPasswordSave and restart
Click Save and start your server.
Players will now be prompted to enter the password when they try to join from the server browser or via direct connect.
How Password Protection Works
- Server browser — Your server still appears in the Holdfast server browser with a lock icon, indicating a password is required. Players can see the server name, player count, map, and game mode, but can't join without the password.
- Direct connect — Players connecting via IP and port will also be prompted for the password.
- Sharing the password — Distribute your password through Discord, regiment forums, or private messages. Avoid putting the password in your server name — that defeats the purpose.
Removing the Password
Stop your server
Stop your server from the XGamingServer panel.
Clear the password
Open serverconfig_default.cfg and clear the server_password field (leave it empty or remove the value):
server_passwordWhen to Use a Password
Holdfast has several scenarios where passwords are commonly used:
| Scenario | Recommendation |
|---|---|
| Line battles | Set a password and share with participating regiments before the event |
| Regiment training | Password-protect during drills, remove afterward |
| Competitive matches | Both teams share the password for the match duration |
| Public play | No password — keep the server open for anyone |
| Server maintenance | Temporarily set a password while making changes |
💡 Tip: For organized line battle events, set the password 15-30 minutes before the event starts. Share it with regiment leaders through your event coordination channel. Change the password after the event ends to prevent unauthorized access during your next session.
📝 Note: The server password controls who can join the game. Admin access is managed separately through Steam64 IDs in the configuration file. Setting a server password doesn't affect admin privileges.
If you get stuck at any time, you can join our Discord.
How is this guide?
How to Connect to Your Holdfast: Nations At War Server
Learn how to find your server IP and connect to your Holdfast: Nations At War dedicated server using the server browser or direct connect.
HumanitZ Server Documentation
Complete guides for setting up, configuring, and managing your HumanitZ dedicated server on XGamingServer.