Difference between revisions of "Auto Admin"

From Holdfast: Nations At War
Jump to navigation Jump to search
(Added information about Automatic all charge)
m
Line 51: Line 51:
 
|int
 
|int
 
|15
 
|15
 +
|-
 +
|allChargeMinPercentageAlive
 +
|When the round goes below this value of current players alive compared to the amount spawned, then an all charge will be called if using a percentage based automatic all charge trigger
 +
|float
 +
|0.52
 +
|-
 +
|allChargeMessage
 +
|The message sent when calling an all charge
 +
|string
 +
|All charge! Cavalry dismount. Weapon and Artillery Firing is disabled!
 
|}
 
|}
  
Line 71: Line 81:
 
|TimePercentageConstant
 
|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.  
 
|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.  
 +
|}
 +
 +
== Artillery Settings ==
 +
{| class="wikitable"
 +
|+
 +
!Config Command
 +
!Description
 +
!Arguments
 +
!Default
 +
|-
 +
|ArtilleryLiveTimer
 +
|If set, then will automatically enable artillery firing at this time (in seconds). This is easier than manually putting "rc delayed XX set allowArtyFiring" in your config for every rotation.
 +
|int
 +
| -1
 +
|-
 +
|ArtyOnArtyTime
 +
|The time (in seconds) for when Arty on Arty is live. If an Arty on Arty shot is detected before this time, a broadcast message will be posted notifying the admin who shot the cannon.
 +
|int
 +
|3600
 +
|-
 +
|ArtilleryPrioritySystemEnabled
 +
|Determines if the game will record and show via the F5 menu who claimed an artillery piece first. Most useful public servers.
 +
|bool
 +
|true
 +
|-
 +
|CannonClaimedMessage
 +
|This is the message messaged to players after they claim an artillery piece
 +
|string
 +
|You have claimed the Artillery piece and have priority......
 
|}
 
|}

Revision as of 12:58, 14 August 2023

[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
allChargeMinPercentageAlive When the round goes below this value of current players alive compared to the amount spawned, then an all charge will be called if using a percentage based automatic all charge trigger float 0.52
allChargeMessage The message sent when calling an all charge string All charge! Cavalry dismount. Weapon and Artillery Firing is disabled!

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.

Artillery Settings

Config Command Description Arguments Default
ArtilleryLiveTimer If set, then will automatically enable artillery firing at this time (in seconds). This is easier than manually putting "rc delayed XX set allowArtyFiring" in your config for every rotation. int -1
ArtyOnArtyTime The time (in seconds) for when Arty on Arty is live. If an Arty on Arty shot is detected before this time, a broadcast message will be posted notifying the admin who shot the cannon. int 3600
ArtilleryPrioritySystemEnabled Determines if the game will record and show via the F5 menu who claimed an artillery piece first. Most useful public servers. bool true
CannonClaimedMessage This is the message messaged to players after they claim an artillery piece string You have claimed the Artillery piece and have priority......