Holdfast Config Overrides Explained
Override commands let server administrators craft custom scenarios for line battles, regiment events, and roleplay sessions. They control class limits at spawn points, starting weapons and ammo, ship loadouts, artillery placement, capture point behavior, and more.
This guide explains how overrides work and how to add them to your AleForge Holdfast server. For the complete command reference, see the Holdfast Server Configuration wiki.
What Are Overrides?
Section titled “What Are Overrides?”Overrides are special config commands that change default gameplay behavior for a specific map rotation or across your entire server. Unlike basic settings like server_name or game_mode, overrides are designed for fine-tuned event hosting:
- Restrict which classes can spawn at each spawn point
- Set custom weapon loadouts and ammo counts per faction
- Configure custom naval fleets with specific ship types and crew limits
- Adjust capture point respawn timers and capture speeds
- Place custom map objects for structured scenarios
Global vs Per-Rotation Overrides
Section titled “Global vs Per-Rotation Overrides”Where you place an override in your config file determines its scope:
| Placement | Scope |
|---|---|
| Above map rotations (global section) | Applies to every map rotation on the server |
| Inside a map rotation block | Applies only to that specific rotation |
A typical config layout:
// Global server settingsserver_name My Event Serverserver_port 20100steam_query_port 27000
// Global override (applies to all rotations)friendly_fire false
// Map rotation 1map_name KF-BattleofWaterloogame_mode ArmyBattlefieldspawn_override A Rifleman 200spawn_override B Carpenter 200
// Map rotation 2map_name KF-PortRoyalgame_mode NavalBattlefieldships_spawn_detail_override Frigate50gun British Rifleman 200Land Overrides
Section titled “Land Overrides”Land overrides are used for infantry-focused events and line battles.
Class Limits at Spawn Points
Section titled “Class Limits at Spawn Points”Limit which class and how many players can spawn at each point. Spawn points are labeled A, B, C, etc. in the spawn menu.
spawn_override A Carpenter 200spawn_override B Rifleman 200This example creates a scenario with 200 Carpenters at spawn A and 200 Riflemen at spawn B.
Starting Weapons
Section titled “Starting Weapons”Control which weapons each faction and class spawns with:
starting_weapons_selection_override British Grenadier 4 2 Riflestarting_weapons_selection_override French Grenadier 4 3 Rifle Pike,Spontoon,Sword PistolParameters: faction, class, max firearms, max melee weapons, then weapon class slots (comma-separated for multiple options in one slot).
Weapon Bayonet and Ammo
Section titled “Weapon Bayonet and Ammo”starting_weapons_bayonet_enabled British LightInfantry truefirearm_ammo_override British LightInfantry Musket_NewLandPatternBrownBess 2 0 2weapon_class_ammo_override French LightInfantry Musket 1 1 3Sapper Limits and Materials
Section titled “Sapper Limits and Materials”sappers_buildlimit ExplosiveBarrel defending 0sappers_attacking_starting_materials 50sappers_defending_starting_materials 200Custom Map Objects
Section titled “Custom Map Objects”Place objects on the map for structured scenarios:
objects_override spawnsection <Position> <Rotation> <ID>,<Spawn_Name>,<Category>,<Attacking|Defending|Neutral>,<SizeX>,<SizeY>Categories include BaseSpawn, FortifiedPosition, OpenPlains, Farm, Field, Village, Camp, Lodge, Church, Ruins, Port, and Ship.
Naval Overrides
Section titled “Naval Overrides”Naval overrides configure ship crews, fleets, and ship health for naval events.
Class Limits on Ships
Section titled “Class Limits on Ships”ships_spawn_detail_override Frigate50gun British Rifleman 200ships_spawn_detail_override Frigate50gun French Rifleman 200Custom Ship Fleets
Section titled “Custom Ship Fleets”Set a ship preset first, then define which ships spawn:
ships_preset 37ships_spawn Frigate50gun 1 British 0ships_spawn Rocketboat 10 French 4Ship Health
Section titled “Ship Health”ships_health_detail_override Frigate50gun British 20000ships_health_detail_override Frigate50gun French 70Default health values: Frigate 5500, 12GunBrigg 3000, 8GunSchooner 2000, 2GunSchooner 1250, Gunboat 500, Rocketboat 500.
Naval Spawn Sections
Section titled “Naval Spawn Sections”objects_override shipspawnsection <Position> <Rotation>Other Useful Overrides
Section titled “Other Useful Overrides”Artillery Spawn Override
Section titled “Artillery Spawn Override”Replace or disable artillery at specific map slots. Obtain slot IDs from the server log when the map loads (section IDs start from 0):
artillery_spawn_override 0 FieldGunartillery_spawn_override 1 NoneTypes: FieldGun, Howitzer, RocketLauncher, Mortar, None, Random, RandomSymmetric.
Capture Point Override
Section titled “Capture Point Override”Adjust respawn tickets and capture timing for Conquest and Frontlines modes:
capture_point_override A 150 30 1capture_point_override B 175 30 1capture_point_override C 350 60 2capture_point_override D -1 90 3Parameters: objective letter, respawn tickets, time for one person to capture, max players affecting capture time.
Map Name Override
Section titled “Map Name Override”Set a custom display name for a rotation (useful for mod maps or renamed official maps):
map_name_override My Custom Line BattleApplying Overrides on AleForge
Section titled “Applying Overrides on AleForge”Override commands are added to your config file, they are not available on the Startup page.
- Open the AleForge Holdfast Config Generator to set up your base config (map rotations, game modes, admins)
- Download the generated config, then add your override commands manually in a text editor
- Upload the finished file to
holdfastnaw-dedicated/configsvia the Blacksmith’s PortalFilestab - Go to
Startupand set theConfig Filevariable to your uploaded filename - Restart your server and verify overrides in-game
Tip: Use a custom config filename (for example,
line-battle-event.txt) so your overrides survive game updates. See Protect Your Config on Update.
Note: Incorrect override syntax can prevent a map rotation from loading. If your server fails to start after adding overrides, check
Consolefor errors and verify each command against the official wiki.
Common Use Cases
Section titled “Common Use Cases”| Event type | Overrides to use |
|---|---|
| Line battle (200v200 riflemen) | spawn_override per spawn point |
| Custom weapon event | starting_weapons_selection_override, firearm_ammo_override |
| Naval fleet battle | ships_preset, ships_spawn, ships_spawn_detail_override |
| Siege with no explosive barrels | sappers_buildlimit ExplosiveBarrel defending 0 |
| Artillery-free map | artillery_spawn_override <slot> None |