Difference between revisions of "Server Configuration"

From Holdfast: Nations At War
Jump to navigation Jump to search
(Replaced content with "{{DISPLAYTITLE:Server Configuration}} {{ContentTemplateModernInline | welcome = link=|left|alt=Server Configuration | blurb...")
Tag: Replaced
 
(203 intermediate revisions by 15 users not shown)
Line 1: Line 1:
'''Override Commands For Roleplay Scenarios'''
+
{{DISPLAYTITLE:Server Configuration}}
 +
{{ContentTemplateModernInline
 +
| welcome            = [[File:Forum Logo.png|link=|left|alt=Server Configuration]]
 +
| blurb              = Configure Holdfast servers: globals, rotations, overrides, map voting, mods, and webhooks
 +
| sections_title    = On this page
 +
| sections_content  =
 +
* [[#Server-Wide Settings|Server-Wide Settings]]
 +
* [[#Frontlines specific commands|Frontlines specific commands]]
 +
* [[#Auto Shutdown/Restart System|Auto Shutdown/Restart System]]
 +
* [[#Map Rotations|Map Rotations]]
 +
** [[#Basic Map Settings|Basic Map Settings]]
 +
** [[#Melee Arena Settings|Melee Arena Settings]]
 +
** [[#Maps|Maps]]
 +
* [[#Officer orders|Officer orders]]
 +
* [[#Conquest config|Conquest config]]
 +
* [[#Weather and time of day|Weather and time of day]]
 +
* [[#Friendly fire|Friendly fire]]
 +
* [[#Frontlines|Frontlines]]
 +
* [[#Automatic Console Commands|Automatic Console Commands]]
 +
* [[#Override Commands|Override Commands]]
 +
** [[#Land|Land]]
 +
** [[#Naval|Naval]]
 +
** [[#Object Override|Object Override]]
 +
* [[#Map Voting|Map Voting]]
 +
* [[#Workshop Mods|Workshop Mods]]
 +
* [[#Discord Admin Webhook Logger|Discord Admin Webhook Logger]]
  
Server administrators are able to create and customise their own roleplay scenarios through various server-side configuration settings. Override commands can be used to create a unique experience that is not limited by the usual confines of Holdfast: NaW’s original gameplay design.
+
| featured_title    = Server Configuration
 
+
| featured_content  = {{:{{FULLPAGENAME}}/Body}}
Configure limits for classes, define the allowed spawn-able classes per spawn point, select the equipment they spawn with, equip weapons from racks, replenish ammunition, spawn various props, interactable objects and artillery pieces per map rotation and more.
+
  | image_content      =
 
+
| layout            = auto
Here’s how you can make use of override commands and any other related commands that can prove useful to help you get started or create your own scenarios.
+
| left_width        = 320px
 
+
| aside_width        = 320px
'''Class Spawn Override On Land Spawn Points'''
+
| gap                = 0.5rem
 
+
| show_toc          = no
Spawn override commands provide administrators with the ability to define which classes to spawn on which spawn location and their limitations as well. By using the following override, you can also have classes that are only playable on naval and coastal scenarios be present on army-based game modes.
+
| show_section_edit  = yes
 
+
}}
For example these commands will give 1 team 200 of the carpenter class and the other team 200 Rifleman.
 
 
 
''spawn_override A Carpenter 200''
 
 
 
''spawn_override B Rifleman 200''
 
[[File:200 Carpenters vs 200 Rifleman.png|thumb|right|Tahir Desert Army Battlefield 200 Carpenters vs 200 Rifleman ]]
 
 
 
To use this command for yourself it must be added after !map_rotation start and before !map_rotation end in the following format...
 
 
 
'''spawn_override <Spawn Point> <Class> <Class Limit>'''
 
 
 
'''Spawn Point''' correlates to the spawn present in the spawn menu for instance Barricade (A) on Spanish Farm.
 
Values are defined as letters for <Spawn Point> A B C D E F G H etc...
 
 
 
'''Class'''
 
 
 
The name of the class being added to the spawn point <Class> =
 
{| class="wikitable"
 
!Command Input
 
!Result
 
|-
 
| ArmyInfantryOfficer
 
| Infantry Officer
 
|-
 
| ArmyLineInfantry
 
| Line Infantry
 
|-
 
| ArmyLineInfantry2
 
| Line Infantry 92nd, Vistula or Friekorps
 
|-
 
| Grenadier
 
| Grenadier
 
|-
 
| Guard
 
| Guard
 
|-
 
| LightInfantry
 
| Light Infantry
 
|-
 
| Rifleman
 
| Rifleman
 
|-
 
| FlagBearer
 
| Flag Bearer
 
|-
 
| Drummer
 
| Drummer
 
|-
 
| Fifer
 
| Fifer
 
|-
 
| Bagpiper
 
| Bagpiper (Only available for the British Empire)
 
|-
 
| Surgeon
 
| Surgeon
 
|-
 
| Carpenter
 
| Carpenter
 
|-
 
| Cannoneer
 
| Cannoneer
 
|-
 
| Rocketeer
 
| Rocketeer (Only available for the British Empire)
 
|-
 
| NavalCaptain
 
| Captain
 
|-
 
| NavalMarine
 
| Marine
 
|-
 
| NavalSailor
 
| Sailor
 
|-
 
| NavalSailor2
 
| Adept Sailor
 
|-
 
| CoastGuard
 
| Coast Guard
 
|-
 
| Customs
 
| Customs
 
|-
 
| Violinist
 
| Violinist
 
|}
 
 
 
'''Class Limit'''
 
 
 
<Class Limit> is defined as a numerical value between 1 and 999
 
 
 
 
 
'''Starting Weapons Override'''
 
Make use of the following override command to define the weapons each and every class for a particular faction spawn with. Due to the introduction of weapon racks that allow players to equip weapons irrespective of their class, a particular class can now spawn with multiple different firearm or melee weapon types.
 
 
 
To use this command for yourself it must be added after !map_rotation start and before !map_rotation end in the following format...
 
 
 
starting_weapons_override <Faction> <Class> <Maximum Firearm Weapons> <Maximum Melee Weapons> <Starting Weapon 1>
 
 
 
*For Multiple Weapons add a space then another <Starting Weapon>
 
starting_weapons_override <Faction> <Class> <Maximum Firearm Weapons> <Maximum Melee Weapons> <Starting Weapon> <Starting Weapon> <Starting Weapon> <Starting Weapon>
 
 
 
'''Faction'''
 
 
 
<Faction> The Faction of the Class you wish to customize
 
 
 
{| class="wikitable"
 
! Command Input
 
! Resulting Faction
 
|-
 
| british
 
| British Empire
 
|-
 
| french
 
| French Empire
 
|-
 
| prussian
 
| Kingdom of Prussia
 
|}
 
 
 
'''Class'''
 
The name of the class you wish to customize <Class> =
 
{| class="wikitable"
 
!Command Input
 
!Result
 
|-
 
| ArmyInfantryOfficer
 
| Infantry Officer
 
|-
 
| ArmyLineInfantry
 
| Line Infantry
 
|-
 
| ArmyLineInfantry2
 
| Line Infantry 92nd, Vistula or Friekorps
 
|-
 
| Grenadier
 
| Grenadier
 
|-
 
| Guard
 
| Guard
 
|-
 
| LightInfantry
 
| Light Infantry
 
|-
 
| Rifleman
 
| Rifleman
 
|-
 
| FlagBearer
 
| Flag Bearer
 
|-
 
| Drummer
 
| Drummer
 
|-
 
| Fifer
 
| Fifer
 
|-
 
| Bagpiper
 
| Bagpiper (Only available for the British Empire)
 
|-
 
| Surgeon
 
| Surgeon
 
|-
 
| Carpenter
 
| Carpenter
 
|-
 
| Cannoneer
 
| Cannoneer
 
|-
 
| Rocketeer
 
| Rocketeer (Only available for the British Empire)
 
|-
 
| NavalCaptain
 
| Captain
 
|-
 
| NavalMarine
 
| Marine
 
|-
 
| NavalSailor
 
| Sailor
 
|-
 
| NavalSailor2
 
| Adept Sailor
 
|-
 
| CoastGuard
 
| Coast Guard
 
|-
 
| Customs
 
| Customs
 
|-
 
| Violinist
 
| Violinist
 
|}
 
'''Maximum Firearm Weapons'''
 
 
 
The Maximum amount of Firearms that the class can possess through either the starting weapons commands or weapon racks.
 
 
 
<Maximum Firearm Weapons> is defined as a numerical value between 0 and 50
 
 
 
'''Maximum Melee Weapons'''
 
 
 
The Maximum amount of Melee Weapons that the class can possess through either the starting weapon commands or weapon racks.
 
*Bayoneted Muskets count both as a firearm and a melee weapon
 
*Allowing unarmed combat with fists also counts as a melee weapon
 
<Maximum Melee Weapons> is defined as a numerical value between 0 and 50
 
 
 
'''Starting Weapon'''
 
 
 
The weapon(s) that the class will spawn with
 
*For Multiple Weapons add a space then another <Starting Weapon>
 
 
 
<Starting Weapon> is defined with the following weapon names as inputs
 
{| class="wikitable"
 
! Command Input
 
! Resulting Weapon
 
|-
 
| Pistol
 
| Pistol
 
|-
 
| Blunderbuss
 
| Blunderbuss
 
|-
 
| Musket
 
| Musket
 
|-
 
| BakerRifle
 
| Baker Rifle
 
|-
 
| Unarmed
 
| Fists
 
|-
 
| Sabre
 
| Sabre
 
|-
 
| Cutlass
 
| Cutlass
 
|-
 
| SabreBriquet
 
| French & Prussian Rifleman Sword
 
|-
 
| BakerRifleBayonet
 
| British Rifleman Sword
 
|-
 
| Pike
 
| Pike = Boarding Pike
 
|-
 
| BearingFlag
 
| Flag
 
|}
 
'''Firearm Ammo Override'''
 
Use the following override command to configure firearm ammunition related settings as well as limitations. As the functionality for pickable weapons through weapon racks and ammo boxes exists within the game, through these settings we allow you to configure ammunition related settings for each and every weapon based on the class a firearm is being equipped by.
 
 
 
Input the below commands per map rotation in the server configuration file.
 
 
 
firearm_ammo_override <Faction> <Class> <Firearm> <Starting Ammo> <Loaded Ammo In Barrel> <Maximum Carriable Ammo>
 
 
 
'''Faction'''
 
 
 
<Faction> The Faction of the Class you wish to customize
 
 
 
{| class="wikitable"
 
! Command Input
 
! Resulting Faction
 
|-
 
| british
 
| British Empire
 
|-
 
| french
 
| French Empire
 
|-
 
| prussian
 
| Kingdom of Prussia
 
|}
 
 
 
'''Class'''
 
The name of the class you wish to customize <Class> =
 
{| class="wikitable"
 
!Command Input
 
!Result
 
|-
 
| ArmyInfantryOfficer
 
| Infantry Officer
 
|-
 
| ArmyLineInfantry
 
| Line Infantry
 
|-
 
| ArmyLineInfantry2
 
| Line Infantry 92nd, Vistula or Friekorps
 
|-
 
| Grenadier
 
| Grenadier
 
|-
 
| Guard
 
| Guard
 
|-
 
| LightInfantry
 
| Light Infantry
 
|-
 
| Rifleman
 
| Rifleman
 
|-
 
| FlagBearer
 
| Flag Bearer
 
|-
 
| Drummer
 
| Drummer
 
|-
 
| Fifer
 
| Fifer
 
|-
 
| Bagpiper
 
| Bagpiper (Only available for the British Empire)
 
|-
 
| Surgeon
 
| Surgeon
 
|-
 
| Carpenter
 
| Carpenter
 
|-
 
| Cannoneer
 
| Cannoneer
 
|-
 
| Rocketeer
 
| Rocketeer (Only available for the British Empire)
 
|-
 
| NavalCaptain
 
| Captain
 
|-
 
| NavalMarine
 
| Marine
 
|-
 
| NavalSailor
 
| Sailor
 
|-
 
| NavalSailor2
 
| Adept Sailor
 
|-
 
| CoastGuard
 
| Coast Guard
 
|-
 
| Customs
 
| Customs
 
|-
 
| Violinist
 
| Violinist
 
|}
 
'''Firearm'''
 
 
 
The type of firearm that you are customizing
 
 
 
{| class="wikitable"
 
! Command Input
 
! Result
 
|-
 
| Pistol
 
| Pistol
 
|-
 
| Blunderbuss
 
| Blunderbuss
 
|-
 
| Musket
 
| Musket
 
|-
 
| BakerRifle
 
| Baker Rifle (A non-bayonetted Charleville musket model represents the French and Prussian rifle)
 
|}
 
'''Starting Ammo'''
 
 
 
The amount of ammunition the firearm will start with.
 
 
 
<Starting Ammo> is defined as a numerical value between 0 and 999
 
 
 
'''Loaded Ammo In Barrel'''
 
 
 
Define how much ammunition is pre loaded into the firearm for the weapons
 
*Using values of 2 and above will act as temporary increase in clip size until the ammunition is drained and a reload is required.
 
 
 
<Loaded Ammo In Barrel> defined as a numerical value between 0 and 999
 
 
 
'''Maximum Carriable Ammo'''
 
 
 
The maximum amount of ammunition able to be carried for a firearm.
 
*This value can be larger than <Starting Ammo> for game-modes that use the ammo box object
 
 
 
<Maximum Carriable Ammo> defined as a numerical value between 0 and 999
 
 
 
'''Objects Override - Weapon Racks'''
 
Weapon Racks are interact-able objects that can hold specific amounts of weapons. Players can interact with a weapon rack by holding E to take a weapon from the rack and add it to their characters inventory. Taking a weapon depletes the amount left on the rack allowing for a limited supply of weapons if the server host wishes.
 
 
 
objects_override Weapon Rack <Object Position> <Object Rotation> <Weapon> <No. Of Weapons In Rack>
 
 
 
'''Object Position'''
 
 
 
The location of where the Weapon Rack will be spawned onto the map using x, y, and z coordinates
 
*entering ''get playerPosition'' in the f1 console in game will display your characters positon
 
 
 
<Object Position> is defined as three sets numerical values in the format x y z = 0 0 0
 
 
 
'''Object Rotation'''
 
 
 
The orientation that the Weapon Rack will be rotated when spawned onto the map
 
*entering ''get playerRotation'' in the f1 console in game will display your characters rotation.
 
 
 
 
 
<Object Rotation> is defined as three sets numerical values in the format x y z = 0 0 0
 
 
 
'''Weapon'''
 
The type of weapon that will be on the weapon rack
 
 
 
<Weapon> is defined with the following weapon names as inputs
 
{| class="wikitable"
 
! Command Input
 
! Resulting Weapon
 
|-
 
| Pistol
 
| Pistol
 
|-
 
| Blunderbuss
 
| Blunderbuss
 
|-
 
| Musket
 
| Musket
 
|-
 
| BakerRifle
 
| Baker Rifle
 
|-
 
| Unarmed
 
| Fists
 
|-
 
| Sabre
 
| Sabre
 
|-
 
| Cutlass
 
| Cutlass
 
|-
 
| SabreBriquet
 
| French & Prussian Rifleman Sword
 
|-
 
| BakerRifleBayonet
 
| British Rifleman Sword
 
|-
 
| Pike
 
| Pike = Boarding Pike
 
|-
 
| BearingFlag
 
| Flag
 
|}
 
 
 
'''Number Of Weapons In Rack'''
 
 
 
The number of weapons that can be obtained from the rack before its depleted
 
 
 
<No. Of Weapons In Rack> defined as a numerical value between 0 and 999
 
 
 
'''Objects Override - Firearm Ammoboxes'''
 
 
 
Customizable Ammobox for role-play and custom events. Through this, players can replenish their ammunition.
 
 
 
objects_override firearmammobox <Object Position> <Object Rotation> <Firearm> <Maximum Interactions Until Depletion> <Ammo Given> <Maximum Interactions Allowed Per Player>
 
 
 
'''Object Position'''
 
 
 
The location of where the firearmammobox will be spawned onto the map using x, y, and z coordinates
 
*entering ''get playerPosition'' in the f1 console in game will display your characters positon
 
 
 
<Object Position> is defined as three sets numerical values in the format x y z = 0 0 0
 
 
 
'''Object Rotation'''
 
 
 
The orientation that the firearmammobox will be rotated when spawned onto the map
 
*entering ''get playerRotation'' in the f1 console in game will display your characters rotation.
 
 
 
 
 
<Object Rotation> is defined as three sets numerical values in the format x y z = 0 0 0
 
 
 
'''Firearm'''
 
Which Firearm will the ammunition box replenish
 
 
 
<Firearm> is defined with the following weapon names as inputs
 
{| class="wikitable"
 
! Command Input
 
! Resulting Weapon
 
|-
 
| Pistol
 
| Pistol
 
|-
 
| Blunderbuss
 
| Blunderbuss
 
|-
 
| Musket
 
| Musket
 
|-
 
| BakerRifle
 
| Baker Rifle
 
|}
 

Latest revision as of 09:29, 19 September 2025


Server Configuration

Configure Holdfast servers: globals, rotations, overrides, map voting, mods, and webhooks

Navigation menu