Holdfast map rotation and game modes
How to write a Holdfast map rotation: the start and end lines, map names, game modes, round times, player limits and map voting.
Below the server-wide settings, a Holdfast config lists one or more map rotations. Each rotation is one map with its own rules. The server plays them in order, and admins can jump to any of them by number.
The rotation block
Each rotation starts with !map_rotation start and ends with !map_rotation end. Everything between the two lines applies only to that map:
!map_rotation start
map_name BlackForest
game_mode ArmyBattlefield
round_time_minutes 20
maximum_players 150
allow_midround_spawning true
!map_rotation end
The server download includes example configs with complete rotations for every type of map. Starting from one of those is the quickest way to get the extra lines a map type needs, such as ship or siege settings.
Settings you can use per rotation
| Setting | What it does |
|---|---|
map_name | The map's internal name, written without spaces: AunbyValley, CampSalamanca, DutchCanals. |
game_mode | The mode to play on this map (see below). |
round_time_minutes | Length of a round. |
minimum_players / maximum_players | Player limits for this rotation. |
allow_midround_spawning | Whether players can join a round that has started. |
max_player_respawns | How many times each player can respawn. |
allow_faction_switching, allow_spectating | Team switching and spectator mode. |
faction_balancing | Auto team balance, with faction_balancing_discrepancy_amount as the allowed difference. |
faction_attacking / faction_defending | Which nations play on each side. |
melee_weapons_only | Melee-only rounds. |
officers_spawn_mounted | Officers start on horseback. |
Spawn waves can be tuned too: wave_spawn_time_seconds 10, wave_spawn_vehicle_time_seconds 20 for cavalry, and spawn_immunity_timer (up to 5 seconds).
Game modes
Army maps support Army Battlefield, Army Assault, Army Conquest and Army Deathmatch, and many also support Melee Arena. In the config these are written as one word, for example ArmyBattlefield, ArmyConquest, ArmySiege and ArmyDeathmatch. Naval, coastal siege and Frontlines maps have their own modes; check the example configs for those.
- Army Battlefield: open battle between two sides; the usual choice for line battles.
- Army Conquest: capture and hold points. The wiki recommends
conquest_max_tickets 2500for it. - Melee Arena: round-based melee. Set
amount_of_roundsand the spawn windowsround_spawn_close_timer_seconds(first round) andround_spawn_close_timer_seconds_between_rounds.
Map voting
To let players vote for the next map, add these server-wide lines (not inside a rotation):
map_voting_enabled true
map_voting_duration 15
map_voting_allow_same_map false
map_voting_history_count 3
map_voting_gameplay_modes ArmyBattlefield ArmyBattlefield ArmyConquest ArmySiege
The mode list sets the order of modes on offer; repeating a mode makes it come up more often. A map that never appears in the vote is usually excluded by its population settings: check population_low_playable, population_medium_playable and population_high_playable in its rotation. Add map_voting_include_random_choice true to offer a random option.
Switching maps live
Admins can jump to a rotation by its position in the file (the first is 1) with rc mapRotation 3, or load any map with the settings of an existing rotation: rc game BlackForest 2. See the admin commands guide.
Run it on a Nordyx server
Holdfast: Nations at War servers in Denmark with a control panel where you edit the config file, load mods and restart.