Auto Admin

From Holdfast: Nations At War
Revision as of 22:10, 8 August 2023 by Elf (talk | contribs) (Added information about Automatic all charge)
Jump to navigation Jump to search

[Testing here since the steam page keeps deleting my link to google doc]

This page refers to a community made workshop mod created by User:Elf . For support using the mod, you can request support on the official holdfast discord in #Server-Owners.

Installing the Mod

The mod can be found on the steam page here.

At the top of the config file insert mods_installed 2531692643 #eLF’s AutoAdmin .


Insert at the bottom of the map rotation for any maps you wish to have the mod installed load_mod 2531692643 #eLF’s AutoAdmin .

The mod should be the last non-skin mod to be installed in the map rotation otherwise will appear as an option in Map Voting.

Configuration

Many settings used can be modified via the server configuration file. These changes can either be global to all map rotations or local to a single map rotation.


To globally change a setting, insert mod_variable autoadmin:<command Name>:<value> at the top of the file (not in a specific map rotation).

To locally change a setting for only a specific map rotation, insert mod_variable_local autoadmin:<command Name>:<value>inside the map rotation. This will change the setting only for that rotation.

Player FOL

[test]

All Charge System

Config Command Description Arguments Default
allChargeVisableWarning The amount warning time given to players before an all charge. Eg if an all charge would be triggered for 10:00, then a 30 second warning means the broadcast will occur at 10:30 letting them know. int 30
allChargeTimeTrigger In an all charge mode which considers time, when this time is reached, all charge will be called. Eg setting it to 600 will call all charge at 10:00. int 360 (s)
allChargeTriggerDelay The time between a percentage-based trigger and when its called. Eg the percentage-based trigger is met at 11:00, the game will then wait this time before announcing all charge. Eg 11:00 trigger, 10:30 announcement, 10:00 activation. int 30 (s)
minimumNumbersOfPlayers Minimum number of players on the server to trigger a percentage based all charge. int 15

Automatic All Charge

The autoadmin can be configured to automatically call all charge when certain conditions are met.

Mode Description
None Auto admin will not call all charge automatically (default state).
TimeOnly When the time set in allChargeTimeTrigger is reached, all charge will be called. Will give a warning in advance up to the number of seconds set in allChargeVisableWarningTime
PercentageOnly When the number of players alive on the server is lower than this percentage, all charge will be called. Must have at least minimumNumbersOfPlayers connected to the server or will not call all charge.
TimePercentageConstant Will have percentage and time conditions. If either condition are met will call all charge. Therefore will use percentage based unless the round goes on for a while where it will call it based on time. This is recommended setting for automatic all charge.