How to Configure Your Holdfast Server
Holdfast server configuration controls everything from the server name and password to game modes, player limits, map rotations, and admin access. On AleForge, simple settings live on the Startup page, while advanced settings are managed through config files in holdfastnaw-dedicated/configs.
AleForge’s default config file is aleforge-default.txt. The official Holdfast wiki documents the full range of config options for self-hosted servers using serverconfig_default.txt.
Quick Settings on Startup
Section titled “Quick Settings on Startup”| Setting | Startup Variable | Guide |
|---|---|---|
| Server name | SERVER NAME |
Change Server Name |
| Server password | SERVER PASSWORD |
Set Server Password |
| Active config file | Config File |
See below |
Applying a Config File on AleForge
Section titled “Applying a Config File on AleForge”Game modes, admins, map rotations, and advanced gameplay settings are configured in your Holdfast config file.
Using the Config Generator (Recommended)
Section titled “Using the Config Generator (Recommended)”- Open the AleForge Holdfast Config Generator
- Optionally Import Configuration from an existing file, or start fresh
- Configure server settings using the navigation menu
- Click Generate Config, then Download Config
Upload and Activate the Config
Section titled “Upload and Activate the Config”- Open the Blacksmith’s Portal and select your Holdfast server
- Go to
Files→holdfastnaw-dedicated/configsand upload your config file - Go to
Startupand set theConfig Filevariable to your newly uploaded filename - Restart your server
Note: Stop your server before uploading a new config file. Check
Consoleafter restart to confirm settings loaded without errors. Use a custom filename rather than overwritingaleforge-default.txt, see Protect Your Config on Update.
Server Identity Settings
Section titled “Server Identity Settings”| Setting | Description | Example |
|---|---|---|
server_name |
Name displayed in the server browser | server_name My Holdfast Server |
server_password |
Password required to join (blank = public) | server_password secret123 |
server_region |
Region for server browser filtering | server_region europe |
max_players |
Maximum players allowed | max_players 150 |
On AleForge, server name and password are easiest to manage from Startup.
Network Settings
Section titled “Network Settings”Both ports must be unique for each server instance. Per the Holdfast wiki:
| Setting | Description | Default |
|---|---|---|
server_port |
Game port (UDP) | 20100 |
steam_query_port |
Steam query port, enables server browser info (UDP) | 27000 |
tick_rate |
Server tick rate | 30 |
max_ping |
Maximum allowed player ping (0 = no limit) | 0 |
See Holdfast Server Ports and Firewall for port forwarding guidance on self-hosted servers. AleForge handles network configuration for hosted servers.
Game Mode Settings
Section titled “Game Mode Settings”| Setting | Description | Example |
|---|---|---|
game_mode |
Active game mode | game_mode 0 |
round_time_minutes |
Round duration in minutes | round_time_minutes 15 |
auto_balance_teams |
Automatically balance team sizes | auto_balance_teams true |
friendly_fire |
Enable friendly fire damage | friendly_fire false |
allow_spectators |
Allow players to spectate | allow_spectators true |
See Change Holdfast Game Mode for all mode options.
Common Game Mode Values
Section titled “Common Game Mode Values”| Value | Game Mode |
|---|---|
0 |
Army Battlefield |
1 |
Army Deathmatch |
2 |
Army Siege |
3 |
Naval Battlefield |
The Config Generator also supports Army Assault, Army Conquest, Coastal Siege, Invasion, Melee Arena, Naval Assault, and Offensive.
Admin Settings
Section titled “Admin Settings”| Setting | Description | Example |
|---|---|---|
admin_steam_id_64 |
Steam64 IDs of admin players | admin_steam_id_64 76561198012345678 |
server_admin_password |
Admin password (self-hosted alternative) | server_admin_password myAdminPW |
See Holdfast Server Admins for step-by-step instructions.
Map Rotation
Section titled “Map Rotation”map_rotation KF-BattleofWaterloomap_rotation KF-FortBaxtermap_rotation KF-PortRoyalmap_rotation KF-TheFarmTip: The server cycles through maps in listed order. The Config Generator provides a visual interface for building rotations with per-map game modes.
Override Commands
Section titled “Override Commands”For line battles, regiment events, and custom scenarios, Holdfast supports override commands that control spawn classes, weapons, ammo, ships, artillery, and capture points. These are added inside your config file, typically within a map rotation block.
See Holdfast Config Overrides Explained for a full guide, or the official Holdfast Server Configuration wiki for every command.
Example Configuration
Section titled “Example Configuration”// Server Identityserver_name [US East] Army Battlefield | AleForge Communityserver_passwordserver_region europemax_players 100
// Networkserver_port 20100steam_query_port 27000
// Game Modegame_mode 0round_time_minutes 15auto_balance_teams truefriendly_fire falseallow_spectators true
// Admin Accessadmin_steam_id_64 76561198012345678
// Map Rotationmap_rotation KF-BattleofWaterloomap_rotation KF-FortBaxtermap_rotation KF-PortRoyal
// Gameplayspawn_protection_time 3class_limit_enabled falseallow_flag_bearer trueallow_sapper trueVerifying Your Configuration
Section titled “Verifying Your Configuration”- Check
Consoleon the Blacksmith’s Portal for startup errors - Connect and verify, server name, password, and game mode
Self-Hosting/Other Providers
Section titled “Self-Hosting/Other Providers”- Copy
serverconfig_default.txtto a custom filename before editing (see Protect Your Config on Update) - Point your launch script to the custom config with
--serverConfigFilePath - Restart and verify in-game